Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Aug 2019 06:58:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 238520] [sctp] Fatal trap 9: general protection fault while in kernel mode
Message-ID:  <bug-238520-7501-Xdr0K3Ne8Y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238520-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238520-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238520

--- Comment #3 from Peter Holm <pho@FreeBSD.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238520-7501-Xdr0K3Ne8Y>