[ovs-discuss] lib/rconn.c:567: assertion version >= 0 && version <= 0xff failed in run_ACTIVE()

Ben Pfaff blp at ovn.org
Mon Dec 5 19:38:17 UTC 2016


On Mon, Dec 05, 2016 at 11:21:36AM +0800, 张东亚 wrote:
> We are now using unix stream socket (using openflowj as encoder/decoder of
> OpenFlow message) to emulate ovs-ofctl behavior,  we occasionally trigger
> the assertion above, and I have found other one have reported the same bug
> in June this year.
> 
> After I have read the code and I can now reproduce this bug manually.
> 
> The reason is that our program may not send hello packet (due to we may
> debugging which hang the JVM) quickly after the unix stream connection is
> accepted by ovs-vswitchd, then the default max timeout 5s is trigger, since
> no version is negotiated because ovs-vswitchd did not received hello yet,
> it will raise the assertion.

Thanks for the bug report.  I sent out a fix.  On the mailing list
itself, it appears to be stuck in moderation, but you were CCed so
presumably you have a copy.


More information about the discuss mailing list