[ovs-discuss] ovs-vswitchd crashing lib/rconn.c:568 ovs_assert(version >= 0 && version <= 0xff);

Ben Pfaff blp at ovn.org
Tue May 31 14:30:44 UTC 2016


On Tue, May 31, 2016 at 08:01:31PM +0800, frankzfz wrote:
> Hi all:
>     I have some instances running on OVS and the ovs-vswitchd process have been crashing for me:
>   I've got this on the kernel log:
> ovs-vswitchd: ovs|582316|util|EMER|lib/rconn.c:568: assertion version >= 0 && version <= 0xff failed in run_ACTIVE()
> Gdb debugger found the following problems:
> p *rc->vconn $13 = { class = 0x51f600, state = 2, error = 0, allowed_versions = 16, peer_versions = 0, version = 0, recv_any_version = false, name = 0x39a1c10 "unix" }
>      Struct vconn member variable version is 0, in vconn_get_version functions returns -1 ,
> int
> vconn_get_version(const struct vconn *vconn)
> {
>     return vconn->version ? vconn->version : -1;
> }
> 
> 
> The following code is executed:
> ovs_assert(version >= 0 && version <= 0xff);
> So lead to ovs-vswitchd crashing.
> This question is similar: http://openvswitch.org/pipermail/discuss/2015-January/016342.html
> 
> 
> This question has been whether the solutions?

How are you triggering the problem?  What version of Open vSwitch is
this?



More information about the discuss mailing list