Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2003 23:45:38 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-current@freebsd.org
Subject:   Re: panic: getnewvnode: free vnode isn't
Message-ID:  <20031210234538.GA746@buffy.brucec.backnet>
In-Reply-To: <20031208200403.GA917@buffy.brucec.backnet>
References:  <20031208200403.GA917@buffy.brucec.backnet>

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

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

On Mon, Dec 08, 2003 at 08:04:03PM +0000, Bruce Cran wrote:
> I've come across a new way to panic my 5.2-BETA box.  Under certain conditions, the X session locks up and the attached panic
> occurs.   It's happened twice when I've been running 'make extract' in a
> ports directory, and once when grepping /usr.   I've got a crash dump of the
> panic, but I typed 'panic' in the debugger, and so has recorded the
> dumping++ line instead of the panic.  If it's any use I'll keep it
> around.  uname "FreeBSD buffy.brucec.backnet 5.2-BETA FreeBSD 5.2-BETA
> #0: Fri Dec 5 22:13:38 GMT 2003
> bruce@buffy.brucec.backnet:/usr/obj/usr/src/sys/MYKERNEL  i386"

I've worked out how to get useful data from gdb, and have got
the attached backtrace.

--
Bruce Cran

--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=backtr

panic: getnewvnode: free vnode isn't
panic messages:
---
panic: getnewvnode: free vnode isn't
panic: from debugger
Uptime: 1h5m31s
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
---
Reading symbols from /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/if_tun/if_tun.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/if_tun/if_tun.ko.debug
Reading symbols from /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug
Reading symbols from /boot/kernel/blank_saver.ko...done.
Loaded symbols for /boot/kernel/blank_saver.ko
Reading symbols from /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/ugen/ugen.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/ugen/ugen.ko.debug
Reading symbols from /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/usb/usb.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/usb/usb.ko.debug
Reading symbols from /boot/kernel/snd_emu10k1.ko...done.
Loaded symbols for /boot/kernel/snd_emu10k1.ko
Reading symbols from /boot/kernel/snd_pcm.ko...done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/linux/linux.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240		dumping++;
(kgdb) backtr
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc04bb6f3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc04bb973 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc04465a5 in db_panic () at /usr/src/sys/ddb/db_command.c:450
#4  0xc044653c in db_command (last_cmdp=0xc0630680, cmd_table=0x0, 
    aux_cmd_tablep=0xc0604650, aux_cmd_tablep_end=0xc0604654)
    at /usr/src/sys/ddb/db_command.c:346
#5  0xc0446614 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#6  0xc0448c89 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:73
#7  0xc05aecdd in kdb_trap (type=3, code=0, regs=0xe9bb9928)
    at /usr/src/sys/i386/i386/db_interface.c:171
#8  0xc05beb1c in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = -1067510057, tf_ebp = -373581460, tf_isp = -373581484, tf_ebx = 0, tf_edx = 0, tf_ecx = 1, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1067782323, tf_cs = 8, tf_eflags = 642, tf_esp = -373581416, tf_ss = -373581428})
    at /usr/src/sys/i386/i386/trap.c:580
#9  0xc05b0228 in calltrap () at {standard input}:94
#10 0xc04bb923 in panic (fmt=0xc05f16d7 "getnewvnode: free vnode isn't")
    at /usr/src/sys/kern/kern_shutdown.c:534
#11 0xc0500fb5 in getnewvnode (tag=0xc05f432f "ufs", mp=0xc43f2000, vops=0x0, 
    vpp=0x0) at /usr/src/sys/kern/vfs_subr.c:1004
#12 0xc056f93c in ffs_vget (mp=0xc43f2000, ino=5205003, flags=2, 
    vpp=0xe9bb9a84) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1268
---Type <return> to continue, or q <return> to quit---
#13 0xc05765ea in ufs_lookup (ap=0xe9bb9b40)
    at /usr/src/sys/ufs/ufs/ufs_lookup.c:603
#14 0xc057c62b in ufs_vnoperate (ap=0x0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2793
#15 0xc04f9281 in vfs_cache_lookup (ap=0x0) at vnode_if.h:82
#16 0xc057c62b in ufs_vnoperate (ap=0x0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2793
#17 0xc04fd747 in lookup (ndp=0xe9bb9c30) at vnode_if.h:52
#18 0xc04fd1cc in namei (ndp=0xe9bb9c30) at /usr/src/sys/kern/vfs_lookup.c:183
#19 0xc0507f36 in lstat (td=0xc47a7dc0, uap=0xe9bb9d14)
    at /usr/src/sys/kern/vfs_syscalls.c:2030
#20 0xc05bf28b in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134564096, tf_esi = 134564168, tf_ebp = -1077942344, tf_isp = -373580428, tf_ebx = 672438760, tf_edx = 134533120, tf_ecx = 0, tf_eax = 190, tf_trapno = 12, tf_err = 2, tf_eip = 671977275, tf_cs = 31, tf_eflags = 662, tf_esp = -1077942500, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1010
#21 0xc05b027d in Xint0x80_syscall () at {standard input}:136
---Can't read userspace from dump, or kernel process---

--cNdxnHkX5QqsyA0e--



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