From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 20:59:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EB6816A4CE for ; Tue, 24 Aug 2004 20:59:28 +0000 (GMT) Received: from av7-1-sn4.m-sp.skanova.net (av7-1-sn4.m-sp.skanova.net [81.228.10.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E9FD43D53 for ; Tue, 24 Aug 2004 20:59:27 +0000 (GMT) (envelope-from pawel.worach@telia.com) Received: by av7-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id D4D5C37E8E; Tue, 24 Aug 2004 22:59:26 +0200 (CEST) Received: from smtp2-2-sn4.m-sp.skanova.net (smtp2-2-sn4.m-sp.skanova.net [81.228.10.182]) by av7-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id C175437E45 for ; Tue, 24 Aug 2004 22:59:26 +0200 (CEST) Received: from corona.sajd.net (h80n2fls31o265.telia.com [217.208.189.80]) by smtp2-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 990CE37E49 for ; Tue, 24 Aug 2004 22:59:26 +0200 (CEST) Received: from [127.0.0.1] (sajd@localhost [127.0.0.1]) by corona.sajd.net (8.13.1/8.13.1) with ESMTP id i7OKxMPn004852 for ; Tue, 24 Aug 2004 22:59:24 +0200 (CEST) (envelope-from pawel.worach@telia.com) Message-ID: <412BAC2A.8000303@telia.com> Date: Tue, 24 Aug 2004 22:59:22 +0200 From: Pawel Worach User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040815) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: panic: key_delsp: called with positive refcnt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 24 Aug 2004 20:59:28 -0000 Hi, Got this panic when running the "net" program from Peter Holm's stress test suite (http://www.holm.cc/stress/src/). Reproducable every time. FreeBSD 6.0-CURRENT #0: Tue Aug 24 19:53:18 CEST 2004 Kernel config has IPSEC and ALTQ, none of which is configured (no pf rules and no IPSec spd). Four way SMP box with debug.mpsafenet=1. panic: key_delsp: called with positive refcnt cpuid = 3 KDB: stack backtrace: kdb_backtrace(c06ed976,3,c06e2fd5,f80f1a74,c072a710) at kdb_backtrace+0x2e panic(c06e2fd5,c072fc7c,c263c600,0,c2884654) at panic+0x139 key_delsp(c263c600,c263c600,c2886654,c263c600,f80f1ac0) at key_delsp+0x32 key_freesp(c263c600,2,c2886654,f80f1ab4,0) at key_freesp+0x5e ipsec4_hdrsiz(c2ae4e00,2,c2886654,2,c0520001) at ipsec4_hdrsiz+0xb8 ipsec_hdrsiz_tcp(c2888e00,c,c27855ec,c2785540,f80f1b4c) at ipsec_hdrsiz_tcp+0xd8 tcp_output(c2888e00,c2783840,0,0,0) at tcp_output+0x9cf tcp_usr_rcvd(c2884654,0,f80f1c7c,0,0) at tcp_usr_rcvd+0x14b soreceive(c2884654,0,f80f1c7c,0,0) at soreceive+0xc6a soo_read(c26c8770,f80f1c7c,c28d5c00,0,c2783840) at soo_read+0x93 dofileread(c2783840,c26c8770,4,bfbfe730,400) at dofileread+0xac read(c2783840,f80f1d14,c,c2783840,f80f1d3c) at read+0x6b syscall(c068002f,2f,2f,bfbfe730,4) at syscall+0x330 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (3, FreeBSD ELF32, read), eip = 0x280ca59f, esp = 0xbfbfe6fc, ebp = 0xbfbfeb68 --- boot() called on cpu#3 Uptime: 53m31s Dumping 1023 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848[CTRL-C to abort] [CTRL-C to abort] 864 880 896 912 928 944 960 976 992 1008 Dump complete Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... cpu_reset called on cpu#3 cpu_reset: Stopping other CPUs cpu_reset: Restarting BSP cpu_reset_proxy: Stopped CPU 3 -- Pawel