[Bug 228562] ifa_ifwithnet: general protection fault while in kernel mode

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 28 12:11:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228562

            Bug ID: 228562
           Summary: ifa_ifwithnet: general protection fault while in
                    kernel mode
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: eadler at FreeBSD.org

#0  __curthread () at ./machine/pcpu.h:231
        td = <optimized out>
#1  doadump (textdump=0) at /usr/src/sys/kern/kern_shutdown.c:366
        error = <error reading variable error (Cannot access memory at address
0x0)>
        coredump = <optimized out>
#2  0xffffffff804350bb in db_dump (dummy=<optimized out>, dummy2=<unavailable>, 
    dummy3=<unavailable>, dummy4=<unavailable>) at
/usr/src/sys/ddb/db_command.c:574
        error = <optimized out>
#3  0xffffffff80434e7d in db_command (last_cmdp=<optimized out>, 
    cmd_table=<optimized out>, dopager=<optimized out>)
    at /usr/src/sys/ddb/db_command.c:481
        modif =           ""
        have_addr = false
        t = <optimized out>
        result = <optimized out>
        cmd = 0xffffffff81a5ce20 <db_cmds+480>
        addr = <unavailable>
        count = <unavailable>
#4  0xffffffff80434c14 in db_command_loop () at
/usr/src/sys/ddb/db_command.c:534
No locals.
#5  0xffffffff80437dff in db_trap (type=<optimized out>, code=<optimized out>)
    at /usr/src/sys/ddb/db_main.c:252
        jb =           {{
            _jb =               {-2194903306096,
              -2194903306104,
              -2194903305968,
              -2115128448,
              -2119837784,
              0,
              9,
              -2143060599,
              -2194903306000,
              -2140630981,
              -2116086448,
              0}
          }}
        bkpt = false
        watchpt = false
        prev_jb = 0x0
        why = <optimized out>
#6  0xffffffff80ba3923 in kdb_trap (type=9, code=0, tf=<optimized out>)
    at /usr/src/sys/kern/subr_kdb.c:697
        be = 0xffffffff81a5d7a8 <ddb_dbbe>
        intr = 582
        did_stop_cpus = <error reading variable did_stop_cpus (Cannot access
memory at address 0x1)>
        handled = <optimized out>
        other_cpus = <optimized out>
#7  0xffffffff8101fbef in trap_fatal (frame=0xfffffe00f59172f0, eva=<optimized
out>)
    at /usr/src/sys/amd64/amd64/trap.c:883
        code = <optimized out>
        softseg = {
          ssd_base = 0, 
          ssd_limit = 1048575, 
          ssd_type = 27, 
          ssd_dpl = 0, 
          ssd_p = 1, 
          ssd_long = 1, 
          ssd_def32 = 0, 
          ssd_gran = 1
        }
        msg = <optimized out>
        ss = 40
        type = <optimized out>
        handled = <optimized out>
#8  0xffffffff8101f13d in trap (frame=0xfffffe00f59172f0)
    at /usr/src/sys/amd64/amd64/trap.c:203
        td = 0xfffff8021d8b3000
        dr6 = <error reading variable dr6 (Cannot access memory at address
0x0)>
        addr = <error reading variable addr (Cannot access memory at address
0x0)>
        ucode = <error reading variable ucode (Cannot access memory at address
0x0)>
        signo = <error reading variable signo (Cannot access memory at address
0x0)>
        p = <optimized out>
        type = 9
        ksi = <optimized out>
#9  <signal handler called>
No locals.
#10 0xffffffff80c58db1 in ifa_ifwithnet (addr=0xfffff8009847b4a8, ignore_ptp=0, 
    fibnum=<optimized out>) at /usr/src/sys/net/if.c:2057
        cp3 = <optimized out>
        cp = <optimized out>
        cp2 = <optimized out>
        ifp = 0xfffff8007d99c800
        ifa = 0xfffff800a21d7c00
        ifa_maybe = 0xfffff800a21d7c00
        cplim = <optimized out>
        af = <optimized out>
        addr_data = <optimized out>
#11 0xffffffff80c836c3 in ifa_ifwithroute (flags=2051, dst=0xfffff8009847b498, 
    gateway=0xfffff8009847b4a8, fibnum=0) at /usr/src/sys/net/route.c:755
        ifa = 0x0
#12 0xffffffff80c841b1 in rt_getifa_fib (info=0xfffffe00f5917580,
fibnum=<optimized out>)
    at /usr/src/sys/net/route.c:1303
        error = <optimized out>
        ifa = <optimized out>
#13 0xffffffff80c82cef in rtrequest1_fib (req=<optimized out>,
info=0xfffffe00f5917580, 
    ret_nrt=<optimized out>, fibnum=0) at /usr/src/sys/net/route.c:1586
        error = <error reading variable error (Cannot access memory at address
0x2d)>
        rnh = 0xfffff8007d9f3a00
        rt = <optimized out>
        ndst = <optimized out>
        ifa = <optimized out>
        rn = <optimized out>
        rt_old = <optimized out>
        mdst = <optimized out>
