kern/127054: [panic] perl causes panic

ben wilber ben at desync.com
Thu Sep 4 09:43:04 UTC 2008


On Thu, Sep 04, 2008 at 06:48:29AM +0200, Ed Schouten wrote:
> > #11 0xffffffff80524e3f in ptsdev_close (fp=0xffffff00057c5808, td=Variable "td" is not available.
> > )   
> >     at /usr/src/sys/kern/tty_pts.c:436

Sorry, I lost my dump again trying to make DDB scripts work.  This is
yet another new one.

(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xffffffff801d4dc8 in db_fncall (dummy1=Variable "dummy1" is not available.
) at /usr/src/sys/ddb/db_command.c:516
#2  0xffffffff801d5384 in db_command (last_cmdp=0xffffffff80b123c8, cmd_table=0x0, dopager=1)
    at /usr/src/sys/ddb/db_command.c:413
#3  0xffffffff801d54c1 in db_command_loop () at /usr/src/sys/ddb/db_command.c:466
#4  0xffffffff801d6f46 in db_trap (type=Variable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:228
#5  0xffffffff80504a97 in kdb_trap (type=12, code=0, tf=0xfffffffea9870960)
    at /usr/src/sys/kern/subr_kdb.c:534
#6  0xffffffff807cce4c in trap_fatal (frame=0xfffffffea9870960, eva=616)
    at /usr/src/sys/amd64/amd64/trap.c:753
#7  0xffffffff807cd0f6 in trap_pfault (frame=0xfffffffea9870960, usermode=0)
    at /usr/src/sys/amd64/amd64/trap.c:675
#8  0xffffffff807cdab2 in trap (frame=0xfffffffea9870960) at /usr/src/sys/amd64/amd64/trap.c:444
#9  0xffffffff807b18ae in calltrap () at /usr/src/sys/amd64/amd64/exception.S:217
#10 0xffffffff804ca7f6 in _mtx_lock_sleep (m=0xffffff000587c008, tid=18446742974295766720, opts=Variable "opts" is not available.
)
    at /usr/src/sys/kern/kern_mutex.c:335
#11 0xffffffff805251b1 in ptsdev_read (fp=0xffffff00053f93c0, uio=0xfffffffea9870b10, active_cred=Variable "active_cred" is not available.
)
    at /usr/src/sys/kern/tty_pts.c:130
#12 0xffffffff8051322c in dofileread (td=0xffffff0005d4f6c0, fd=9, fp=0xffffff00053f93c0, 
    auio=0xfffffffea9870b10, offset=Variable "offset" is not available.
) at file.h:227
#13 0xffffffff80513513 in kern_readv (td=0xffffff0005d4f6c0, fd=9, auio=0xfffffffea9870b10)
    at /usr/src/sys/kern/sys_generic.c:235
#14 0xffffffff805135e9 in read (td=0xffffff000587c008, uap=0xffffff0005d4f6c0)
    at /usr/src/sys/kern/sys_generic.c:151
#15 0xffffffff807cd44e in syscall (frame=0xfffffffea9870c80) at /usr/src/sys/amd64/amd64/trap.c:897
#16 0xffffffff807b1abb in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:338
#17 0x000000080139cdfc in ?? ()
(kgdb) frame
#11 0xffffffff805251b1 in ptsdev_read (fp=0xffffff00053f93c0, uio=0xfffffffea9870b10, active_cred=Variable "active_cred" is not available.
)
    at /usr/src/sys/kern/tty_pts.c:130
