Repeatable crash with 5.4-p1-RELEASE and SMP

Kris Kennaway kris at obsecurity.org
Sat Jun 4 06:10:35 GMT 2005


On Sat, Jun 04, 2005 at 03:48:04AM +0200, Palle Girgensohn wrote:

> Here's the dump. Anything else I shall extract, please just ask.
> 
> # kgdb kernel.debug /misc/crash/vmcore.11
> [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: 
> Undefined symbol "ps_pglobal_lookup"]
> 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 "amd64-marcel-freebsd".
> #0  doadump () at pcpu.h:167
> 167             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
> (kgdb) backtrace
> #0  doadump () at pcpu.h:167
> #1  0x0000000000000000 in ?? ()
> #2  0xffffffff80341267 in boot (howto=260) at 
> /usr/src/sys/kern/kern_shutdown.c:410
> #3  0xffffffff80341ac6 in panic (fmt=0xffffff007b76d000 "??x{") at 
> /usr/src/sys/kern/kern_shutdown.c:566
> #4  0xffffffff804f0f52 in trap_fatal (frame=0xc, eva=18446742976269307904)
>    at /usr/src/sys/amd64/amd64/trap.c:639
> #5  0xffffffff804f11ef in trap_pfault (frame=0xffffffffb1d229b0, usermode=0)
>    at /usr/src/sys/amd64/amd64/trap.c:562
> #6  0xffffffff804f1457 in trap (frame=
>      {tf_rdi = -1097427517200, tf_rsi = -1097440243712, tf_rdx = 1056, 
> tf_rcx = 0, tf_r8 = 0, tf_r9 = 0, tf_r
> ax = 1056, tf_rbx = 0, tf_rbp = -1098069766144, tf_r10 = 4503599627366400, 
> tf_r11 = 3392, tf_r12 = 4, tf_r13 =
> 4, tf_r14 = -1099313881192, tf_r15 = -1097364452848, tf_trapno = 12, 
> tf_addr = 136, tf_flags = -1099313881192
> , tf_err = 0, tf_rip = -2144020582, tf_cs = 8, tf_rflags = 66050, tf_rsp = 
> -1311626640, tf_ss = 0})
>    at /usr/src/sys/amd64/amd64/trap.c:341
> #7  0xffffffff804deb0b in calltrap () at 
> /usr/src/sys/amd64/amd64/exception.S:171
> #8  0xffffff007c3900f0 in ?? ()
> #9  0xffffff007b76d000 in ?? ()

Is your kernel built with -O2, or -O?  There are a lot of bogus stack
frames here, which suggest the former.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050604/558bf452/attachment.bin


More information about the freebsd-stable mailing list