From owner-freebsd-current Sun Mar 11 8:51: 2 2001 Delivered-To: freebsd-current@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id 4E83C37B718 for ; Sun, 11 Mar 2001 08:50:57 -0800 (PST) (envelope-from mi@aldan.algebra.com) Received: (from mi@localhost) by aldan.algebra.com (8.11.3/8.11.2) id f2BGoMm00816 for current@freebsd.org; Sun, 11 Mar 2001 11:50:22 -0500 (EST) (envelope-from mi) From: Mikhail Teterin Message-Id: <200103111650.f2BGoMm00816@aldan.algebra.com> Subject: panic trying to play Civillization (with trace, etc.) To: current@freebsd.org Date: Sun, 11 Mar 2001 11:50:21 -0500 (EST) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli"mtx_blocked); (kgdb) p m $1 = (struct mtx *) 0xc03e80e0 (kgdb) p *m $2 = {mtx_lock = 3472602691, mtx_recurse = 1, mtx_saveintr = 0, mtx_flags = 2, mtx_description = 0xc0341df9 "Giant", mtx_blocked = {tqh_first = 0x0, tqh_last = 0xcefbd400}, mtx_contested = {le_next = 0xc03e80e0, le_prev = 0xcefbb7e0}, mtx_next = 0xc03dae60, mtx_prev = 0xc03e82a0, mtx_debug = 0x0} (kgdb) p m->mtx_blocked $3 = {tqh_first = 0x0, tqh_last = 0xcefbd400} (kgdb) l 520 521 mtx_lock_spin(&sched_lock); 522 if ((opts & MTX_QUIET) == 0) 523 CTR1(KTR_LOCK, "_mtx_unlock_sleep: %p contested", m); 524 525 p1 = TAILQ_FIRST(&m->mtx_blocked); 526 MPASS(p->p_magic == P_MAGIC); 527 MPASS(p1->p_magic == P_MAGIC); 528 529 TAILQ_REMOVE(&m->mtx_blocked, p1, p_procq); (kgdb) up #13 0xc02e979d in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 144704672, tf_esi = -1077937872, tf_ebp = -1077937588, tf_isp = -821907500, tf_ebx = 4, tf_edx = 148, tf_ecx = -1077937736, tf_eax = 148, tf_trapno = 12, tf_err = 2, tf_eip = 139025316, tf_cs = 31, tf_eflags = 598, tf_esp = -1077937900, tf_ss = 47}) at ../../i386/i386/trap.c:1247 1247 mtx_unlock(&Giant); (kgdb) l 1242 1243 /* 1244 * Release Giant if we had to get it 1245 */ 1246 if (mtx_owned(&Giant)) 1247 mtx_unlock(&Giant); 1248 1249 /* 1250 * This works because errno is findable through the 1251 * register set. If we ever support an emulation where this [.......] -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message