> Daniel, can you suggest a way to reproduce the problem? I have found that the crash can be reproduced using the following commands in my setup:
ovs-vsctl add-br management ovs-vsctl set bridge management rstp_enable=true ovs-vsctl add-port management base1 ovs-vsctl add-port management base2 sleep 2 ovs-vsctl del-port management base1 ovs-vsctl add-port management base1 ovs-vsctl del-port management base2 ovs-vsctl add-port management base2 I also keep seeing the following message at various stages during system boot-up: "openvswitch: netlink: Key attribute has unexpected length (type=21, length=4, expected=0)." Is that something I should be concerned about? -----Original Message----- From: Ben Pfaff [mailto:b...@nicira.com] Sent: 2015-09-29 20:55 To: Daniele Venturino; Daniel Swahn; Jarno Rajahalme Cc: discuss@openvswitch.org Subject: Re: [ovs-discuss] RSTP crash in Open vSwitch Please don't drop the mailing list. Daniel, can you suggest a way to reproduce the problem? On Tue, Sep 29, 2015 at 02:19:14PM +0200, Daniele Venturino wrote: > I’m not sure. > What’s the easiest way to replicate this? > > Daniele > > > Il giorno 29/set/2015, alle ore 06:13, Ben Pfaff <b...@nicira.com> ha > > scritto: > > > > On Wed, Sep 23, 2015 at 11:31:31AM +0000, Daniel Swahn wrote: > >> (gdb) frame 0 > >> #0 0x00000000004291ca in rstp_run (ofproto=<optimized out>, > >> ofproto=<optimized out>) at ofproto/ofproto-dpif.c:2278 > >> 2278 bundle_move(((struct ofport_dpif > >> *)rstp_get_old_root_aux(ofproto->rstp))->bundle, > > > > Thanks for the report. > > > > Jarno and Daniele, the code around line 2278 in v2.4.0 is this: > > > > if (rstp_shift_root_learned_address(ofproto->rstp)) { > > bundle_move(((struct ofport_dpif > > *)rstp_get_old_root_aux(ofproto->rstp))->bundle, > > ((struct ofport_dpif > > *)rstp_get_new_root_aux(ofproto->rstp))->bundle); > > rstp_reset_root_changed(ofproto->rstp); > > } > > > > Looking at lib/rstp*.[ch], I see some code that sets 'old_root_aux' > > and 'new_root_aux'. I don't see any code that clears them or > > updates them if something happens to invalidate them (that is, if a > > port gets deleted or if its aux gets updated). I suspect that this > > may be the problem here. > > > > Jarno or Daniele, can you confirm this? > _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss