From owner-freebsd-current@FreeBSD.ORG Mon Feb 19 14:29:27 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8B5516A50C; Mon, 19 Feb 2007 14:29:27 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 546A013C48D; Mon, 19 Feb 2007 14:29:27 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from ednmsw501.dsto.defence.gov.au (ednmsw501.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.13.8/8.13.8) with ESMTP id l1J4cB3e023727; Mon, 19 Feb 2007 15:08:11 +1030 (CST) Received: from ednux519.dsto.defence.gov.au (unverified) by ednmsw501.dsto.defence.gov.au (Content Technologies SMTPRS 4.3.17) with ESMTP id ; Mon, 19 Feb 2007 15:16:18 +1030 Received: from fmbex510.dsto.defence.gov.au (fmbex510.dsto.defence.gov.au [131.185.134.22]) by ednux519.dsto.defence.gov.au (8.13.6+Sun/8.13.6) with ESMTP id l1J4VTHC006778; Mon, 19 Feb 2007 15:01:33 +1030 (CST) Received: from ednex510.dsto.defence.gov.au ([131.185.2.170]) by fmbex510.dsto.defence.gov.au with Microsoft SMTPSVC (6.0.3790.1830); Mon, 19 Feb 2007 15:39:12 +1100 Received: from obelix.dsto.defence.gov.au ([203.6.60.208]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC (6.0.3790.1830); Mon, 19 Feb 2007 15:08:23 +1030 Received: from obelix.dsto.defence.gov.au (localhost [127.0.0.1]) by obelix.dsto.defence.gov.au (8.13.8/8.13.8) with ESMTP id l1J4cM6O002108; Mon, 19 Feb 2007 13:38:23 +0900 (WST) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by obelix.dsto.defence.gov.au (8.13.8/8.13.8/Submit) id l1J4cIYf002104; Mon, 19 Feb 2007 13:38:18 +0900 (WST) (envelope-from wilkinsa) Date: Mon, 19 Feb 2007 13:38:18 +0900 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20070219043817.GA2039@obelix.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org, pjd@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-OriginalArrivalTime: 19 Feb 2007 04:38:24.0165 (UTC) FILETIME=[CA630D50:01C753DF] X-TM-AS-Product-Ver: SMEX-7.0.0.1526-3.6.1039-15002.001 X-TM-AS-Result: No--7.191600-8.000000-1 Cc: pjd@freebsd.org Subject: [g_bio(9) PANIC] Duplicate free of item 0xc56ee8c4 from zone 0xc185d780(g_bio) ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 14:29:27 -0000 This panic occured whilst there was was a tonne of I/O (procmail+sendmail): kern.maxfiles limit exceeded by uid 2072, please see tuning(7). kern.maxfiles limit exceeded by uid 2072, please see tuning(7). Slab at 0xc56eef70, freei 17 = 0. panic: Duplicate free of item 0xc56ee8c4 from zone 0xc185d780(g_bio) cpuid = 1 KDB: enter: panic [thread pid 18 tid 100012 ] Stopped at kdb_enter+0x32: leave db> tr Tracing pid 18 tid 100012 td 0xc430c000 kdb_enter(c09ecabf,1,c0a08052,e2d47bc4,c430c000,...) at kdb_enter+0x32 panic(c0a08052,c56ee8c4,c185d780,c09e6906,c0a0794a,...) at panic+0x191 uma_dbg_free(c185d780,0,c56ee8c4,8d9,c185f300,...) at uma_dbg_free+0x16c uma_zfree_arg(c185d780,c56ee8c4,0,e2d47c50,c06d8f3b,...) at uma_zfree_arg+0x6f g_destroy_bio(c56ee8c4,c56ee8c4,c09e5c68,c6,c6000180,...) at g_destroy_bio+0x22 g_disk_done(c56ee8c4,e2d47c78,c07517fb,c6000218,e2d47ca0,...) at g_disk_done+0x8 9 ad_done(c6000180,c09f058d,e2d47ca0,c0716a82,c437689c,...) at ad_done+0x2f ata_completed(c6000180,0,c09f058d,52,0,...) at ata_completed+0x1c7 taskqueue_run(c4376880,0,c09e9cac,30e,c09ee59f,...) at taskqueue_run+0x137 ithread_loop(c4412530,e2d47d38,c09e9a7a,328,c430bb40,...) at ithread_loop+0x211 fork_exit(c0707ec4,c4412530,e2d47d38) at fork_exit+0xab fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe2d47d6c, ebp = 0 --- db> shell>sudo kgdb kernel.debug.20070219 vmcore.0 [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: ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3351 Slab at 0xc56eef70, freei 17 = 0. panic: Duplicate free of item 0xc56ee8c4 from zone 0xc185d780(g_bio) cpuid = 1 KDB: enter: panic panic: from debugger cpuid = 1 KDB: stack backtrace: Physical memory: 1007 MB Dumping 297 MB: 282 266 250 234 218 202 186 170 154 138 122 106 90 74 58 42 26 10 #0 doadump () at pcpu.h:166 166 pcpu.h: No such file or directory. in pcpu.h (kgdb) where #0 doadump () at pcpu.h:166 #1 0xc047e576 in db_fncall (dummy1=-1066121253, dummy2=0, dummy3=-1, dummy4=0xe2d479b4 "") at /usr/src/sys/ddb/db_command.c:486 #2 0xc047e870 in db_command_loop () at /usr/src/sys/ddb/db_command.c:401 #3 0xc04805fb in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:222 #4 0xc0744c19 in kdb_trap (type=0, code=0, tf=0xe2d47b48) at /usr/src/sys/kern/subr_kdb.c:502 #5 0xc0960ea5 in trap (frame=0xe2d47b48) at /usr/src/sys/i386/i386/trap.c:621 #6 0xc0948dbb in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0x00000000 in ?? () (kgdb)- Please let me know if you need me to help dig deeper. -aW