Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2014 11:50:45 -0700
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   stable/10 kassert on unlocked pipe in pipeunlock
Message-ID:  <1399315845.77984.5.camel@powernoodle.corp.yahoo.com>

next in thread | raw e-mail | index | archive | help

--=-ou/sn3prtAEjuHcd8YhB
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

not sure how $work is able to do this, but this panic floated in on the
breeze from the weekend.

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 ar=
e
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: Unlocked pipe passed to pipeunlock
cpuid =3D 3
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe048c695=
7e0
kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe048c695890
vpanic() at vpanic+0x126/frame 0xfffffe048c6958d0
kassert_panic() at kassert_panic+0x136/frame 0xfffffe048c695940
pipe_write() at pipe_write+0xa00/frame 0xfffffe048c6959f0
dofilewrite() at dofilewrite+0x85/frame 0xfffffe048c695a40
kern_writev() at kern_writev+0x65/frame 0xfffffe048c695a90
sys_write() at sys_write+0x63/frame 0xfffffe048c695ae0
ia32_syscall() at ia32_syscall+0x255/frame 0xfffffe048c695bf0
Xint0x80_syscall() at Xint0x80_syscall+0x95/frame 0xfffffe048c695bf0
--- syscall (4, FreeBSD ELF32, sys_write), rip =3D 0x22430824, rsp =3D 0xff=
ff3fd8, rbp =3D 0xffff4004 ---
Uptime: 32d1h5m4s
Dumping 1975 out of 16358 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..=
91%


------------

(kgdb) whe
#0  doadump (textdump=3D1) at pcpu.h:219
#1  0xffffffff805fb2a7 in kern_reboot (howto=3D260) at ../../../kern/kern_s=
hutdown.c:452
#2  0xffffffff805fb7b5 in vpanic (fmt=3D<value optimized out>, ap=3D<value =
optimized out>) at ../../../kern/kern_shutdown.c:759
#3  0xffffffff805fb646 in kassert_panic (fmt=3D<value optimized out>) at ..=
/../../kern/kern_shutdown.c:647
#4  0xffffffff8064fe10 in pipe_write (fp=3D0xfffff802d63445f0, uio=3D0xffff=
fe048c695ab0, active_cred=3D0x0, flags=3D0, td=3D0x0) at ../../../kern/sys_=
pipe.c:616
#5  0xffffffff8064cbc5 in dofilewrite (td=3D0xfffff801bb3ab920, fd=3D20, fp=
=3D0xfffff802d63445f0, auio=3D0xfffffe048c695ab0, offset=3D<value optimized=
 out>, flags=3D0) at file.h:303
#6  0xffffffff8064c8d5 in kern_writev (td=3D0xfffff801bb3ab920, fd=3D20, au=
io=3D0xfffffe048c695ab0) at ../../../kern/sys_generic.c:467
#7  0xffffffff8064c863 in sys_write (td=3D<value optimized out>, uap=3D<val=
ue optimized out>) at ../../../kern/sys_generic.c:382
#8  0xffffffff80a332b5 in ia32_syscall (frame=3D0xfffffe048c695c00) at subr=
_syscall.c:135
#9  0xffffffff8095cdc5 in Xint0x80_syscall () at ia32_exception.S:73
#10 0x0000000022430824 in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal


--=-ou/sn3prtAEjuHcd8YhB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABAgAGBQJTZ92FAAoJEBkJRdwI6BaHe/0IAJSaa6KEMzCPdiriYfWzoOy2
7nq72lAgvUIBBJu4Oq6r1c2qTBgJFh762IBzBl0tW1qzb5eqWSTu+f3gln8PPwin
r8oTWtCVrlTvof5f3rU3nTZWKKqBpyEuYplw0nk/okCYnQfEHKgOgULsDpIYezh3
v8CK5ydnE4EKAtzoBvQV7EYf7CtS9lFavko/KZCOqVmf6RtDUPtMI4Z8NBtMnyhY
sWb2i66C3txzILfTulwOrc33jWnmRyYZTurOeAnEbq6oMG9Qt5oAFvxF9qJBvdly
EOmRyjgfBO2iuz2wIiks4PK9MIZkc8gk5dG8HWxbafAjdDqyrSh4SKuD7ZoZR44=
=XyCB
-----END PGP SIGNATURE-----

--=-ou/sn3prtAEjuHcd8YhB--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1399315845.77984.5.camel>