Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2008 16:29:23 -0400
From:      ben wilber <ben@desync.com>
To:        Ed Schouten <ed@80386.nl>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/127054: [panic] perl causes panic
Message-ID:  <20080903202922.GA2753@exodus.desync.com>
In-Reply-To: <20080903144844.GP99951@hoeg.nl>
References:  <200809031003.m83A3xAg069149@freefall.freebsd.org> <20080903112406.GO99951@hoeg.nl> <20080903144844.GP99951@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 03, 2008 at 04:48:44PM +0200, Ed Schouten wrote:
> Hmmmm - that's not a smart question of me, because that will just give
> us a line number inside _mtx_lock_sleep(). Any chance you've got a core
> dump of the kernel, so you can inspect the backtrace (most important
> frame ptsdev_read)? Thanks!

I can't dump to my normal swap partition, but I triggered it again and wrote
the dump to a USB disk.

(kgdb) #0  doadump () at pcpu.h:195
#1  0xffffffff801d4d18 in db_fncall (dummy1=Variable "dummy1" is not available.
)   
    at /usr/src/sys/ddb/db_command.c:516
#2  0xffffffff801d52d4 in db_command (last_cmdp=0xffffffff80b11f48,
    cmd_table=0x0, dopager=1) at /usr/src/sys/ddb/db_command.c:413
#3  0xffffffff801d5411 in db_command_loop ()
    at /usr/src/sys/ddb/db_command.c:466
#4  0xffffffff801d6e96 in db_trap (type=Variable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:228
#5  0xffffffff80504927 in kdb_trap (type=12, code=0, tf=0xfffffffea954b950)
    at /usr/src/sys/kern/subr_kdb.c:534
#6  0xffffffff807ccdcc in trap_fatal (frame=0xfffffffea954b950, eva=616)
    at /usr/src/sys/amd64/amd64/trap.c:753
#7  0xffffffff807cd076 in trap_pfault (frame=0xfffffffea954b950, usermode=0)
    at /usr/src/sys/amd64/amd64/trap.c:675
#8  0xffffffff807cda32 in trap (frame=0xfffffffea954b950)
    at /usr/src/sys/amd64/amd64/trap.c:444
#9  0xffffffff807b182e in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:217
#10 0xffffffff804ca686 in _mtx_lock_sleep (m=0xffffff00057c5808,
    tid=18446742974286599008, opts=Variable "opts" is not available.
) at /usr/src/sys/kern/kern_mutex.c:335
#11 0xffffffff80524e3f in ptsdev_close (fp=0xffffff00057c5808, td=Variable "td" is not available.
)   
    at /usr/src/sys/kern/tty_pts.c:436
#12 0xffffffff804a82a6 in _fdrop (fp=0xffffff02431ff050, td=Variable "td" is not available.
) at file.h:293
#13 0xffffffff804a964b in closef (fp=0xffffff02431ff050,
    td=0xffffff0005491360) at /usr/src/sys/kern/kern_descrip.c:2003
#14 0xffffffff804a9b0b in kern_close (td=0xffffff0005491360, fd=8)
    at /usr/src/sys/kern/kern_descrip.c:1105
#15 0xffffffff804a9bbc in close (td=Variable "td" is not available.
) at /usr/src/sys/kern/kern_descrip.c:1057
#16 0xffffffff807cd3ce in syscall (frame=0xfffffffea954bc80)
    at /usr/src/sys/amd64/amd64/trap.c:897
#17 0xffffffff807b1a3b in Xfast_syscall ()
    at /usr/src/sys/amd64/amd64/exception.S:338
#18 0x0000000800ad4b0c in ?? ()
Previous frame inner to this frame (corrupt stack?)

Thanks,
bw.



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