Date: Fri, 8 Jan 2016 06:05:18 -0800 From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Subject: panic: sbappendstream 1 [head/amd64 @r293419] Message-ID: <20160108140518.GM2781@albert.catwhisker.org>
next in thread | raw e-mail | index | archive | help
--UMJVdkOQ5GAjIYsA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable After the first panic, I rebuilt the kernel without -DNO_CLEAN; the crash dump & other diagnostic info is from the clean build. January 8, 2016 at 05:57:27 AM PST FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1954 r= 293419M/293420:1100093: Fri Jan 8 05:09:57 PST 2016 root@freebeast.cat= whisker.org:/common/S4/obj/usr/src/sys/GENERIC amd64 panic: sbappendstream 1 =2E.. Unread portion of the kernel message buffer: panic: sbappendstream 1 cpuid =3D 7 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe085e059= 5b0 vpanic() at vpanic+0x182/frame 0xfffffe085e059630 kassert_panic() at kassert_panic+0x126/frame 0xfffffe085e0596a0 sbappendstream_locked() at sbappendstream_locked+0xa5/frame 0xfffffe085e059= 6d0 uipc_send() at uipc_send+0x942/frame 0xfffffe085e059780 sosend_generic() at sosend_generic+0x42f/frame 0xfffffe085e059840 kern_sendit() at kern_sendit+0x21b/frame 0xfffffe085e0598f0 sendit() at sendit+0x126/frame 0xfffffe085e059940 sys_sendmsg() at sys_sendmsg+0x61/frame 0xfffffe085e0599a0 amd64_syscall() at amd64_syscall+0x2db/frame 0xfffffe085e059ab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe085e059ab0 --- syscall (28, FreeBSD ELF64, sys_sendmsg), rip =3D 0x801270dfa, rsp =3D = 0x7fffffffa098, rbp =3D 0x7fffffffa0d0 --- KDB: enter: panic =2E.. Loaded symbols for /boot/kernel/autofs.ko #0 doadump (textdump=3D0) at pcpu.h:221 221 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=3D0) at pcpu.h:221 #1 0xffffffff8038205b in db_dump (dummy=3D<value optimized out>, dummy2=3D= false,=20 dummy3=3D0, dummy4=3D0x0) at /usr/src/sys/ddb/db_command.c:533 #2 0xffffffff80381e4e in db_command (cmd_table=3D0x0) at /usr/src/sys/ddb/db_command.c:440 #3 0xffffffff80381be4 in db_command_loop () at /usr/src/sys/ddb/db_command.c:493 #4 0xffffffff8038467b in db_trap (type=3D<value optimized out>, code=3D0) at /usr/src/sys/ddb/db_main.c:251 #5 0xffffffff80a5cfe3 in kdb_trap (type=3D3, code=3D0, tf=3D<value optimiz= ed out>) at /usr/src/sys/kern/subr_kdb.c:654 #6 0xffffffff80e6a2a8 in trap (frame=3D0xfffffe085e0594e0) at /usr/src/sys/amd64/amd64/trap.c:549 #7 0xffffffff80e4a317 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:234 #8 0xffffffff80a5c6cb in kdb_enter (why=3D0xffffffff8137af3c "panic",=20 msg=3D0x80 <Address 0x80 out of bounds>) at cpufunc.h:63 #9 0xffffffff80a1fb8f in vpanic (fmt=3D<value optimized out>,=20 ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:750 #10 0xffffffff80a1f9e6 in kassert_panic (fmt=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:647 #11 0xffffffff80aa3375 in sbappendstream_locked (sb=3D0xfffff80044212378,= =20 m=3D0xfffff800108c7200, flags=3D0) at /usr/src/sys/kern/uipc_sockbuf.c:= 642 #12 0xffffffff80ab1a42 in uipc_send (so=3D0xfffff80044212000, flags=3D0,=20 m=3D<value optimized out>, nam=3D0x0, control=3D<value optimized out>,= =20 td=3D0xfffff8001078e9a0) at /usr/src/sys/kern/uipc_usrreq.c:984 #13 0xffffffff80aa5f5f in sosend_generic (so=3D0xfffff80044212000, addr=3D0= x0,=20 uio=3D0xfffffe085e059890, top=3D<value optimized out>,=20 control=3D<value optimized out>, flags=3D<value optimized out>,=20 td=3D0xfffffe085e059880) at /usr/src/sys/kern/uipc_socket.c:1349 #14 0xffffffff80aac36b in kern_sendit (td=3D0xfffff8001078e9a0, s=3D6,=20 mp=3D<value optimized out>, flags=3D0, control=3D0x0, segflg=3DUIO_USER= SPACE) at /usr/src/sys/kern/uipc_syscalls.c:906 #15 0xffffffff80aac666 in sendit (td=3D0xfffff8001078e9a0,=20 s=3D<value optimized out>, mp=3D0xfffffe085e059958, flags=3D0) at /usr/src/sys/kern/uipc_syscalls.c:833 #16 0xffffffff80aac6f1 in sys_sendmsg (td=3D0xfffff8001078e9a0,=20 uap=3D0xfffffe085e059a40) at /usr/src/sys/kern/uipc_syscalls.c:1035 #17 0xffffffff80e6b13b in amd64_syscall (td=3D0xfffff8001078e9a0, traced=3D= 0) at subr_syscall.c:135 #18 0xffffffff80e4a5fb in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:394 #19 0x0000000801270dfa in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb)=20 =2E.... As indicated above, this is with a GENERIC kernel. My laptop (running a kernel built with the same sources, but a slightly customized kernel config) gets to the point of allowing me to login (via xdm), but when I fire off a command that creates xterms & tries to run tmux(1) in them, locks up (as far as I can tell), and a power-cycle is needed to recover. I can poke at the crash dump (given hints), make the dump and core.txt file available. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --UMJVdkOQ5GAjIYsA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWj8IeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XyQMH/j9vXCizbMkgGKrM1BmP7AO0 7yoDoXiufXSFFI13i5cYC+Ss5vNe9Boiqzh9dD9O2bNI0yXAJ5b0aEez4D3DSB5s OPjoVE75yGpfxKgfQQDc0CdPyYr4ReA+M80no2ZrdbE4lSvNfKxyPERjH2oy/2tb GKUInw2asEDvkfh53bzGfuJVibjUZFwa/NSePQV4L6iCDOZxNmjFaNxZhyQnBp6Y geaH4CjOHSoBNLgSUaVuZLXy8EtQwQa2FNH6/aOGqckwxftjy3VFSBhIdWe6DRjj 5mQTtC21FMrXjprUgz2BPLD3rAYEtgdYtYYeAXPtq9AizUsr5vaj/Sus/TapnkY= =xs9h -----END PGP SIGNATURE----- --UMJVdkOQ5GAjIYsA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160108140518.GM2781>