[ovs-discuss] Crash in openvswitch 2.0.2

James Page james.page at ubuntu.com
Tue Apr 7 18:20:08 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Marco

On 07/04/15 10:33, Marco Kuendig wrote:
> got another crash today with the optimisation disabled package:
> 
> here the backtrace (at the end is the one with the debug symbols)

Hmm - looks like the same backtrace to me; so maybe this not an
optimizer problem after all.

Would you be willing to try to reproduce on the newer 3.16 HWE kernel
on 14.04 (linux-image-hwe-generic-trusty)? I have a hypothesis on what
might be causing this issue, but I've not been able to prove it yet
and the 3.16 kernel has the required fix in the openvswitch module.

[...]
> #0  nl_attr_get_size (nla=nla at entry=0x0) at ../lib/netlink.c:506 
> 506../lib/netlink.c: No such file or directory. (gdb) bt #0
> nl_attr_get_size (nla=nla at entry=0x0) at ../lib/netlink.c:506 #1
> 0x0000000000460473 in format_generic_odp_key (a=a at entry=0x0, 
> ds=ds at entry=0x7fff228e0520) at ../lib/odp-util.c:767 #2
> 0x0000000000460cd2 in format_odp_key_attr (a=a at entry=0x1b8cdb4, 
> ma=ma at entry=0x0, ds=ds at entry=0x7fff228e0520,
> verbose=verbose at entry=true) at ../lib/odp-util.c:1332 #3
> 0x00000000004609d7 in odp_flow_format (key=<optimized out>, 
> key_len=40, mask=0x0, mask_len=0, ds=0x7fff228e0520, verbose=true)
> at ../lib/odp-util.c:1402 #4  0x0000000000460fc4 in
> format_odp_key_attr (a=a at entry=0x1b8cd90, ma=ma at entry=0x0,
> ds=ds at entry=0x7fff228e0520, verbose=verbose at entry=true) at
> ../lib/odp-util.c:987 #5  0x00000000004609d7 in odp_flow_format
> (key=key at entry=0x1b8cd30, key_len=key_len at entry=140,
> mask=mask at entry=0x0, mask_len=mask_len at entry=0, 
> ds=ds at entry=0x7fff228e0520, verbose=verbose at entry=true) at 
> ../lib/odp-util.c:1402 #6  0x00000000004450f3 in log_flow_message
> (error=error at entry=2, operation=operation at entry=0x4d0e73
> "flow_del", key=0x1b8cd30, key_len=140, mask=mask at entry=0x0, 
> mask_len=mask_len at entry=0, stats=0x0, actions=actions at entry=0x0, 
> actions_len=actions_len at entry=0, dpif=<optimized out>) at
> ../lib/dpif.c:1354 #7  0x00000000004453c9 in log_flow_del_message 
> (dpif=dpif at entry=0x1b5d4c0, del=del at entry=0x7fff228e05d0, 
> error=error at entry=2) at ../lib/dpif.c:1397 #8  0x0000000000445433
> in log_flow_del_message (error=2, del=0x7fff228e05d0,
> dpif=0x1b5d4c0) at ../lib/dpif.c:1396 #9  dpif_flow_del__
> (dpif=0x1b5d4c0, del=del at entry=0x7fff228e05d0) at 
> ../lib/dpif.c:945 #10 0x00000000004455ca in dpif_flow_del
> (dpif=<optimized out>, key=<optimized out>, key_len=<optimized
> out>, stats=stats at entry=0x7fff228e0600) at ../lib/dpif.c:965 #11
> 0x000000000041b423 in subfacet_uninstall (subfacet=0x1b38af0) at 
> ../ofproto/ofproto-dpif.c:4686 #12 0x0000000000420f18 in
> facet_remove (facet=facet at entry=0x1b386f0) at 
> ../ofproto/ofproto-dpif.c:4014 #13 0x0000000000422f52 in
> facet_revalidate (facet=facet at entry=0x1b386f0) at
> ../ofproto/ofproto-dpif.c:4321 #14 0x0000000000424b5a in
> facet_lookup_valid (flow=0x7fabe8000c68, ofproto=0x1b69e50) at
> ../ofproto/ofproto-dpif.c:4203 #15 handle_flow_miss
> (n_ops=<synthetic pointer>, ops=0x7fff228e0cd0, 
> miss=0x7fabe8000c50) at ../ofproto/ofproto-dpif.c:3339 #16
> handle_flow_misses (fmb=fmb at entry=0x7fabe80008e0,
> backer=<optimized out>) at ../ofproto/ofproto-dpif.c:3410 #17
> 0x0000000000425196 in handle_upcalls (backer=<optimized out>) at 
> ../ofproto/ofproto-dpif.c:3565 #18 dpif_backer_run_fast
> (backer=<optimized out>) at ../ofproto/ofproto-dpif.c:1007 #19
> type_run_fast (type=<optimized out>) at
> ../ofproto/ofproto-dpif.c:1024 #20 0x00000000004122cf in
> ofproto_type_run_fast (datapath_type=<optimized out>,
> datapath_type at entry=0x1ad7540 "system") at
> ../ofproto/ofproto.c:1326 #21 0x00000000004081a5 in bridge_run_fast
> () at ../vswitchd/bridge.c:2318 #22 0x00000000004059b6 in main
> (argc=<optimized out>, argv=<optimized out>) at
> ../vswitchd/ovs-vswitchd.c:117 (gdb) quit


- -- 
James Page
Ubuntu and Debian Developer
james.page at ubuntu.com
jamespage at debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVJB/YAAoJEL/srsug59jDAs8P/3Vy774c1CoyomZAaMnXdlb8
kQm1zYTAWJEJk0Ms3SfaI8roihnhBUB/JS34Ns3FkJXHHTqHpQH2sL+wnRj4jVYZ
TLB8V4t2zezVvl6gFyKdYqMBz+/RGp7yFWG32b3eczMsZDUJCgvGoHdr8dW5sbVm
uFNMZLv5on670NZn8QP/Th8iAHX0dB7Q9QX+QNSNeAg43PHXOoPiy2f8zIbczU+Q
mBUGY5NBWnnJkQStyecP8cII81adXyS/NZwJvf4LaGIZ8q9MW9/dc8C6t/DaYd/a
GZ4jcYBnDMOQd1adPqi3oDx8UtEsK+Z8XOJzueU7mLvzxkRYScNLhv5lmiGP3/Gv
Lr7D0IWFe6pEV1BxGgBZGU51Nle9LiLC2ERmPX5a0g7YZZ6pKdPNmwj93KWvvY4b
sJDBSF7ynQxbDbaDct7ZE2WqEdurkZ1wcFu6c2j6+vf2UKRHZ/J53GpAnYsGS5eL
u8PVqZv4896Vs1nvLZddhN6MrHc4Qu0vSIRA1PcvI350LYcBi8y5wN514H0H8/vr
jy6WBqLRBpXBjReJTHxORKAH6vTIub7IzrIFEM0eQQyhqc0p6Szw2U2p+FQNrD/T
MUY5Sl9hAZTzGGpDkjQfxnyv1NNuozrUXqAs+0SHXw2hsIazKwlN+rJ3nENJPPXo
qjXPMYZeGI4IjXJuvfsZ
=8H5s
-----END PGP SIGNATURE-----



More information about the discuss mailing list