From nobody Wed Oct 23 10:09:00 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XYPsQ4sKHz5b5C5 for ; Wed, 23 Oct 2024 10:09:14 +0000 (UTC) (envelope-from michael.tuexen@lurchi.franken.de) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Certum Domain Validation CA SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYPsQ2bGqz4S55; Wed, 23 Oct 2024 10:09:14 +0000 (UTC) (envelope-from michael.tuexen@lurchi.franken.de) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2003:a:e03:d412:e9aa:9ad6:b3da:9e92]) (Authenticated sender: lurchi) by mail-n.franken.de (Postfix) with ESMTPSA id 2B3FB7223D012; Wed, 23 Oct 2024 12:09:01 +0200 (CEST) Content-Type: text/plain; charset=us-ascii List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Subject: Re: panic: tcp_do_segment: sent too much From: Michael Tuexen In-Reply-To: Date: Wed, 23 Oct 2024 12:09:00 +0200 Cc: freebsd-net@freebsd.org, Warner Losh Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Peter Holm X-Mailer: Apple Mail (2.3818.100.11.1.3) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-Rspamd-Queue-Id: 4XYPsQ2bGqz4S55 X-Spamd-Bar: ---- > On 23. Oct 2024, at 09:42, Peter Holm wrote: >=20 > On Wed, Oct 23, 2024 at 08:32:05AM +0200, Michael Tuexen wrote: >>> On 23. Oct 2024, at 07:51, Peter Holm wrote: >>>=20 >>> + export 'tcpINCARNATIONS=3D16678' >>> + [ 16678 -le 0 ] >>> + export 'TESTPROGS=3D ./testcases/tcp/tcp' >>> + sleep 900 >>> + su test -c '(cd ..; ./testcases/run/run $TESTPROGS)' >>> run: run time 0+00:15:00, incarnations 1, load 100, verbose 1 >>> 23:59:21 Loop #1 >>> tcp: run time 0+00:02:00, incarnations 3202, load 100, verbose 1 >>> witness_lock_list_get: witness exhausted >>> panic: tcp_do_segment: sent too much >>> cpuid =3D 6 >>> time =3D 1729634436 >>> KDB: stack backtrace: >>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe01081bd9b0 >>> vpanic() at vpanic+0x13f/frame 0xfffffe01081bdae0 >>> panic() at panic+0x43/frame 0xfffffe01081bdb40 >>> tcp_do_segment() at tcp_do_segment+0x29a2/frame 0xfffffe01081bdc20 >>> tcp_input_with_port() at tcp_input_with_port+0x10e5/frame = 0xfffffe01081bdd70 >>> tcp_input() at tcp_input+0xb/frame 0xfffffe01081bdd80 >>> ip_input() at ip_input+0x28f/frame 0xfffffe01081bdde0 >>> swi_net() at swi_net+0x19b/frame 0xfffffe01081bde60 >>> ithread_loop() at ithread_loop+0x266/frame 0xfffffe01081bdef0 >>> fork_exit() at fork_exit+0x82/frame 0xfffffe01081bdf30 >>> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe01081bdf30 >>> --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- >>>=20 >>> Details @ https://people.freebsd.org/~pho/stress/log/log0557.txt >> Hi Peter, >>=20 >> thank you very much for the report! >> Is this reproducible? I'm CC-ing Warner, since he has also reported = this to >> me privately, but wasn't able to reproduce it. >>=20 >> Best regards >> Michael >>>=20 >=20 > Hi Michael, >=20 > I have have been able to reproduce the panic with several different > tcp stress tests (on real hardware). >=20 > Here's how to reproduce this one: >=20 > cd src/tools/test/stress2/misc > ./all.sh -o tcp.sh Thank you. I will look into this. Best regards Michael >=20 > - Peter