Bug #2394

proc_remove_zombie(), Bad link elm %p prev->next != elm

Added by sepherosa almost 2 years ago. Updated over 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Happened during one of mye netperf tests. Crash dump is at
~sephe/crash/crash.0.tbz

#0 _get_mycpu () at ./machine/thread.h:69
#1 md_dumpsys (di=<optimized out>) at
/usr/src/sys/platform/pc64/x86_64/dump_machdep.c:265
#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
out>)
at /usr/src/sys/ddb/db_command.c:539
#4 0xffffffff8026717f in db_command
(aux_cmd_tablep_end=0xffffffff80565010,
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
/usr/src/sys/platform/pc64/x86_64/trap.c:760
#10 0xffffffff8049f54f in calltrap () at
/usr/src/sys/platform/pc64/x86_64/exception.S:188
#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
/usr/src/sys/platform/pc64/x86_64/db_trace.c:234
#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
/usr/src/sys/platform/pc64/x86_64/db_trace.c:452
#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
/usr/src/sys/kern/kern_proc.c:751
#18 0xffffffff802b13f5 in kern_wait (pid=<optimized out>,
status=<optimized out>, options=<optimized out>, rusage=<optimized
out>,
res=<optimized out>) at /usr/src/sys/kern/kern_exit.c:944
#19 0xffffffff802b16c4 in sys_wait4 (uap=0xffffffe045209b68) at
/usr/src/sys/kern/kern_exit.c:791
#20 0xffffffff804b5e31 in syscall2 (frame=0xffffffe045209c18) at
/usr/src/sys/platform/pc64/x86_64/trap.c:1237
#21 0xffffffff8049f79b in Xfast_syscall () at
/usr/src/sys/platform/pc64/x86_64/exception.S:323
#22 0x000000000000002b in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Best Regards,
sephe

--
Tomorrow Will Never Die

History

#1 Updated by jaydg over 1 year ago

I think this is identical to #2352 which was recently fixed.

#2 Updated by marino over 1 year ago

  • Status changed from New to Closed

Let's close it then.

Also available in: Atom PDF