Date: Tue, 01 Aug 2017 15:04:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221151] panic: tdsendsignal(): invalid signal 0 Message-ID: <bug-221151-8-R3JgMtQ95l@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221151-8@https.bugs.freebsd.org/bugzilla/> References: <bug-221151-8@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=3D221151 --- Comment #2 from Nils Beyer <nbe@renzel.net> --- (In reply to Konstantin Belousov from comment #1) > Can you provide the minimal test case which reproduces this issue ? It m= ight depend on the kernel configuration. - install FreeBSD 11.1-RELEASE (amd64) incl. ports tree - apply patch https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D184876 to ports tree - sysctl security.bsd.map_at_zero=3D1 - pkg install python - pkg install make - cd /usr/ports/security/sandsifter - make - cd work/sandsifter-dff63246fed84d90118441b8ba5b5d3bdd094427 - edit "siftper.py" - shebang line to "#!/usr/bin/env python" - ./sifter.py --unk --dis --len --sync --tick --save -- -P1 -t -j8 it will eventually crash. > With the core dump you get, load it into kgdb and print out the trap fram= e by doing > frame 7 > p/x *frame ---------------------------------------------------------------------------= --- root@capetown:/var/crash/#kgdb -c vmcore.0 /usr/lib/debug/boot/kernel/kernel.debug GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: panic: tdsendsignal(): invalid signal 0 cpuid =3D 3 KDB: stack backtrace: #0 0xffffffff80aada97 at kdb_backtrace+0x67 #1 0xffffffff80a6bb76 at vpanic+0x186 #2 0xffffffff80a6b9e3 at panic+0x43 #3 0xffffffff80a71bbd at tdsendsignal+0xcbd #4 0xffffffff80a70be4 at trapsignal+0x184 #5 0xffffffff80edf3cd at trap+0x58d #6 0xffffffff80ec3671 at calltrap+0x8 Uptime: 5h3m50s Dumping 903 out of 16282 MB:..2%..11%..22%..31%..41%..52%..61%..71%..82%..9= 1% Reading symbols from /usr/lib/debug/boot/kernel/zfs.ko.debug...done. Loaded symbols for /usr/lib/debug/boot/kernel/zfs.ko.debug Reading symbols from /usr/lib/debug/boot/kernel/opensolaris.ko.debug...done. Loaded symbols for /usr/lib/debug/boot/kernel/opensolaris.ko.debug Reading symbols from /usr/lib/debug/boot/kernel/uhid.ko.debug...done. Loaded symbols for /usr/lib/debug/boot/kernel/uhid.ko.debug Reading symbols from /usr/lib/debug/boot/kernel/pflog.ko.debug...done. Loaded symbols for /usr/lib/debug/boot/kernel/pflog.ko.debug Reading symbols from /usr/lib/debug/boot/kernel/pf.ko.debug...done. Loaded symbols for /usr/lib/debug/boot/kernel/pf.ko.debug #0 doadump (textdump=3D<value optimized out>) at pcpu.h:222 222 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump (textdump=3D<value optimized out>) at pcpu.h:222 #1 0xffffffff80a6b6f1 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:366 #2 0xffffffff80a6bbb0 in vpanic (fmt=3D<value optimized out>, ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff80a6b9e3 in panic (fmt=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:690 #4 0xffffffff80a71bbd in tdsendsignal (p=3D<value optimized out>, td=3D<va= lue optimized out>, sig=3D<value optimized out>, ksi=3D<value optimized out>) at /usr/src/sys/kern/kern_sig.c:2137 #5 0xffffffff80a70be4 in trapsignal (td=3D<value optimized out>, ksi=3D<va= lue optimized out>) at /usr/src/sys/kern/kern_sig.c:2021 #6 0xffffffff80edf3cd in trap (frame=3D0xfffffe0466890ac0) at /usr/src/sys/amd64/amd64/trap.c:578 #7 0xffffffff80ec3671 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #8 0x000000080121e000 in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb) frame 6 #6 0xffffffff80edf3cd in trap (frame=3D0xfffffe0466890ac0) at /usr/src/sys/amd64/amd64/trap.c:578 578 trapsignal(td, &ksi); (kgdb) p/x *frame $1 =3D {tf_rdi =3D 0x0, tf_rsi =3D 0x0, tf_rdx =3D 0x0, tf_rcx =3D 0x0, tf_= r8 =3D 0x0, tf_r9 =3D 0x0, tf_rax =3D 0x0, tf_rbx =3D 0x0, tf_rbp =3D 0x0, tf_r10 =3D 0= x0, tf_r11 =3D 0x0, tf_r12 =3D 0x0,=20 tf_r13 =3D 0x0, tf_r14 =3D 0x0, tf_r15 =3D 0x0, tf_trapno =3D 0x20, tf_fs= =3D 0x13, tf_gs =3D 0x1b, tf_addr =3D 0x0, tf_flags =3D 0x1, tf_es =3D 0x3b, tf_ds = =3D 0x3b, tf_err =3D 0x0,=20 tf_rip =3D 0x80121e000, tf_cs =3D 0x43, tf_rflags =3D 0x302, tf_rsp =3D 0= x866800, tf_ss =3D 0x3b} ---------------------------------------------------------------------------= --- --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221151-8-R3JgMtQ95l>