Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 20:32:26 +1000
From:      Peter Kostouros <kpeter@melbpc.org.au>
To:        freebsd-current <freebsd-current@FreeBSD.org>
Subject:   panic: Most recently used by kqueue
Message-ID:  <3D466B3A.7020900@melbpc.org.au>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090902000804000002010200
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi

System was generated Sunday evening (without INET6 option in kernel 
config). At the time of the panic
I was running mozilla, xmms, and gkrellm. I hope the attachment is of 
some use.

-- 

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





--------------090902000804000002010200
Content-Type: text/plain;
 name="debug.sess.1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="debug.sess.1"

Script started on Tue Jul 30 20:14:40 2002
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 0xc686fe48 not locked
panic messages:
---
panic: Most recently used by kqueue


syncing disks... panic: bremfree: bp 0xc686fe48 not locked
Uptime: 42m24s
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  0xc028895a in boot (howto=260)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:345
#2  0xc0288b19 in panic ()
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:493
#3  0xc02ba889 in bremfree (bp=0xc686fe48)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/vfs_bio.c:633
#4  0xc02bbffa in vfs_bio_awrite (bp=0xc686fe48)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/vfs_bio.c:1627
#5  0xc0262950 in spec_fsync (ap=0xd00279dc)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/fs/specfs/spec_vnops.c:406
#6  0xc026253f in spec_vnoperate (ap=0x0)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/fs/specfs/spec_vnops.c:124
#7  0xc03584ed in ffs_sync (mp=0xc185c800, waitfor=2, cred=0xc0ef5e00, td=0xc046b6a0)
    at vnode_if.h:463
#8  0xc02c9670 in sync (td=0xc046b6a0, uap=0x0)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/vfs_syscalls.c:127
#9  0xc0288601 in boot (howto=256)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:254
#10 0xc0288b19 in panic ()
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:493
#11 0xc0376bfc in mtrash_ctor (mem=0xc1cff700, size=0, arg=0x0)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/vm/uma_dbg.c:135
#12 0xc0375b57 in uma_zalloc_arg (zone=0xc0ecf140, udata=0x0, flags=1)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/vm/uma_core.c:1358
#13 0xc027fbd4 in malloc (size=4, type=0xc04783c0, flags=0)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_malloc.c:171
#14 0xc02debac in rt_msg2 (type=14, rtinfo=0xd0027b44, cp=0x0, w=0xd0027b94)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/net/rtsock.c:690
#15 0xc02df0f0 in sysctl_iflist (af=0, w=0xd0027b94)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/net/rtsock.c:954
#16 0xc02df309 in sysctl_rtsock (oidp=0xc04784e0, arg1=0xd0027cbc, arg2=4, 
    req=0xd0027c08) at /mnt/aux3/cvs/freebsd/usr/src/sys/net/rtsock.c:1032
#17 0xc028f7b1 in sysctl_root (oidp=0x0, arg1=0xd0027cb4, arg2=6, req=0xd0027c08)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_sysctl.c:1104
#18 0xc028f980 in userland_sysctl (td=0x0, name=0xd0027cb4, namelen=6, 
    old=0xd0027c60, oldlenp=0xa, inkernel=0, new=0xd0027c30, newlen=0, 
    retval=0xd0027cb0) at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_sysctl.c:1202
#19 0xc028f845 in __sysctl (td=0xc17fef00, uap=0xd0027d14)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/kern/kern_sysctl.c:1141
#20 0xc039f134 in syscall (frame=
      {tf_fs = 47, tf_es = 135331887, tf_ds = -1078001617, tf_edi = 6, tf_esi = 135884800, tf_ebp = -1077938100, tf_isp = -805143180, tf_ebx = 676064028, tf_edx = 135005808, tf_ecx = -1077938024, tf_eax = 202, tf_trapno = 22, tf_err = 2, tf_eip = 675666455, tf_cs = 31, tf_eflags = 658, tf_esp = -1077938160, tf_ss = 47})
    at /mnt/aux3/cvs/freebsd/usr/src/sys/i386/i386/trap.c:1050
#21 0xc03925cd in syscall_with_err_pushed () at {standard input}:128
---Can't read userspace from dump, or kernel process---

(kgdb) up 11
#11 0xc0376bfc in mtrash_ctor (mem=0xc1cff700, size=0, arg=0x0)
    at /mnt/aux3/cvs/freebsd/usr/src/sys/vm/uma_dbg.c:135
135				panic("Most recently used by %s\n", (*ksp == NULL)?
(kgdb) l
130	
131		for (p = mem; cnt > 0; cnt--, p++)
132			if (*p != uma_junk) {
133				printf("Memory modified after free %p(%d)\n",
134				    mem, size);
135				panic("Most recently used by %s\n", (*ksp == NULL)?
136				    "none" : (*ksp)->ks_shortdesc);
137			}
138	}
139	
(kgdb) p uma_junk
$1 = 3735929054
(kgdb) p *(u_int32_t *)mem
$2 = 3735929054
(kgdb) p *(u_int32_t *)mem[1@(mem + 4)
$3 = 3735929054
(kgdb) p *(u_int32_t *)(mem + 4))8)
$4 = 3735929054
(kgdb) p *(u_int32_t *)(mem + 8))1)2)
$5 = 3735929054
(kgdb) p *(u_int32_t *)(mem + 12))6)
$6 = 3247784560
(kgdb) q

Script done on Tue Jul 30 20:16:30 2002

--------------090902000804000002010200--


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?3D466B3A.7020900>