From owner-freebsd-current Sun Mar 11 21:35:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.virtual-estates.net (video-collage.com [160.79.196.177]) by hub.freebsd.org (Postfix) with ESMTP id 56C4037B718 for ; Sun, 11 Mar 2001 21:35:42 -0800 (PST) (envelope-from mi@mail.virtual-estates.net) Received: (from mi@localhost) by mail.virtual-estates.net (8.9.3+3.2W/8.9.3) id AAA09072; Mon, 12 Mar 2001 00:26:41 -0500 (EST) From: Mikhail Teterin Message-Id: <200103120526.AAA09072@mail.virtual-estates.net> Subject: Re: panic trying to play Civillization (with trace, etc.) In-Reply-To: from Dag-Erling Smorgrav at "Mar 11, 2001 10:02:49 pm" To: Dag-Erling Smorgrav Date: Mon, 12 Mar 2001 00:26:41 -0500 (EST) Cc: current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL60 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Mikhail Teterin writes: > > Here is the trace with my attempts to browse through it. > > If you can, please reproduce the panic on a kernel compiled with the > INVARIANTS, INVARIANT_SUPPORT and WITNESS options. Well, with this options on, the machine does not crash, but the program segfaults on startup: [....] 430 ktrace NAMI "/usr/games/civctp" 430 ktrace RET execve -1 errno 2 No such file or directory 430 ktrace CALL execve(0xbfbff730,0xbfbffc40,0xbfbffc48) 430 ktrace NAMI "/usr/local/sbin/civctp" 430 ktrace RET execve -1 errno 2 No such file or directory 430 ktrace CALL execve(0xbfbff730,0xbfbffc40,0xbfbffc48) 430 ktrace NAMI "/usr/local/bin/civctp" 430 civctp RET execve 0 430 civctp PSIG SIGSEGV SIG_DFL 430 civctp NAMI "civctp.core" The points of interest: . I had to brandelf the binary manually after I untarred the stuff from the CD Loki Games sent me. . The Linux Netscape continues to work properly . The binary crashes in the same fashion even when the /compat/linux is not available (not mounted), which leads me to believe, it is not recognized as a Linux binary . One does not need to be root to cause the crash (on the system without INVARIANTS and WITNESS) . The kernel has already complained twice since reboot: # dmesg [....] lock order reversal 1st lockmgr interlock last acquired @ ../../kern/kern_lock.c:239 2nd 0xcefa0520 process lock @ ../../kern/kern_sig.c:183 3rd 0xc1029f80 lockmgr interlock @ ../../kern/kern_lock.c:560 lock order reversal 1st vnode interlock last acquired @ ../../kern/vfs_vnops.c:625 2nd 0xc0419680 mntvnode @ ../../ufs/ffs/ffs_vfsops.c:939 3rd 0xcefb986c vnode interlock @ ../../ufs/ffs/ffs_vfsops.c:948 -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message