From owner-freebsd-stable@FreeBSD.ORG Sun Apr 5 18:30:07 2009 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 5B5B910657C3 for ; Sun, 5 Apr 2009 18:30:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 144C58FC08 for ; Sun, 5 Apr 2009 18:30:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id CCF9F41C759; Sun, 5 Apr 2009 20:30:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id S2bpgfVQG4ZK; Sun, 5 Apr 2009 20:30:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 5C72641C751; Sun, 5 Apr 2009 20:30:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 605444448E6; Sun, 5 Apr 2009 18:27:16 +0000 (UTC) Date: Sun, 5 Apr 2009 18:27:16 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: "Blapp, Martin" In-Reply-To: <20090405163705.U15361@maildrop.int.zabbadoz.net> Message-ID: <20090405180621.F15361@maildrop.int.zabbadoz.net> References: <509A7CA1EA3EA046B1A5BA2FCFDB3C8EC764853900@TSS-EXCH01.t-systems.ch> <20090405163705.U15361@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-stable@freebsd.org" Subject: Re: FreeBSD 7.2-BETA1 tcp retransmit crash 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, 05 Apr 2009 18:30:07 -0000 On Sun, 5 Apr 2009, Bjoern A. Zeeb wrote: Hi, > On Sun, 5 Apr 2009, Blapp, Martin wrote: > > Hi Martin, > >> Looks like the same problem as PR 129197 (FreeBSD 7 panic) >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=129197 >> >> OS: FreeBSD 7.2 BETA1 >> PF: Enabled >> SACK: net.inet.tcp.sack.enable: 1 >> >> Happens after some/many soabort calls ... I can reproduce it >> after 3-4 hours running time. Currently I'm testing a workaround >> but I guess the underlying problem should be fixed. > > I had added a few assertions to HEAD last autumn to catch (possibly > different) but still same panics that I haven't MFCed yet. > > I'll try to get the list of revisions together and get you a diff. > With that I'd expect you to either hit a KASSERT or a pnic. Here's the patch of what I found was left un-MFCed: http://people.freebsd.org/~bz/20090405-mfc-r182841-r182842.diff According to your gdb output you are not getting to sbsndptr() with an invalid length so it's less likely to hit the KASSERT(). It would be interesting to see if at least the sbsndptr() patch works and gives you the panic. In that case I'd finally have a positive confirmation that those changes are right and MFC them;-) The ways I had found to hit this had been fixed a year ago and properly MFCed. This one sounds more like a race and other memory problem. What kind of patch are you testing? /bz -- Bjoern A. Zeeb The greatest risk is not taking one.