Date: Wed, 09 Feb 2005 02:08:30 +0100 From: Christian Brueffer <chris@unixpages.org> To: stable@freebsd.org Subject: panic: _mtx_lock_sleep: recursed on non-recursive mutex bpf2 @ /usr/home/build/src/sys/net/bpf.c:1119 Message-ID: <20050209010830.GA77038@unixpages.org>
next in thread | raw e-mail | index | archive | help
--k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm getting this reproducible panic with a 5-STABLE system based on sources from yesterday. The machine in question is an i386 SMP box. The panic is reproducible by running an updated version of the security/scanssh port which is based on libevent. A crashdump is available for further investigation. panic: _mtx_lock_sleep: recursed on non-recursive mutex bpf2 @ /usr/home/build/src/sys/net/bpf.c:1119 panic messages: --- panic: _mtx_lock_sleep: recursed on non-recursive mutex bpf2 @ /usr/home/build/src/sys/net/bpf.c:1119 cpuid =3D 1 KDB: enter: panic Dumping 511 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 --- #0 doadump () at pcpu.h:159 159 pcpu.h: No such file or directory. in pcpu.h doadump () at pcpu.h:159 159 in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:159 #1 0xc047fe25 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D1999, dummy4=3D0xd8a60978 "=A0=F3z=C0") at /usr/home/build/src/sys/ddb/db_command.c:531 #2 0xc047fbb2 in db_command (last_cmdp=3D0xc07aeaa4, cmd_table=3D0x0, aux_cmd_tablep=3D0xc0776ed0,=20 aux_cmd_tablep_end=3D0xc0776ed4) at /usr/home/build/src/sys/ddb/db_command.c:349 #3 0xc047fcc5 in db_command_loop () at /usr/home/build/src/sys/ddb/db_command.c:455 #4 0xc0481e05 in db_trap (type=3D3, code=3D0) at /usr/home/build/src/sys/ddb/db_main.c:221 #5 0xc05837be in kdb_trap (type=3D0, code=3D0, tf=3D0x1) at /usr/home/build/src/sys/kern/subr_kdb.c:418 #6 0xc070f0a8 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D 256, tf_esi =3D= 1, tf_ebp =3D -660206816, tf_isp =3D -660206844, tf_ebx =3D -660206756, tf_edx= =3D 0, tf_ecx =3D -1056755712, tf_eax =3D 18, tf_trapno =3D 3, tf_err =3D 0, tf= _eip =3D -1067961200, tf_cs =3D 8, tf_eflags =3D 646, tf_esp =3D -1066043284, tf= _ss =3D -1066052328}) at /usr/home/build/src/sys/i386/i386/trap.c:576 #7 0xc06fa7ca in calltrap () at /usr/home/build/src/sys/i386/i386/exception.s:140 #8 0x00000018 in ?? () #9 0x00000010 in ?? () #10 0x00000010 in ?? () #11 0x00000100 in ?? () #12 0x00000001 in ?? () #13 0xd8a60b20 in ?? () #14 0xd8a60b04 in ?? () #15 0xd8a60b5c in ?? () #16 0x00000000 in ?? () #17 0xc1033000 in ?? () #18 0x00000012 in ?? () #19 0x00000003 in ?? () #20 0x00000000 in ?? () #21 0xc0583490 in kdb_enter (msg=3D0x0) at cpufunc.h:56 #22 0xc0566aee in panic (fmt=3D0xc075490e "_mtx_lock_sleep: recursed on non-recursive mutex %s @ %s:%d\n") at /usr/home/build/src/sys/kern/kern_shutdown.c:550 #23 0xc055c914 in _mtx_lock_sleep (m=3D0xc2607b68, td=3D0xc3f3ae10, opts=3D= 0, file=3D0x0, line=3D0) at /usr/home/build/src/sys/kern/kern_mutex.c:456 #24 0xc055c510 in _mtx_lock_flags (m=3D0xc2607b68, opts=3D0,=20 file=3D0xc075e7ff "/usr/home/build/src/sys/net/bpf.c", line=3D1119) at /usr/home/build/src/sys/kern/kern_mutex.c:273 #25 0xc05dda38 in filt_bpfread (kn=3D0xc204d3fc, hint=3D0) at /usr/home/build/src/sys/net/bpf.c:1119 #26 0xc0545518 in kqueue_register (kq=3D0xc25ff580, kev=3D0xd8a60c38, td=3D0xc3f3ae10, waitok=3D1) at /usr/home/build/src/sys/kern/kern_event.c:852 #27 0xc0544b4e in kevent (td=3D0xc3f3ae10, uap=3D0xd8a60d14) at /usr/home/build/src/sys/kern/kern_event.c:563 #28 0xc070fa10 in syscall (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 134588416, tf_e= si =3D 134586368, tf_ebp =3D -1077941928, tf_isp =3D -660206220, tf_ebx =3D 134570112, tf_edx =3D -1077941952, tf_ecx =3D -1077941888, tf_eax =3D 363, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 672189135, tf_cs =3D 31, tf_efla= gs =3D 642, tf_esp =3D -1077941988, tf_ss =3D 47}) at /usr/home/build/src/sys/i386/i386/trap.c:1001 #29 0xc06fa81f in Xint0x80_syscall () at /usr/home/build/src/sys/i386/i386/exception.s:201 #30 0x0000002f in ?? () #31 0x0000002f in ?? () #32 0x0000002f in ?? () #33 0x0805a800 in ?? () #34 0x0805a000 in ?? () #35 0xbfbfe958 in ?? () #36 0xd8a60d74 in ?? () #37 0x08056080 in ?? () #38 0xbfbfe940 in ?? () #39 0xbfbfe980 in ?? () #40 0x0000016b in ?? () #41 0x0000000c in ?? () #42 0x00000002 in ?? () #43 0x2810cacf in ?? () #44 0x0000001f in ?? () #45 0x00000282 in ?? () #46 0xbfbfe91c in ?? () #47 0x0000002f in ?? () #48 0x00000000 in ?? () #49 0x00000000 in ?? () #50 0x00000000 in ?? () #51 0x00000000 in ?? () #52 0x137b8000 in ?? () #53 0xc41bd1c4 in ?? () #54 0xc3f3ae10 in ?? () #55 0xd8a60ca0 in ?? () #56 0xd8a60c7c in ?? () #57 0xc1a59000 in ?? () #58 0xc0579cb0 in sched_switch (td=3D0x805a000, newtd=3D0x8056080, flags=3D---Can't read userspace from dump, or kernel process--- ) at /usr/home/build/src/sys/kern/sched_4bsd.c:881 Previous frame inner to this frame (corrupt stack?) - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCCWKObHYXjKDtmC0RAgozAJ9kykDYIHYifgwlcvnZbEfQIRU3QQCeLqnF FiK4Kr+Yi8AQwSZukwVmNuA= =tVW+ -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050209010830.GA77038>