⬢ DragonFlyBSD Kernel Audit
DF-2241 / run.log
← back to finding ↓ download raw
== STOCK mode 1 (outside DDB, debugger_on_panic=0) ==
dfh: DF2241: evaluating "0x8000000000000000%(0-1)
" OUTSIDE DDB (expect #DE trap -> panic on stock)
0x8000000000000000%(0-1)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 5; lapic id = 5
instruction pointer	= 0x8:0xffffffff802caef7
stack pointer	        = 0x10:0xfffff80116f3c668
frame pointer	        = 0x10:0xfffff80116f3c698
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 0, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 825
current thread          = pri 6
trap number		= 18
panic: integer divide fault
cpuid = 5
boot() called on cpu#5
Uptime: 16s
Physical memory: 4060 MB
Dumping 548 MB: 533 517 501 485 469 453 437 421 405 389 373 357 341 325 309 293 277 261 245 229 213 197 181 165 149 133 117 101 85 69 53 37 21 5
Dump complete

== STOCK mode 2 (inside Debugger() session) ==
login: dfh: DF2241: scripted DDB session: "df2241wedge" then "continue"
Debugger("df2241")

CPU1 stopping CPUs: 0x0000003d

== FIXED mode 1 (fresh boot) ==
dfh: DF2241: evaluating "0x8000000000000000%(0-1)
" OUTSIDE DDB (expect #DE trap -> panic on stock)
0x8000000000000000%(0-1)
Divide by 0
dfh: DF2241: db_error caught via longjmp (divide guarded) -- FIXED behavior

== FIXED mode 2 (fresh boot) ==
dfh: DF2241: scripted DDB session: "df2241wedge" then "continue"
Debugger("df2241")

CPU0 stopping CPUs: 0x0000003e
 stopped
Stopped at      Debugger+0x7c:  movb    $0,0xbdce39(%rip)
db> df2241wedge
0x8000000000000000%(0-1)
Divide by 0
db> continue

CPU0 restarting CPUs: 0x000000000000003e
 restarted
dfh: DF2241: db_active=0 after DDB exit (0 = correct)
dfh: DF2241: no leak, guest healthy