Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 195971] New: Trap 12: page fault, in sbappendstream_locked()

0 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Dec 14, 2014, 12:54:07 PM12/14/14
to freebs...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195971

Bug ID: 195971
Summary: Trap 12: page fault, in sbappendstream_locked()
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebs...@FreeBSD.org
Reporter: dumb...@FreeBSD.org

Created attachment 150577
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150577&action=edit
core.txt

I had a panic while using VirtualBox. core.txt is attached. I have the full
core dump available.

I just paste here what seems to be the most relevant part of the backtrace:

#8 0xffffffff809d1bed in sbappendstream_locked (sb=0xfffff8019920dd30,
m=0x0, flags=0)
at /home/dumbbell/Projects/freebsd/src/GIT/sys/kern/uipc_sockbuf.c:641
#9 0xffffffff809d1cac in sbappendstream (sb=0xfffff8019920dd30, m=0x4,
flags=-2130627098)
at /home/dumbbell/Projects/freebsd/src/GIT/sys/kern/uipc_sockbuf.c:667
#10 0xffffffff80b118ab in tcp_usr_send (so=0xfffff8019920dba0, flags=0,
m=0x0, nam=0x0, control=<value optimized out>, td=0xfffff800c02074a0)
at /home/dumbbell/Projects/freebsd/src/GIT/sys/netinet/tcp_usrreq.c:850

m is NULL, which is unexpected to the following code:

void
sbappendstream_locked(struct sockbuf *sb, struct mbuf *m, int flags)
{
SOCKBUF_LOCK_ASSERT(sb);

KASSERT(m->m_nextpkt == NULL,("sbappendstream 0"));
KASSERT(sb->sb_mb == sb->sb_lastrecord,("sbappendstream 1"));

Note that the panic occurs on line 641, which corresponds to:
SOCKBUF_LOCK_ASSERT(sb);

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs...@freebsd.org"

bugzilla...@freebsd.org

unread,
Dec 14, 2014, 1:01:11 PM12/14/14
to freebs...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195971

--- Comment #1 from Jean-Sebastien Pedron <dumb...@FreeBSD.org> ---
As I use a Git checkout, the Subversion revision doesn't appear: it corresponds
to r275576 for both world and kernel.

bugzilla...@freebsd.org

unread,
Dec 14, 2014, 1:11:35 PM12/14/14
to freebs...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195971

--- Comment #2 from Jean-Sebastien Pedron <dumb...@FreeBSD.org> ---
The panic seems reproducible.

I try to install Debian Wheezy in VirtualBox. The panic occurs as soon as I hit
"Continue" on the HTTP proxy dialog (after choosing the package mirror). I'll
investigate a bit and report back.

Some more informations:
o VirtualBox is 4.3.20_2 installed from a binary package
o Debian ISO is debian-7.7.0-amd64-netinst.iso

bugzilla...@freebsd.org

unread,
Mar 11, 2015, 4:27:51 PM3/11/15
to freebs...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195971

Jean-Sebastien Pedron <dumb...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|New |Closed

--- Comment #3 from Jean-Sebastien Pedron <dumb...@FreeBSD.org> ---
This was fixed in r275955.
0 new messages