calcru-triggered panic?

From: Rene Ladan <r.c.ladan_at_gmail.com>
Date: Mon, 20 Nov 2006 22:38:48 +0100
Hi,

I got the attached panic on CURRENT 2006-11-17.

It was preceded by a lot of 'calcru' messages.

Regards,
Rene
-- 
GPG fingerprint = 6793 FA71 C4E8 3BAD 5954  9552 F3DA D315 B8DB 03F5
(subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001

Script started on Mon Nov 20 22:33:01 2006
root_at_s000655:/var/crash#kgdb -n 6

kgdb: kvm_nlist(_stopped_cpus): 
kgdb: kvm_nlist(_stoppcbs): 
[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 "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
calcru: runtime went backwards from 20147907 usec to 15519843 usec for pid 808 (setiathome-5.13.i38)panic: blockable sleep lock (sleep mutex) tty _at_ /usr/src-current/sys/kern/kern_event.c:1670
KDB: enter: panic
Physical memory: 1015 MB
Dumping 57 MB: 42 26 10

#0  doadump () at pcpu.h:166
166	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) bt f
#0  doadump () at pcpu.h:166
No locals.
#1  0xc0443791 in db_fncall (dummy1=0, dummy2=0, dummy3=1999, 
    dummy4=0xe64a260c "") at /usr/src-current/sys/ddb/db_command.c:486
	fn_addr = -1068631716
	args = {-1066884352, -431348264, -1066699136, -431348248, -1069272590, 
  -1066699136, -1066884352, -431348216, -431348264, 0}
	nargs = 0
	retval = -1011749888
	t = 0
#2  0xc0443560 in db_command (last_cmdp=0xc06b6e04, cmd_table=0x0)
    at /usr/src-current/sys/ddb/db_command.c:401
	cmd = (struct command *) 0xc068a300
	t = 0
	modif = "\000\000\000\000\200\003«Ãíå\222À\000VrÀ \221lÀ\r\000\000\000\001\000\000\000H&Jæ GGÀ\000ì±Ã\aK\004 $\222lÀ bqÀ\000wkÀx\000\000\000\000wkÀ_at_¼\034Äl&JæWYDÀ_at_$fÀlVDÀ\000\000\000\000\n\000\000\000_at_¼\034Ä\000wkÀ<MDÀ\000wkÀ0okÀx\000\000\000È&Jæ"
	addr = 0
	count = 1999
	have_addr = 0
	result = 0
#3  0xc0443627 in db_command_loop ()
    at /usr/src-current/sys/ddb/db_command.c:453
---Type <return> to continue, or q <return> to quit---
No locals.
#4  0xc0445595 in db_trap (type=3, code=0)
    at /usr/src-current/sys/ddb/db_main.c:222
	jb = {{_jb = {-431348024, -431348052, -431347972, 3, -1004749760, 
      -1069263564, 0, 542143148, 0, 0, -431347972, -1068481939}}}
	prev_jb = (void *) 0x0
	bkpt = 0
#5  0xc05042f0 in kdb_trap (type=0, code=0, tf=0x0)
    at /usr/src-current/sys/kern/subr_kdb.c:502
	handled = 0
#6  0xc0636b61 in trap (frame=
      {tf_fs = -1067057144, tf_es = -1068498904, tf_ds = -431357912, tf_edi = 1, tf_esi = -1067029894, tf_ebp = -431347736, tf_isp = -431347764, tf_ebx = -431347680, tf_edx = 0, tf_ecx = -1056878592, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1068482456, tf_cs = 32, tf_eflags = 134, tf_esp = -1067037488, tf_ss = -1067048187}) at /usr/src-current/sys/i386/i386/trap.c:622
	td = (struct thread *) 0xc41cbc40
	p = (struct proc *) 0xc4262690
	i = 0
	ucode = 0
	type = 3
	code = 0
	addr = 0
	eva = 0
