softupdate with journal panic

Michael Butler imb at protected-networks.net
Sat Aug 21 17:49:51 UTC 2010


While updating sysutils/coreutils port on -current as of this morning
(SVN r211550), I noted a panic during the directory rename config test.

I disabled the journal and the test succeeded without a panic.

Abbreviated core.txt is attached,

	imb


-------------- next part --------------
toshi.auburn.protected-networks.net dumped core - see /var/crash/vmcore.4

Sat Aug 21 13:27:54 EDT 2010

FreeBSD toshi.auburn.protected-networks.net 9.0-CURRENT FreeBSD 9.0-CURRENT #22 r211550M: Sat Aug 21 07:49:50 EDT 2010     root at toshi.auburn.protected-networks.net:/usr/obj/usr/home/imb/svn/head/sys/TOSHI  i386

panic: page fault

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address	= 0x18
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc08da5c5
stack pointer	        = 0x28:0xe8d65870
frame pointer	        = 0x28:0xe8d65878
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		= 49855 (conftest)
trap number		= 12
panic: page fault
cpuid = 1
Uptime: 4h35m14s
Physical memory: 3049 MB
Dumping 305 MB: 290 274 258 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2

Reading symbols from /boot/modules/vboxdrv.ko...done.
Loaded symbols for /boot/modules/vboxdrv.ko
Reading symbols from /boot/modules/vboxnetflt.ko...done.
Loaded symbols for /boot/modules/vboxnetflt.ko
Reading symbols from /boot/modules/vboxnetadp.ko...done.
Loaded symbols for /boot/modules/vboxnetadp.ko
Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.ko
#0  doadump () at pcpu.h:231
231	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) #0  doadump () at pcpu.h:231
#1  0xc066b627 in boot (howto=260)
    at /usr/home/imb/svn/head/sys/kern/kern_shutdown.c:416
#2  0xc066ba18 in panic (fmt=0x104 <Address 0x104 out of bounds>)
    at /usr/home/imb/svn/head/sys/kern/kern_shutdown.c:590
#3  0xc098a5cf in trap_fatal (frame=0xe8d65830, eva=40)
    at /usr/home/imb/svn/head/sys/i386/i386/trap.c:941
#4  0xc098a939 in trap_pfault (frame=0xe8d65830, usermode=0, eva=24)
    at /usr/home/imb/svn/head/sys/i386/i386/trap.c:854
#5  0xc098adc7 in trap (frame=0xe8d65830)
    at /usr/home/imb/svn/head/sys/i386/i386/trap.c:529
#6  0xc097363c in calltrap ()
    at /usr/home/imb/svn/head/sys/i386/i386/exception.s:166
#7  0xc08da5c5 in free_jremref (jremref=0x0)
    at /usr/home/imb/svn/head/sys/ufs/ffs/ffs_softdep.c:3569
#8  0xc08e4ef3 in cancel_diradd (dap=0xce4d1e40, dirrem=0xcba243c0, 
    jremref=0x0, dotremref=0xc9c0d440, dotdotremref=0x0)
    at /usr/home/imb/svn/head/sys/ufs/ffs/ffs_softdep.c:6774
#9  0xc08e514f in newdirrem (bp=0xda12ecec, dp=0xc9c0d440, ip=0xcd20a32c, 
    isrmdir=1, prevdirremp=0xe8d65914)
    at /usr/home/imb/svn/head/sys/ufs/ffs/ffs_softdep.c:7197
#10 0xc08e560b in softdep_setup_directory_change (bp=0xda12ecec, 
    dp=0xcd354a6c, ip=0xcd20a32c, newinum=10389760, isrmdir=1)
    at /usr/home/imb/svn/head/sys/ufs/ffs/ffs_softdep.c:7263
#11 0xc08f8c76 in ufs_dirrewrite (dp=0xcd354a6c, oip=0xcd20a32c, 
    newinum=10389760, newtype=4, isrmdir=1)
    at /usr/home/imb/svn/head/sys/ufs/ufs/ufs_lookup.c:1304
#12 0xc0904757 in ufs_rename (ap=0xe8d65be8)
    at /usr/home/imb/svn/head/sys/ufs/ufs/ufs_vnops.c:1429
#13 0xc09a7287 in VOP_RENAME_APV (vop=0xc0ab7720, a=0xe8d65be8)
    at vnode_if.c:1474
#14 0xc070daeb in kern_renameat (td=0xc7117b00, oldfd=-100, 
    old=0x8048511 <Address 0x8048511 out of bounds>, newfd=-100, 
    new=0x8048505 <Address 0x8048505 out of bounds>, pathseg=UIO_USERSPACE)
    at vnode_if.h:636
#15 0xc070db51 in kern_rename (td=0xc7117b00, 
    from=0x8048511 <Address 0x8048511 out of bounds>, 
    to=0x8048505 <Address 0x8048505 out of bounds>, pathseg=UIO_USERSPACE)
    at /usr/home/imb/svn/head/sys/kern/vfs_syscalls.c:3574
#16 0xc070db7c in rename (td=0xc7117b00, uap=0xe8d65cec)
    at /usr/home/imb/svn/head/sys/kern/vfs_syscalls.c:3551
#17 0xc06a93c7 in syscallenter (td=0xc7117b00, sa=0xe8d65ce4)
    at /usr/home/imb/svn/head/sys/kern/subr_trap.c:319
#18 0xc098a99c in syscall (frame=0xe8d65d28)
    at /usr/home/imb/svn/head/sys/i386/i386/trap.c:1056
#19 0xc09736a1 in Xint0x80_syscall ()
    at /usr/home/imb/svn/head/sys/i386/i386/exception.s:264
#20 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 



More information about the freebsd-current mailing list