DF-3869 / run.1.log
BUILD_OK
== DF-3869 replay: dce_calcs.c:839 zero divisor ==
mode: 1x16 htotal=3 vtotal=20 clock=25000 kHz
plane: src 128x4 dst 2x3
[1] drm_mode_validate_basic: MODE_OK (mode accepted into adjusted_mode)
[2] viewport = 64x21 (must be >=16 to reach bw_calcs: PASS)
[3] h_total=50331648 raw (exp 3<<24=16777216) hsr=1073741824 (exp 64<<24=1073741824) vsr=22369600 (exp ~22369621)
[4] branch guards hold: prefetch=0, lb_lines_mid=4/3 -> line 839 executes
[5] dce_calcs.c:839 inner sum = 0 -> outer divisor = 0 (raw)
[6] *** DIVISOR == 0 CONFIRMED *** bw_div(h_total, divisor) now calls
bw_frc_to_fixed(n, 0) -> div64_u64_rem(n, 0) -> u64 '%' 0
In-kernel on x86-64: divq with divisor 0 -> #DE -> trap_fatal -> PANIC
[7] child performed the same integer division: killed by SIGFPE (#DE analog)
[8] sink 2 mechanism: bw_fixed_to_int(0.5)=0 -> total_bytes_requested/0
[9] dce_calcs.c:1945 u32/u32 by zero: child SIGFPE (#DE analog)
== END DF-3869 replay ==
EXIT=0
DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #0: Thu Jul 2 06:02:54 UTC 2026 root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64