[ovs-discuss] segfault

Jing Su jingsu at gridcentric.com
Sun Sep 8 02:13:57 UTC 2013


I'm getting a problem with ovs-vswitchd segfaulting when I delete virtual
machines on KVM.


Linux  3.2.0-29-generic #46-Ubuntu SMP
openvswitch-1.9.0 - compiled from source

This has been happening very consistently for me, so I built a
debug-symbols version of ovs-vswitchd and attached GDB to it.  Included in
this email is backtrace.  I can provide a core dump w/ binary if it helps.

Program received signal SIGSEGV, Segmentation fault
(gdb) bt
#0  netdev_get_etheraddr (netdev=0x30, mac=0xebbd96 "") at lib/netdev.c:495
#1  0x0000000000417c43 in send_bpdu_cb (pkt=0xf01b00, port_num=3,
ofproto_=0xe8aa20) at ofproto/ofproto-dpif.c:1368
#2  0x0000000000477dd5 in stp_send_bpdu (p=0xeb04d8, bpdu=0x7fff0e6bb6d0,
bpdu_size=35) at lib/stp.c:1347
#3  0x0000000000478220 in stp_transmit_config (p=0xeb04d8) at lib/stp.c:855
#4  0x0000000000478300 in stp_config_bpdu_generation (stp=0xeb0320) at
lib/stp.c:912
#5  0x0000000000478b94 in stp_hello_timer_expiry (stp=0xeb0320) at
lib/stp.c:1154
#6  stp_tick (stp=0xeb0320, ms=<optimized out>) at lib/stp.c:306
#7  0x0000000000420f3e in stp_run (ofproto=0xe8aa20) at
ofproto/ofproto-dpif.c:1548
#8  run (ofproto_=<optimized out>) at ofproto/ofproto-dpif.c:1003
#9  0x0000000000411c2b in ofproto_run (p=0xe8aa30) at ofproto/ofproto.c:1076
#10 0x000000000040bc85 in bridge_run () at vswitchd/bridge.c:2076
#11 0x0000000000404a5c in main (argc=<optimized out>, argv=<optimized out>)
at vswitchd/ovs-vswitchd.c:126

(gdb) frame 1
#1  0x0000000000417c43 in send_bpdu_cb (pkt=0xf01b00, port_num=3,
ofproto_=0xe8aa20) at ofproto/ofproto-dpif.c:1368
1368            netdev_get_etheraddr(ofport->up.netdev, eth->eth_src);
(gdb) print ofport->up
$2 = {hmap_node = {hash = 140239219837016, next = 0xefc180}, ofproto =
0x20, netdev = 0x30, pp = {port_no = 54688, hw_addr =
"\360\000\000\000\000",
    name = "\201V\004\000\000\000\000\000c29-ca\000", config =
OFPUTIL_PC_PORT_DOWN, state = OFPUTIL_PS_LINK_DOWN, curr = 0, advertised =
0, supported = 161, peer = 0,
    curr_speed = 15824192, max_speed = 0}, ofp_port = 51064, change_seq =
32651, mtu = 2}


any help greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130907/68e6ed6d/attachment.html>


More information about the discuss mailing list