130             tty_lock(tp);
(kgdb) print tp
$3 = (struct tty *) 0xffffff000587c000
(kgdb) print *tp
$4 = {t_mtx = 0xffffff000587c008, t_mtxobj = {lock_object = {
      lo_name = 0xffffffff808952c6 "tty lock", lo_flags = 16908288, lo_data = 0, 
      lo_witness = 0x0}, mtx_lock = 6}, t_list = {tqe_next = 0x0, tqe_prev = 0xffffff000530d028}, 
  t_flags = 1543831584, t_revokecnt = 1, t_inq = {ti_list = {tqh_first = 0x0, 
      tqh_last = 0xffffff000587c040}, ti_startblock = 0xffffff001abe86e0, 
    ti_reprintblock = 0xffffff001abe86e0, ti_lastblock = 0xffffff001abe86e0, ti_begin = 0, 
    ti_linestart = 0, ti_reprint = 0, ti_end = 0, ti_nblocks = 0, ti_quota = 0}, t_inlow = 0, 
  t_outq = {to_list = {stqh_first = 0x0, stqh_last = 0xffffff000587c088}, 
    to_lastblock = 0xffffff001abee200, to_begin = 0, to_end = 0, to_nblocks = 0, to_quota = 0}, 
  t_outlow = 0, t_inwait = {cv_description = 0xffffffff8089529a "tty input", cv_waiters = 0}, 
  t_outwait = {cv_description = 0xffffffff808952a4 "tty output", cv_waiters = 0}, t_bgwait = {
    cv_description = 0xffffffff808952af "tty background", cv_waiters = 0}, t_dcdwait = {
    cv_description = 0xffffffff808952be "tty dcd", cv_waiters = 0}, t_inpoll = {si_tdlist = {
      tqh_first = 0x0, tqh_last = 0x0}, si_note = {kl_list = {slh_first = 0x0}, kl_lock = 0, 
      kl_unlock = 0, kl_locked = 0xffffffff804b16fb <knlist_mtx_locked>, kl_lockarg = 0x0}, 
    si_mtx = 0x0}, t_outpoll = {si_tdlist = {tqh_first = 0x0, tqh_last = 0x0}, si_note = {
      kl_list = {slh_first = 0x0}, kl_lock = 0, kl_unlock = 0, 
      kl_locked = 0xffffffff804b16fb <knlist_mtx_locked>, kl_lockarg = 0x0}, si_mtx = 0x0}, 
  t_sigio = 0x0, t_termios = {c_iflag = 8966, c_oflag = 3, c_cflag = 19200, c_lflag = 1487, 
    c_cc = "\004ÿÿ\177\027\025\022\b\003\034\032\031\021\023\026\017\001\000\024ÿ", 
    c_ispeed = 38400, c_ospeed = 38400}, t_winsize = {ws_row = 45, ws_col = 100, ws_xpixel = 600, 
    ws_ypixel = 540}, t_column = 0, t_writepos = 0, t_termios_init_in = {c_iflag = 11010, 
    c_oflag = 3, c_cflag = 19200, c_lflag = 1483, 
    c_cc = "\004ÿÿ\177\027\025\022\b\003\034\032\031\021\023\026\017\001\000\024ÿ", 
    c_ispeed = 9600, c_ospeed = 9600}, t_termios_lock_in = {c_iflag = 0, c_oflag = 0, c_cflag = 0, 
    c_lflag = 0, c_cc = '\0' <repeats 19 times>, c_ispeed = 0, c_ospeed = 0}, 
  t_termios_init_out = {c_iflag = 11010, c_oflag = 3, c_cflag = 19200, c_lflag = 1483, 
    c_cc = "\004ÿÿ\177\027\025\022\b\003\034\032\031\021\023\026\017\001\000\024ÿ", 
    c_ispeed = 9600, c_ospeed = 9600}, t_termios_lock_out = {c_iflag = 0, c_oflag = 0, 
    c_cflag = 0, c_lflag = 0, c_cc = '\0' <repeats 19 times>, c_ispeed = 0, c_ospeed = 0}, 
  t_devsw = 0xffffffff80aba720, t_pgrp = 0x0, t_session = 0x0, t_sessioncnt = 0, 
  t_softc = 0xffffff001a30d100, t_dev = 0x0}

Thanks,
bw.


More information about the freebsd-bugs mailing list