Date: Sat, 27 Jul 2002 16:07:02 +1000 From: Peter Kostouros <kpeter@melbpc.org.au> To: freebsd-current <freebsd-current@FreeBSD.org> Subject: Re: About the recent kernel crashes. Message-ID: <3D423886.7000406@melbpc.org.au> References: <3D422501.3060302@melbpc.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi I ran a gdb session again and I hope the following is more helpful: GNU gdb 5.2.0 (FreeBSD) 20020627 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: bremfree: bp 0xc685fe48 not locked panic messages: --- panic: Assertion (m->mtx_lock & (MTX_RECURSED|MTX_CONTESTED)) == 0 failed at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_mutex.c:915 syncing disks... panic: bremfree: bp 0xc685fe48 not locked Uptime: 2m49s pfs_vncache_unload(): 1 entries remaining Dumping 255 MB ata1: resetting devices .. done 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- #0 doadump () at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:213 213 dumping++; (kgdb) where #0 doadump () at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:213 #1 0xc028b176 in boot (howto=260) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:345 #2 0xc028b335 in panic () at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:493 #3 0xc02bd0a5 in bremfree (bp=0xc685fe48) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/vfs_bio.c:633 #4 0xc02be816 in vfs_bio_awrite (bp=0xc685fe48) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/vfs_bio.c:1627 #5 0xc02651b8 in spec_fsync (ap=0xcfffda94) at /mnt/aux3/cvs/freebsd/usr/src/sys/fs/specfs/spec_vnops.c:403 #6 0xc0264da7 in spec_vnoperate (ap=0x0) at /mnt/aux3/cvs/freebsd/usr/src/sys/fs/specfs/spec_vnops.c:121 #7 0xc037a385 in ffs_sync (mp=0xc17fae00, waitfor=2, cred=0xc0ef5e00, td=0xc0491540) at vnode_if.h:463 #8 0xc02cbe8c in sync (td=0xc0491540, uap=0x0) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/vfs_syscalls.c:127 #9 0xc028ae1d in boot (howto=256) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:254 #10 0xc028b335 in panic () at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:493 #11 0xc0283fef in mtx_destroy (m=0x0) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_mutex.c:915 #12 0xc03037f9 in in6_pcbdetach (inp=0xc1953248) at /mnt/aux3/cvs/freebsd/usr/src/sys/netinet6/in6_pcb.c:625 #13 0xc02f4046 in tcp_close (tp=0xc1953348) at /mnt/aux3/cvs/freebsd/usr/src/sys/netinet/tcp_subr.c:729 #14 0xc02f871a in tcp_disconnect (tp=0xc1953348) at /mnt/aux3/cvs/freebsd/usr/src/sys/netinet/tcp_usrreq.c:1192 #15 0xc02f6fe8 in tcp_usr_detach (so=0x0) at /mnt/aux3/cvs/freebsd/usr/src/sys/netinet/tcp_usrreq.c:178 #16 0xc02b57c0 in soclose (so=0xc192c4e0) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/uipc_socket.c:360 #17 0xc02a919a in soo_close (fp=0x0, td=0xc17fea80) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/sys_socket.c:215 #18 0xc02758a2 in fdrop_locked (fp=0xc19f3a8c, td=0xc17fea80) at file.h:228 #19 0xc02754f8 in fdrop (fp=0xc19f3a8c, td=0xc17fea80) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_descrip.c:1622 #20 0xc02754cb in closef (fp=0xc19f3a8c, td=0xc17fea80) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_descrip.c:1608 #21 0xc027417b in close (td=0xc17fea80, uap=0x0) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_descrip.c:800 #22 0xc03c0ec4 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 21, tf_ebp = -1078989288, tf_isp = -805315212, tf_ebx = 677687508, tf_edx = 699043868, tf_ecx = 9, tf_eax = 6, tf_trapno = 22, tf_err = 2, tf_eip = 677955607, tf_cs = 31, tf_eflags = 514, tf_esp = -1078989412, tf_ss = 47}) at /mnt/aux3/cvs/freebsd/usr/src/sys/i386/i386/trap.c:1050 #23 0xc03b435d in syscall_with_err_pushed () at {standard input}:128 (kgdb) up 11 #11 0xc0283fef in mtx_destroy (m=0x0) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_mutex.c:915 915 MPASS((m->mtx_lock & (MTX_RECURSED|MTX_CONTESTED)) == 0); (kgdb) list 910 LOCK_LOG_DESTROY(&m->mtx_object, 0); 911 912 if (!mtx_owned(m)) 913 MPASS(mtx_unowned(m)); 914 else { 915 MPASS((m->mtx_lock & (MTX_RECURSED|MTX_CONTESTED)) == 0); 916 917 /* Tell witness this isn't locked to make it happy. */ 918 WITNESS_UNLOCK(&m->mtx_object, LOP_EXCLUSIVE, __FILE__, 919 __LINE__); (kgdb) p m $1 = (struct mtx *) 0x0 (kgdb) q Peter Kostouros wrote: > Hi > > I got something similar after cvsup'ing and generating a system > earlier today (4hrs > ago) and running mozilla. Unlike other times, I have a coredump. > I hope the following helps: -- Regards Peter As always the organisation disavows knowledge of this email 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?3D423886.7000406>