---Type <return> to continue, or q <return> to quit---
	ksi = {ksi_link = {tqe_next = 0x0, tqe_prev = 0xc06624eb}, ksi_info = {
    si_signo = -1066615852, si_errno = 10, si_code = 1670, si_pid = 0, 
    si_uid = 3228349648, si_status = -1067029860, si_addr = 0xe64a2764, 
    si_value = {sival_int = 4, sival_ptr = 0x4}, _reason = {_fault = {
        _trapno = 909586432}, _timer = {_timerid = 909586432, _overrun = 49}, 
      _mesgq = {_mqd = 909586432}, _poll = {_band = 909586432}, __spare__ = {
        __spare1__ = 909586432, __spare2__ = {49, 12, 61440, 7, -431347692, 
          -1067176705, -431347730}}}}, ksi_flags = 1, ksi_sigq = 0xc}
#7  0xc0621b9a in calltrap () at /usr/src-current/sys/i386/i386/exception.s:138
No locals.
#8  0xc0504068 in kdb_enter (msg=0x12 <Address 0x12 out of bounds>)
    at cpufunc.h:60
No locals.
#9  0xc04e0209 in panic (fmt=0xc0666a7a "blockable sleep lock (%s) %s _at_ %s:%d")
    at /usr/src-current/sys/kern/kern_shutdown.c:551
	td = (struct thread *) 0xc41cbc40
	bootopt = 256
	newpanic = 1
	ap = 0xe64a2820 "V~gÀ\037\214fÀ-éeÀ\206\006"
	buf = "blockable sleep lock (sleep mutex) tty _at_ /usr/src-current/sys/kern/kern_event.c:1670", '\0' <repeats 171 times>
#10 0xc0511947 in witness_checkorder (lock=0xc3c1c9ec, flags=9, 
    file=0xc065e92d "/usr/src-current/sys/kern/kern_event.c", line=1670)
    at /usr/src-current/sys/kern/subr_witness.c:844
---Type <return> to continue, or q <return> to quit---
	lock_list = (struct lock_list_entry **) 0x1
	lle = (struct lock_list_entry *) 0x4cf9bff7
	lock1 = (struct lock_instance *) 0xc41cbc40
	lock2 = (struct lock_instance *) 0x0
	class = (struct lock_class *) 0xc0697364
	w = (struct witness *) 0xc06d8948
	w1 = (struct witness *) 0x1
	td = (struct thread *) 0xc41cbc40
	i = 1291436023
	j = -1067212103
	__func__ = "witness_checkorder"
#11 0xc04d4a85 in _mtx_lock_flags (m=0xc3c1c9ec, opts=0, 
    file=0xc065e92d "/usr/src-current/sys/kern/kern_event.c", line=1670)
    at /usr/src-current/sys/kern/kern_mutex.c:134
No locals.
#12 0xc04bf66e in knlist_mtx_lock (arg=0x12)
    at /usr/src-current/sys/kern/kern_event.c:1670
No locals.
#13 0xc04bf287 in knote (list=0xc3c1c8ac, hint=0, islocked=0)
    at /usr/src-current/sys/kern/kern_event.c:1561
	kq = (struct kqueue *) 0xc3c1c838
	kn = (struct knote *) 0xc3c1c800
#14 0xc051e946 in ttwwakeup (tp=0xc3c1c800)
    at /usr/src-current/sys/kern/tty.c:2443
---Type <return> to continue, or q <return> to quit---
No locals.
#15 0xc047437e in scstart (tp=0xc3c1c800)
    at /usr/src-current/sys/dev/syscons/syscons.c:1475
	rbp = (struct clist *) 0xc3c1c838
	len = 18
	buf = "\200\a\000\000\000p\000\000 \221lÀ0)Jæv|aÀ¬\221lÀ\200\a\000\000c\000\000\000\000p\000\000°E\000\000\000À§ÃX\206aÀ`[¨Ã0)c\000¬\221lÀ \221lÀ_at_¼\034Ä<)Jæ`½bÀ\000ÃrÀX)Jæ\021NMÀ\000ÃrÀ\001\000\000\000Ï\017fÀÉ\000\000\000 \221lÀx)Jæ\226^GÀ\000ÃrÀ\000\000\000\000\177\202eÀ"
	scp = (scr_stat *) 0xc06c91a0
#16 0xc0474560 in sc_cnputc (cd=0xc068db20, c=18)
    at /usr/src-current/sys/dev/syscons/syscons.c:1559
	buf = ""
	scp = (scr_stat *) 0xc06c91a0
	save = (void *) 0xc0716220
	tp = (struct tty *) 0x0
#17 0xc0521b76 in cnputc (c=99) at /usr/src-current/sys/kern/tty_cons.c:632
	cnd = (struct cn_device *) 0xc0716220
	cn = (struct consdev *) 0xc068db20
	cp = 0xc068db20 "\213CGÀ\nDGÀkDGÀ¦EGÀ"
#18 0xc0521c6c in cnputs (p=0xc0728935 "DB: enter: panic\r\n")
    at /usr/src-current/sys/kern/tty_cons.c:659
	c = 18
	unlock_reqd = 1
---Type <return> to continue, or q <return> to quit---
#19 0xc050630e in putcons (c=-1056878592, ap=0xe64a2afc)
    at /usr/src-current/sys/kern/subr_prf.c:374
No locals.
#20 0xc0506387 in putchar (c=10, arg=0xe64a2afc)
    at /usr/src-current/sys/kern/subr_prf.c:400
	ap = (struct putchar_arg *) 0xe64a2afc
	tp = (struct tty *) 0xc1015000
	flags = 5
#21 0xc0506699 in kvprintf (fmt=0xc0661f38 "", func=0xc0506323 <putchar>, 
    arg=0xe64a2afc, radix=10, ap=0xe64a2b44 "\0177n]")
    at /usr/src-current/sys/kern/subr_prf.c:586
	cc = 18
	nbuf = "\00080891551\000\000\000\000øÓÁ¬*Jæ¼*JæÈ*JæcÐì", '\0' <repeats 11 times>, "ì\000cÐÿE\000\000\000\000\000\000\000\000\000\000ÓÁº\020öA"
	d = 0x0
	p = 0xc426283f ""
	percent = 0xc0661f34 "%s)\n"
	q = 0xffffffff <Address 0xffffffff out of bounds>
	up = (u_char *) 0xe046d9e9 <Address 0xe046d9e9 out of bounds>
	ch = 0
	n = -1
	num = 808
	base = 10
	lflag = 0
---Type <return> to continue, or q <return> to quit---
	qflag = -1056878592
	tmp = 3
	width = 0
	ladjust = 0
	sharpflag = 0
	neg = 0
	sign = 0
	dot = 0
	cflag = 0
	hflag = 0
	jflag = 0
	tflag = 0
	zflag = 0
	dwidth = 0
	upper = 0
	padc = 32 ' '
	stop = 0
	retval = 100
#22 0xc05061cd in printf (fmt=0x12 <Address 0x12 out of bounds>)
    at /usr/src-current/sys/kern/subr_prf.c:307
	ap = 0x0
	pca = {flags = 5, pri = -1, tty = 0x0, p_bufr = 0xc0728934 "", 
  n_bufr = 128, p_next = 0xc072899a "", remain = 26}
	retval = 0
---Type <return> to continue, or q <return> to quit---
#23 0xc04dddb3 in calcru1 (p=0xc4262690, ruxp=0xe64a2ba0, up=0xe64a2c24, 
    sp=0xe64a2c2c) at /usr/src-current/sys/kern/kern_resource.c:996
	ut = 1622
	uu = 13856817467273915264
	st = 62
	su = Unhandled dwarf expression opcode 0x93
(kgdb) q
root_at_s000655:/var/crash#^Dexit

Script done on Mon Nov 20 22:33:13 2006

Received on Mon Nov 20 2006 - 20:39:22 UTC

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