FreeBSD Bugzilla – Attachment 163095 Details for
Bug 204437
10.2 STABLE Crashing with IPSec Support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
debug
debug.txt (text/plain), 5.37 KB, created by
Cassiano Peixoto
on 2015-11-13 12:53:37 UTC
(
hide
)
Description:
debug
Filename:
MIME Type:
Creator:
Cassiano Peixoto
Created:
2015-11-13 12:53:37 UTC
Size:
5.37 KB
patch
obsolete
># kgdb kernel.debug /var/crash/vmcore.0 >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 are >welcome to change it and/or distribute copies of it under certain conditions. >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: > > >Fatal trap 12: page fault while in kernel mode >cpuid = 4; apic id = 32 >fault virtual address = 0x0 >fault code = supervisor read data, page not present >instruction pointer = 0x20:0xffffffff80ac9cbe >stack pointer = 0x28:0xfffffe02ebd758b0 >frame pointer = 0x28:0xfffffe02ebd758f0 >code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 >processor eflags = interrupt enabled, resume, IOPL = 0 >current process = 12 (swi1: netisr 0) >trap number = 12 >panic: page fault >cpuid = 4 >KDB: stack backtrace: >#0 0xffffffff808fc8e0 at kdb_backtrace+0x60 >#1 0xffffffff808c0526 at vpanic+0x126 >#2 0xffffffff808c03f3 at panic+0x43 >#3 0xffffffff80d48e7b at trap_fatal+0x36b >#4 0xffffffff80d4917d at trap_pfault+0x2ed >#5 0xffffffff80d4881a at trap+0x47a >#6 0xffffffff80d2e8c2 at calltrap+0x8 >#7 0xffffffff80acaa7a at ipsec4_in_reject+0x2a >#8 0xffffffff80a73b3b at tcp_input+0x89b >#9 0xffffffff80a0484b at ip_input+0xab >#10 0xffffffff8099efb3 at swi_net+0x143 >#11 0xffffffff80890d6b at intr_event_execute_handlers+0xab >#12 0xffffffff808911b6 at ithread_loop+0x96 >#13 0xffffffff8088e8aa at fork_exit+0x9a >#14 0xffffffff80d2edfe at fork_trampoline+0xe >Uptime: 24m15s >Dumping 807 out of 12248 MB:..2%..12%..22%..32%..42%..52%..62%..72%..82%..92% > >Reading symbols from /boot/kernel/zfs.ko.symbols...done. >Loaded symbols for /boot/kernel/zfs.ko.symbols >Reading symbols from /boot/kernel/opensolaris.ko.symbols...done. >Loaded symbols for /boot/kernel/opensolaris.ko.symbols >Reading symbols from /boot/kernel/if_lagg.ko.symbols...done. >Loaded symbols for /boot/kernel/if_lagg.ko.symbols >Reading symbols from /boot/kernel/coretemp.ko.symbols...done. >Loaded symbols for /boot/kernel/coretemp.ko.symbols >Reading symbols from /boot/modules/plcm.ko...done. >Loaded symbols for /boot/modules/plcm.ko >Reading symbols from /boot/kernel/ums.ko.symbols...done. >Loaded symbols for /boot/kernel/ums.ko.symbols >#0 doadump (textdump=<value optimized out>) at pcpu.h:219 >219 __asm("movq %%gs:%1,%0" : "=r" (td) >(kgdb) list *0xffffffff80ac9cbe >0xffffffff80ac9cbe is in ipsec_getpolicybysock (/usr/src/sys/netipsec/ipsec.c:502). >497 IPSEC_ASSERT(inp != NULL, ("null inp")); >498 IPSEC_ASSERT(inp->inp_sp != NULL, ("null inp_sp")); >499 IPSEC_ASSERT(inp->inp_sp->sp_out != NULL && inp->inp_sp->sp_in != NULL, >500 ("null sp_in || sp_out")); >501 >502 error = ipsec_setspidx(m, &inp->inp_sp->sp_in->spidx, 1); >503 if (error == 0) { >504 inp->inp_sp->sp_in->spidx.dir = IPSEC_DIR_INBOUND; >505 inp->inp_sp->sp_out->spidx = inp->inp_sp->sp_in->spidx; >506 inp->inp_sp->sp_out->spidx.dir = IPSEC_DIR_OUTBOUND; >Current language: auto; currently minimal >(kgdb) f 7 >#7 0xffffffff80d2e8c2 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 >236 call trap >Current language: auto; currently asm >(kgdb) p *inp >No symbol "inp" in current context. >(kgdb) f 8 >#8 0xffffffff80ac9cbe in ipsec_getpolicybysock (m=0xfffff80104139a00, dir=1, inp=0xfffff802b8f0ac40, error=0xfffffe02ebd75904) at /usr/src/sys/netipsec/ipsec.c:502 >502 error = ipsec_setspidx(m, &inp->inp_sp->sp_in->spidx, 1); >Current language: auto; currently minimal >(kgdb) p *inp >$1 = {inp_hash = {le_next = 0x0, le_prev = 0xfffff802bc6c4dc8}, inp_pcbgrouphash = {le_next = 0x0, le_prev = 0x0}, inp_list = {le_next = 0xfffff802b58ac930, > le_prev = 0xfffff802bc6c4de8}, inp_ppcb = 0x0, inp_pcbinfo = 0xffffffff81609b18, inp_pcbgroup = 0x0, inp_pcbgroup_wild = {le_next = 0x0, le_prev = 0x0}, inp_socket = 0x0, > inp_cred = 0xfffff80023116400, inp_flow = 0, inp_flags = 75497536, inp_flags2 = 16, inp_vflag = 0 '\0', inp_ip_ttl = 64 '@', inp_ip_p = 0 '\0', inp_ip_minttl = 0 '\0', > inp_flowid = 0, inp_refcount = 1, inp_pspare = {0x0, 0x0, 0x0, 0x0, 0x0}, inp_flowtype = 0, inp_ispare = {0, 0, 0, 0, 0}, inp_inc = {inc_flags = 0 '\0', inc_len = 0 '\0', > inc_fibnum = 0, inc_ie = {ie_fport = 16389, ie_lport = 43128, ie_dependfaddr = {ie46_foreign = {ia46_pad32 = {0, 0, 0}, ia46_addr4 = {s_addr = 16777343}}, ie6_foreign = { > __u6_addr = {__u6_addr8 = '\0' <repeats 12 times>, "\177\000\000\001", __u6_addr16 = {0, 0, 0, 0, 0, 0, 127, 256}, __u6_addr32 = {0, 0, 0, 16777343}}}}, > ie_dependladdr = {ie46_local = {ia46_pad32 = {0, 0, 0}, ia46_addr4 = {s_addr = 16777343}}, ie6_local = {__u6_addr = { > __u6_addr8 = '\0' <repeats 12 times>, "\177\000\000\001", __u6_addr16 = {0, 0, 0, 0, 0, 0, 127, 256}, __u6_addr32 = {0, 0, 0, 16777343}}}}}}, inp_label = 0x0, > inp_sp = 0x0, inp_depend4 = {inp4_ip_tos = 0 '\0', inp4_options = 0x0, inp4_moptions = 0x0}, inp_depend6 = {inp6_options = 0x0, inp6_outputopts = 0x0, inp6_moptions = 0x0, > inp6_icmp6filt = 0x0, inp6_cksum = 0, inp6_hops = 0}, inp_portlist = {le_next = 0x0, le_prev = 0xfffff802afbe6b70}, inp_phd = 0xfffff802afbe6b60, inp_gencnt = 1259281, > inp_lle = 0x0, inp_rt = 0x0, inp_lock = {lock_object = {lo_name = 0xffffffff80fd1801 "tcpinp", lo_flags = 90898432, lo_data = 0, lo_witness = 0x0}, > rw_lock = 18446735277678684480}} >(kgdb) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 204437
: 163095 |
163350