#14 0xffffffff80c87f44 in route_output (m=<optimized out>,
so=0xfffff80147008358)
    at /usr/src/sys/net/rtsock.c:693
        saf = 2 '\002'
        error = <error reading variable error (Cannot access memory at address
0x3)>
        alloc_len = 1024
        fibnum = 0
        len = <optimized out>
        rtm = <optimized out>
        rp = <optimized out>
        i = <error reading variable i (Cannot access memory at address 0x7)>
        sin6 = 0x80
        info = {
          rti_addrs = 7, 
          rti_flags = 2051, 
          rti_info =             {0xfffff8009847b498,
            0xfffff8009847b4a8,
            0xfffff8009847b4b8,
            0x0,
            0x0,
            0x0,
            0x0,
            0x0}, 
          rti_ifa = 0x0, 
          rti_ifp = 0x0, 
          rti_filter = 0x0, 
          rti_filterdata = 0x0, 
          rti_mflags = 0, 
          rti_spare = 0, 
          rti_rmx = 0xfffff8009847b428
        }
        rnh = <optimized out>
        rt = 0xffffffff80e8073c <uma_dbg_alloc+236>
        ifp = <optimized out>
        w = <optimized out>
        ss = <optimized out>
        saun = <optimized out>
#15 0xffffffff80bf6517 in sosend_generic (so=0xfffff80147008358, addr=0x0, 
    uio=0xfffffe00f5917940, top=0xdeadc0dedeadc0de, control=0xfffff8009848b000,
flags=0, 
    td=0xfffff8021d8b3000) at /usr/src/sys/kern/uipc_socket.c:1575
        clen = 0
        resid = <optimized out>
        error = <optimized out>
        space = 7992
        dontroute = <optimized out>
        atomic = <optimized out>
#16 0xffffffff80bf674d in sosend (so=0xfffff8009848b0bf, addr=0x7, 
    uio=0xfffff8009848b0bf, top=0xfffff8009848b0b8, control=0x0, flags=0, 
    td=0xfffff8021d8b3000) at /usr/src/sys/kern/uipc_socket.c:1621
        saved_vnet = 0x0
        error = <optimized out>
#17 0xffffffff80bd18b2 in soo_write (fp=<optimized out>,
uio=0xfffffe00f5917940, 
    active_cred=<optimized out>, flags=<optimized out>, td=<optimized out>)
    at /usr/src/sys/kern/sys_socket.c:148
        so = 0xfffff80147008358
        error = 0
#18 0xffffffff80bc8c17 in fo_write (fp=<optimized out>, uio=<optimized out>, 
    active_cred=0xfffff8009848b0bf, flags=<optimized out>, td=<optimized out>)
    at /usr/src/sys/sys/file.h:309
No locals.
#19 dofilewrite (td=0xfffff8021d8b3000, fd=3, fp=0xfffff800987ae820, 
    auio=0xfffffe00f5917940, offset=<optimized out>, flags=0)
    at /usr/src/sys/kern/sys_generic.c:567
        cnt = 200
        ktruio = 0x0
        error = <optimized out>
#20 0xffffffff80bc883a in kern_writev (td=0xfffff8021d8b3000, fd=3, 
    auio=0xfffffe00f5917940) at /usr/src/sys/kern/sys_generic.c:491
        fp = 0xfffff8009848b0bf
        error = 0
#21 0xffffffff80bc87e6 in sys_write (td=0xfffff8009848b0bf, uap=<optimized
out>)
    at /usr/src/sys/kern/sys_generic.c:406
        auio = {
          uio_iov = 0xfffffe00f5917970, 
          uio_iovcnt = 1, 
          uio_offset = 199, 
          uio_resid = 0, 
          uio_segflg = UIO_USERSPACE, 
          uio_rw = UIO_WRITE, 
          uio_td = 0xfffff8021d8b3000
        }
        error = <optimized out>
        aiov = <optimized out>
#22 0xffffffff810205fc in syscallenter (td=0xfffff8021d8b3000)
    at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:135
        p = 0xfffff800036e6538
        error = <optimized out>
        sa = 0xfffff8021d8b33b0
        traced = <optimized out>
#23 amd64_syscall (td=0xfffff8021d8b3000, traced=0)
    at /usr/src/sys/amd64/amd64/trap.c:1006
        ksi = <optimized out>
        error = <optimized out>
#24 <signal handler called>
No locals.
#25 0x00000008003fc6ea in ?? ()
No symbol table info available.
Backtrace stopped: Cannot access memory at address 0x7fffffffd8b8

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


More information about the freebsd-bugs mailing list