From owner-freebsd-stable@FreeBSD.ORG Sun Oct 28 07:32:50 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB93316A417 for ; Sun, 28 Oct 2007 07:32:50 +0000 (UTC) (envelope-from m2chrischou@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id A29B413C491 for ; Sun, 28 Oct 2007 07:32:50 +0000 (UTC) (envelope-from m2chrischou@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1082908rvb for ; Sun, 28 Oct 2007 00:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; bh=YHG2cxH6LoLDmMcUQPN7taU+QvZR1ryEm0uAduJozxI=; b=dZHIr+j4VCAONoU5w2oD/IXi0pwkrJacdg8IPNjHagJk6TaVIsZ8WAWBwaiKDy4ZJA553NpCt3vUUDCd8WPhwRmYPVWAEpWS1gpU6Ep1aSWFeI9cBQowZDVIuCAeOuXJRONuuXVOM6dNtInr0cD1QQPYK429PRqNkVeTKlcUi5s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; b=heSK43TtBX/iwdVHw1jR0zc2zKrvAIfqXpulg7qAncKEYLJJ46CMfv2mLCbPCe6pwXDeMFff91NCc5ZFeh6l8WeILtysnUuY+vOj4sDlHm1MwQ9EVrRi8SfUZO9MwOgsDjzlMs7WCQdqdhGLBspxvxY0u1y5foeNrr/UJZh+xjM= Received: by 10.140.177.15 with SMTP id z15mr2250739rve.1193555246873; Sun, 28 Oct 2007 00:07:26 -0700 (PDT) Received: from ?192.168.18.2? ( [219.237.135.160]) by mx.google.com with ESMTPS id g39sm10057786rvb.2007.10.28.00.07.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Oct 2007 00:07:25 -0700 (PDT) Message-ID: <47243533.2040107@GMail.com> Date: Sun, 28 Oct 2007 15:07:31 +0800 User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=GB18030; format=flowed Content-Transfer-Encoding: 7bit From: Chris Chou Subject: FreeBSD 7.0 crashed when running super-smack upon PostgreSQL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 07:32:50 -0000 Dear all, FreeBSD RELENG_7.0 crashed when running super-smack benchmark test upon jailed postgresql. uname -a FreeBSD mercury 7.0-BETA1 FreeBSD 7.0-BETA1 #4: Fri Oct 26 23:49:24 CST 2007 chris@mercury:/usr/obj/usr/src/sys/MERCURY i386 I have got a dumped core, and the following backtrace: 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: Sleeping thread (tid 100100, pid 9284) owns a non-sleepable lock panic: sleeping thread Uptime: 15h3m6s Physical memory: 1011 MB Dumping 223 MB: 208 192 176 160 144 128 112 96 80 64 48 32 16 #0 doadump () at pcpu.h:195 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) backtrace #0 doadump () at pcpu.h:195 #1 0xc0612624 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0612824 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc064131b in propagate_priority (td=0xc46d6210) at /usr/src/sys/kern/subr_turnstile.c:222 #4 0xc0641cf8 in turnstile_wait (ts=0xc40b5b90, owner=0xc46d6210, queue=Variable "queue" is not available. ) at /usr/src/sys/kern/subr_turnstile.c:739 #5 0xc0606dcd in _mtx_lock_sleep (m=0xc09617ac, tid=3295513696, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:394 #6 0xc0750c64 in tcp_usr_attach (so=0xc49014a4, proto=0, td=0xc46d8c60) at /usr/src/sys/netinet/tcp_usrreq.c:1421 #7 0xc0661da4 in socreate (dom=2, aso=0xe6924c70, type=1, proto=0, cred=0xc4971900, td=0xc46d8c60) at /usr/src/sys/kern/uipc_socket.c:376 #8 0xc0667b1b in socket (td=0xc46d8c60, uap=0xe6924cfc) at /usr/src/sys/kern/uipc_syscalls.c:178 #9 0xc0873c35 in syscall (frame=0xe6924d38) at /usr/src/sys/i386/i386/trap.c:1008 #10 0xc085deb0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #11 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) The super-smack is compiled from port benchmarks/super-smack with option WITH_POSTGRESQL enabled. The Postgresql is in a jail environment, packages are postgresql-client-8.2.4 postgresql-server-8.2.4_1 The crash occurred only once, and I can not reproduce it after rebooting. Best regards, Chris Chou