[ovs-dev] vswitchd crashed when revalidate flows in ovs 2.8.2

ychen ychen103103 at 163.com
Mon Aug 26 11:51:20 UTC 2019


Hi, 
   has any one see the following backtrace?


   Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfi'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f82d6ffd700 (LWP 10089))]
(gdb) bt
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f835a2b042a in __GI_abort () at abort.c:89
#2  0x00007f835a2a7e67 in __assert_fail_base (fmt=<optimized out>, assertion=assertion at entry=0x7f835ab39df2 "mutex->__data.__owner == 0", 
    file=file at entry=0x7f835ab39dd5 "../nptl/pthread_mutex_lock.c", line=line at entry=81, 
    function=function at entry=0x7f835ab39f60 <__PRETTY_FUNCTION__.8475> "__pthread_mutex_lock") at assert.c:92
#3  0x00007f835a2a7f12 in __GI___assert_fail (assertion=assertion at entry=0x7f835ab39df2 "mutex->__data.__owner == 0", 
    file=file at entry=0x7f835ab39dd5 "../nptl/pthread_mutex_lock.c", line=line at entry=81, 
    function=function at entry=0x7f835ab39f60 <__PRETTY_FUNCTION__.8475> "__pthread_mutex_lock") at assert.c:101
#4  0x00007f835ab30d50 in __GI___pthread_mutex_lock (mutex=mutex at entry=0x7f835b3935e0 <seq_mutex>) at ../nptl/pthread_mutex_lock.c:81
#5  0x00007f835b064218 in ovs_mutex_lock_at (l_=l_ at entry=0x7f835b3935e0 <seq_mutex>, where=where at entry=0x7f835b1052cb "lib/seq.c:141")
    at lib/ovs-thread.c:76
#6  0x00007f835b0841d7 in seq_change (seq=0x55982c7b5630) at lib/seq.c:141
#7  0x00007f835b062d06 in ovsrcu_quiesce () at lib/ovs-rcu.c:152
#8  0x00007f835b5f7058 in revalidator_sweep__ (revalidator=revalidator at entry=0x55982c7bb178, purge=purge at entry=false)
    at ofproto/ofproto-dpif-upcall.c:2549
#9  0x00007f835b5f9b80 in revalidator_sweep (revalidator=0x55982c7bb178) at ofproto/ofproto-dpif-upcall.c:2556
#10 udpif_revalidator (arg=0x55982c7bb178) at ofproto/ofproto-dpif-upcall.c:913
#11 0x00007f835b0641d7 in ovsthread_wrapper (aux_=<optimized out>) at lib/ovs-thread.c:348
#12 0x00007f835ab2e4a4 in start_thread (arg=0x7f82d6ffd700) at pthread_create.c:456
#13 0x00007f835a364d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97


we haven't find the rule how to reproduce it, but it seems crashes frequently about one time a day
  kernel version: 4.9.0-3-openstack-amd64
  ovs version:    2.8.2  




More information about the dev mailing list