[DragonFlyBSD - Bug #2394] proc_remove_zombie(), Bad link elm %p prev->next != elm

Joachim de Groot via Redmine bugtracker-admin at leaf.dragonflybsd.org
Sat Aug 18 05:43:13 PDT 2012

Issue #2394 has been updated by Joachim de Groot.

I think this is identical to #2352 which was recently fixed.
Bug #2394: proc_remove_zombie(), Bad link elm %p prev->next != elm

Author: Sepherosa Ziehau
Status: New
Priority: Normal
Target version: 

Happened during one of mye netperf tests.  Crash dump is at

#0  _get_mycpu () at ./machine/thread.h:69
#1  md_dumpsys (di=<optimized out>) at
#2  0xffffffff802c5372 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:925
#3  0xffffffff80266cac in db_fncall (dummy1=<optimized out>,
dummy2=<optimized out>, dummy3=<optimized out>, dummy4=<optimized
    at /usr/src/sys/ddb/db_command.c:539
#4  0xffffffff8026717f in db_command
aux_cmd_tablep=0xffffffff80565008, cmd_table=<optimized out>,
    last_cmdp=<optimized out>) at /usr/src/sys/ddb/db_command.c:401
#5  db_command_loop () at /usr/src/sys/ddb/db_command.c:467
#6  0xffffffff8026a041 in db_trap (type=<optimized out>,
code=<optimized out>) at /usr/src/sys/ddb/db_trap.c:71
#7  0xffffffff804af878 in kdb_trap (type=<optimized out>,
code=<optimized out>, regs=<optimized out>)
    at /usr/src/sys/platform/pc64/x86_64/db_interface.c:176
#8  0xffffffff804b4e35 in trap_fatal (frame=0xffffffe045209728,
eva=<optimized out>) at /usr/src/sys/platform/pc64/x86_64/trap.c:1019
#9  0xffffffff804b578e in trap (frame=0xffffffe045209728) at
#10 0xffffffff8049f54f in calltrap () at
#11 0xffffffff804af669 in db_read_bytes (addr=145145156298080792,
size=8, data=0xffffffe045209808 "")
    at /usr/src/sys/platform/pc64/x86_64/db_interface.c:244
#12 0xffffffff802665ad in db_get_value (addr=145145156298080792,
size=8, is_signed=0) at /usr/src/sys/ddb/db_access.c:58
#13 0xffffffff804b0305 in db_nextframe (ip=<optimized out>,
fp=<optimized out>) at
#14 db_stack_trace_cmd (addr=<optimized out>, have_addr=<optimized
out>, count=<optimized out>, modif=<optimized out>)
    at /usr/src/sys/platform/pc64/x86_64/db_trace.c:440
#15 0xffffffff804b04c7 in print_backtrace (count=1159763976) at
#16 0xffffffff802c5c58 in panic (fmt=0xffffffff804f4ec8 "Bad link elm
%p prev->next != elm") at /usr/src/sys/kern/kern_shutdown.c:820
#17 0xffffffff802bd5fb in proc_remove_zombie (p=0xffffffe00e8500f0) at
#18 0xffffffff802b13f5 in kern_wait (pid=<optimized out>,
status=<optimized out>, options=<optimized out>, rusage=<optimized
    res=<optimized out>) at /usr/src/sys/kern/kern_exit.c:944
#19 0xffffffff802b16c4 in sys_wait4 (uap=0xffffffe045209b68) at
#20 0xffffffff804b5e31 in syscall2 (frame=0xffffffe045209c18) at
#21 0xffffffff8049f79b in Xfast_syscall () at
#22 0x000000000000002b in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Best Regards,

Tomorrow Will Never Die

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list