Bug #2016

panic: page fault -- fork related

Added by pavalos over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:dillon% Done:


Target version:-


I got the following panic today during a buildworld.

DragonFly v2.9.1.747.gf7b29d-DEVELOPMENT #42: Sun Feb 20 19:53:37 HST 2011

Crash available at

(kgdb) #0 _get_mycpu (di=0xc0402780) at ./machine/thread.h:79
#1 md_dumpsys (di=0xc0402780)
at /usr/src/sys/platform/pc32/i386/dump_machdep.c:264
#2 0xc01986c2 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:893
#3 0xc0198c82 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:388
#4 0xc0198f4d in panic (fmt=0xc0356d73 "%s")
at /usr/src/sys/kern/kern_shutdown.c:799
#5 0xc0327d2f in trap_fatal (frame=0xecba8bdc, eva=<value optimized out>)
at /usr/src/sys/platform/pc32/i386/trap.c:1117
#6 0xc0327e3d in trap_pfault (frame=0xecba8bdc, usermode=0, eva=20)
at /usr/src/sys/platform/pc32/i386/trap.c:1019
#7 0xc03283a9 in trap (frame=0xecba8bdc)
at /usr/src/sys/platform/pc32/i386/trap.c:706
#8 0xc0302fd7 in calltrap ()
at /usr/src/sys/platform/pc32/i386/exception.s:785
#9 0xc0190d4f in proc_getnewpid_locked (p=0xdd701960)
at /usr/src/sys/kern/kern_proc.c:592
#10 proc_add_allproc (p=0xdd701960) at /usr/src/sys/kern/kern_proc.c:542
#11 0xc0189438 in fork1 (lp1=0xe9003278, flags=1073741844, procp=0xecba8cb4)
at /usr/src/sys/kern/kern_fork.c:380
#12 0xc018999e in sys_fork (uap=0xecba8cf0)
at /usr/src/sys/kern/kern_fork.c:121
#13 0xc0328b09 in syscall2 (frame=0xecba8d40)
at /usr/src/sys/platform/pc32/i386/trap.c:1323
#14 0xc0303086 in Xint0x80_syscall ()
at /usr/src/sys/platform/pc32/i386/exception.s:876
#15 0x0000001f in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


#1 Updated by pavalos over 5 years ago

Fixed in 0d78b86e0a2315042ff35cf013868289cb1c7acf.

Also available in: Atom PDF