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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 14 17:54:00 UTC 2014


            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: freebsd-bugs at FreeBSD.org
          Reporter: dumbbell at FreeBSD.org

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

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, 
    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:

sbappendstream_locked(struct sockbuf *sb, struct mbuf *m, int flags)

        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:

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list