From owner-freebsd-net@freebsd.org Mon Aug 5 06:58:00 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2027BB964 for ; Mon, 5 Aug 2019 06:58:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4627rS4qS2z4Jfl for ; Mon, 5 Aug 2019 06:58:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A3BAEBB963; Mon, 5 Aug 2019 06:58:00 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A254DBB962 for ; Mon, 5 Aug 2019 06:58:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4627rS3l0Lz4Jfj for ; Mon, 5 Aug 2019 06:58:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E694180A3 for ; Mon, 5 Aug 2019 06:58:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x756w0xC047446 for ; Mon, 5 Aug 2019 06:58:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x756w0J3047445 for net@FreeBSD.org; Mon, 5 Aug 2019 06:58:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238520] [sctp] Fatal trap 9: general protection fault while in kernel mode Date: Mon, 05 Aug 2019 06:58:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic, stress2 X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pho@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2019 06:58:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238520 --- Comment #3 from Peter Holm --- To reproduce the problem run the https://people.freebsd.org/~pho/setup.sh script like this: root@t2:~pho/stress2/tools # ./setup.sh Enter non-root test user name: stress Extracting stress2 to /tmp/work Tests to run are in /tmp/work/stress2/misc. To run all tests, type ./all.sh -on To run for example all tmpfs tests, type ./all.sh -on `grep -l tmpfs *.sh` To run fdatasync.sh for one hour, type ./all.sh -m 60 fdatasync.sh root@t2:~pho/stress2/tools # cd /tmp/work/stress2/misc root@t2:/tmp/work/stress2/misc # ./all.sh -a sctp.sh Note: including known problem tests. 20190805 07:18:26 all: sctp.sh 20190805 07:18:26 all (1/1): sctp.sh swap: run time 0+00:01:00, incarnations 16, load 100, verbose 1 20190805 07:19:40 all: sctp.sh : 20190805 08:35:17 all: sctp.sh 20190805 08:35:17 all (1/1): sctp.sh swap: run time 0+00:01:00, incarnations 17, load 100, verbose 1 Fatal trap 9: general protection fault while in kernel mode cpuid =3D 22; apic id =3D 2a instruction pointer =3D 0x20:0xffffffff80bae898 stack pointer =3D 0x28:0xfffffe00cd308710 frame pointer =3D 0x28:0xfffffe00cd308790 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 42445 (server) trap number =3D 9 panic: general protection fault cpuid =3D 22 time =3D 1564986950 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00cd308= 420 vpanic() at vpanic+0x19d/frame 0xfffffe00cd308470 panic() at panic+0x43/frame 0xfffffe00cd3084d0 trap_fatal() at trap_fatal+0x39c/frame 0xfffffe00cd308530 trap() at trap+0x6c/frame 0xfffffe00cd308640 calltrap() at calltrap+0x8/frame 0xfffffe00cd308640 --- trap 0x9, rip =3D 0xffffffff80bae898, rsp =3D 0xfffffe00cd308710, rbp = =3D 0xfffffe00cd308790 --- __mtx_lock_sleep() at __mtx_lock_sleep+0xf8/frame 0xfffffe00cd308790 __mtx_lock_flags() at __mtx_lock_flags+0xee/frame 0xfffffe00cd3087e0 sctp_accept() at sctp_accept+0x517/frame 0xfffffe00cd308850 soaccept() at soaccept+0xa3/frame 0xfffffe00cd308880 kern_accept4() at kern_accept4+0x27a/frame 0xfffffe00cd308920 accept1() at accept1+0xf1/frame 0xfffffe00cd308980 amd64_syscall() at amd64_syscall+0x2d6/frame 0xfffffe00cd308ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe00cd308ab0 --- syscall (30, FreeBSD ELF64, sys_accept), rip =3D 0x8003a4b0a, rsp =3D 0x7fffffffe318, rbp =3D 0x7fffffffe800 --- KDB: enter: panic [ thread pid 42445 tid 100596 ] Stopped at kdb_enter+0x3b: movq $0,kdb_why db> x/s version version: FreeBSD 13.0-CURRENT #1 r350555: Sat Aug 3 15:50:17 CEST 2019\012 pho@t2.osted.lan:/usr/src/sys/amd64/compile/PHO\012 db> --=20 You are receiving this mail because: You are on the CC list for the bug.=