Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 14:22:04 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        current@FreeBSD.org
Subject:   Panic in wait4()
Message-ID:  <20030325222204.GA6918@rot13.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I just got this on bento (running a kernel from Mar 17).  It was under
heavy disk load at the time, which may or may not be relevant.

Kris

panic: mtx_lock() of spin mutex %s @ %s:%d
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x5a0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0218588
stack pointer           = 0x10:0xe35e9ad8
frame pointer           = 0x10:0xe35e9ad8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 90819 (sshd)
Dumping 1024 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008
---
#0  doadump () at ../../../kern/kern_shutdown.c:239
239             dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:239
#1  0xc0142645 in db_fncall (dummy1=1016, dummy2=0, dummy3=-1070744477, dummy4=0xe35e98bc "\f")
    at ../../../ddb/db_command.c:546
#2  0xc01423c2 in db_command (last_cmdp=0xc03566a0, cmd_table=0x0, aux_cmd_tablep=0xc0350978,
    aux_cmd_tablep_end=0xc035097c) at ../../../ddb/db_command.c:346
#3  0xc01424d6 in db_command_loop () at ../../../ddb/db_command.c:470
#4  0xc014525a in db_trap (type=12, code=0) at ../../../ddb/db_trap.c:72
#5  0xc02ed61f in kdb_trap (type=12, code=0, regs=0xe35e9a98)
    at ../../../i386/i386/db_interface.c:166
#6  0xc03068b2 in trap_fatal (frame=0xe35e9a98, eva=0) at ../../../i386/i386/trap.c:838
#7  0xc0306592 in trap_pfault (frame=0xe35e9a98, usermode=0, eva=1440)
    at ../../../i386/i386/trap.c:757
#8  0xc030610d in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -944692528, tf_esi = -1070371206, tf_ebp = -480339240, tf_isp = -480339260, tf_ebx = 1440, tf_edx = 1440, tf_ecx = 0, tf_eax = 1440, tf_trapno = 12, tf_err = 0, tf_eip = -1071544952, tf_cs = 8, tf_eflags = 66118, tf_esp = -480339040, tf_ss = -1071820373}) at ../../../i386/i386/trap.c:444
#9  0xc02eefc8 in calltrap () at {standard input}:97
#10 0xc01d51ab in kvprintf (fmt=0xc0336e7a " @ %s:%d", func=0xc01d4b50 <snprintf_func>,
    arg=0xe35e9bbc, radix=10, ap=0xe35e9c08 "3\003") at ../../../kern/subr_prf.c:668
#11 0xc01d4ace in vsnprintf (str=0xc0398f40 "mtx_lock() of spin mutex ", size=0, format=0x0,
    ap=0x0) at ../../../kern/subr_prf.c:413
#12 0xc01b86b5 in panic (fmt=0xe35e9bbc "Y\2179) at ../../../kern/kern_shutdown.c:509
#13 0xc01aeae3 in _mtx_lock_flags (m=0x0, opts=0,
    file=0xc03375e7 "../../../kern/kern_resource.c", line=989) at ../../../kern/kern_mutex.c:333
#14 0xc01b75bb in chgproccnt (uip=0x3dd, diff=-1070369305, max=0)
    at ../../../kern/kern_resource.c:989
#15 0xc01a2e48 in wait1 (td=0xc7b122d0, uap=0x0, compat=0) at ../../../kern/kern_exit.c:694
#16 0xc01a2970 in wait4 (td=0x0, uap=0x0) at ../../../kern/kern_exit.c:552
#17 0xc0306bfe in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = -1078001617, tf_edi = 134714784, tf_esi = -1077939108, tf_ebp = -1077939144, tf_isp = -480338572, tf_ebx = 674575164, tf_edx = 0, tf_ecx = 19, tf_eax = 7, tf_trapno = 12, tf_err = 2, tf_eip = 674109043, tf_cs = 31, tf_eflags = 534, tf_esp = -1077939172, tf_ss = 47}) at ../../../i386/i386/trap.c:1030
#18 0xc02ef01d in Xint0x80_syscall () at {standard input}:139
---Can't read userspace from dump, or kernel process---

(kgdb)
--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+gNaLWry0BWjoQKURAqKWAKDo4AkRagcwWYF5/QoT6Jw/zme9YQCfSN69
W0x3TtVZ36WDsj329EeT8n0=
=lB5f
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030325222204.GA6918>