recent signal changes related panic

From: Maxim Konovalov <maxim_at_macomnet.ru>
Date: Wed, 9 Apr 2003 13:36:40 +0400 (MSD)
Hello,

How to repeat:

$ stty status ^T
$ while :; do cat /etc/services >q; done

[ Press and hold ^T, get a panic. ]

Script started on Wed Apr  9 13:34:41 2003
golf# gdb kernel.debug -k vmcore.33
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: blockable sleep lock (sleep mutex) sellck _at_ /usr/src/sys/kern/sys_generic.c:1191
panic messages:
---
panic: blockable sleep lock (sleep mutex) sellck _at_ /usr/src/sys/kern/sys_generic.c:1191
Uptime: 4m5s
Dumping 511 MB
ata0: resetting devices ..
done
[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496
---

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239		dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
#1  0xc023cb3a in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc023cde3 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc025db7f in witness_lock (lock=0xc03e6460, flags=8,
    file=0xc039c9f5 "/usr/src/sys/kern/sys_generic.c", line=1191)
    at /usr/src/sys/kern/subr_witness.c:611
#4  0xc0233f13 in _mtx_lock_flags (m=0xc441e5f0, opts=0,
    file=0xc039c9f5 "/usr/src/sys/kern/sys_generic.c", line=-1069652896)
    at /usr/src/sys/kern/kern_mutex.c:336
#5  0xc0261abf in selwakeup (sip=0xc441e5f0)
    at /usr/src/sys/kern/sys_generic.c:1191
#6  0xc026be9e in ptcwakeup (tp=0xc458b430, flag=-1069954571)
    at /usr/src/sys/kern/tty_pty.c:327
#7  0xc026be67 in ptsstart (tp=0x0) at /usr/src/sys/kern/tty_pty.c:316
#8  0xc0267e1b in ttstart (tp=0x0) at /usr/src/sys/kern/tty.c:1459
#9  0xc0269bd4 in tputchar (c=-1000819712, tp=0xc458b430)
    at /usr/src/sys/kern/tty.c:2585
#10 0xc025905b in putchar (c=99, arg=0xe1cfa9a4)
    at /usr/src/sys/kern/subr_prf.c:349
#11 0xc025937d in kvprintf (fmt=0xc458b400 "", func=0xc0258ff0 <putchar>,
    arg=0xe1cfa9a4, radix=10, ap=0xe1cfa9c4 "»\035")
    at /usr/src/sys/kern/subr_prf.c:528
#12 0xc0258f47 in printf (fmt=0x0) at /usr/src/sys/kern/subr_prf.c:305
---Type <return> to continue, or q <return> to quit---
#13 0xc023b3ad in calcru (p=0xc43b8b40, up=0xe1cfaa5c, sp=0xe1cfaa64, ip=0x0)
    at /usr/src/sys/kern/kern_resource.c:709
#14 0xc02698d9 in ttyinfo (tp=0xc4417830) at /usr/src/sys/kern/tty.c:2436
#15 0xc02664f3 in ttyinput (c=20, tp=0xc4417830) at /usr/src/sys/kern/tty.c:562
#16 0xc026c4f0 in ptcwrite (dev=0x0, uio=0xe1cfac7c, flag=8323089)
    at /usr/src/sys/kern/tty_pty.c:607
#17 0xc02062f3 in spec_write (ap=0xe1cfabe0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:311
#18 0xc0205c58 in spec_vnoperate (ap=0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:123
#19 0xc0295f22 in vn_write (fp=0xc4189b7c, uio=0xe1cfac7c,
    active_cred=0xc431e900, flags=0, td=0xc441e5f0) at vnode_if.h:417
#20 0xc02600d8 in dofilewrite (td=0xc441e5f0, fp=0xc4189b7c, fd=0,
    buf=0x80a0f00, nbyte=0, offset=0, flags=0) at file.h:239
#21 0xc025ff19 in write (td=0xc441e5f0, uap=0xe1cfad10)
    at /usr/src/sys/kern/sys_generic.c:329
#22 0xc035c08e in syscall (frame=
      {tf_fs = -1070333905, tf_es = 47, tf_ds = 47, tf_edi = 1, tf_esi = 4, tf_ebp = -1077939032, tf_isp = -506483340, tf_ebx = 1, tf_edx = 1, tf_ecx = 0, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 674716611, tf_cs = 31, tf_eflags = 647, tf_esp = -1077939076, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1030
#23 0xc034c41d in Xint0x80_syscall () at {standard input}:138
---Can't read userspace from dump, or kernel process---

Script done on Wed Apr  9 13:34:54 2003

-- 
Maxim Konovalov, maxim_at_macomnet.ru, maxim_at_FreeBSD.org
Received on Wed Apr 09 2003 - 00:36:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC