Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2005 02:10:32 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Palle Girgensohn <girgen@pingpong.net>
Cc:        Brendan White <bmwt@caida.org>, freebsd-stable@freebsd.org
Subject:   Re: Repeatable crash with 5.4-p1-RELEASE and SMP
Message-ID:  <20050604061031.GA8643@xor.obsecurity.org>
In-Reply-To: <2032FF2A928A89651F1C7843@rambutan.pingpong.net>
References:  <2032FF2A928A89651F1C7843@rambutan.pingpong.net>

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

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCoUXXWry0BWjoQKURAjJEAJ4ncD4VZT9+rEbkckrBaZbEKFOycwCfZJgP
fHHQA02IC+0fqRcM1OGMiZg=
=Ubih
-----END PGP SIGNATURE-----

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