vrouter core on build119 of R2.23 on centos71
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Invalid
|
High
|
Naveen N | ||
R2.20 |
Fix Committed
|
High
|
Naveen N | ||
R2.22.x |
Fix Committed
|
High
|
Naveen N |
Bug Description
vrouter core observed on R2.23 build119 on centos71 during sanity run.
The core location is:
/cs-shared/
The backtrace of the core is:
(gdb) bt
#0 0x00002b8543769784 in std::_Rb_
#1 0x00000000016721e7 in std::_Rb_
#2 0x00000000016718a8 in std::_Rb_
#3 0x0000000001670d09 in std::map<FlowKey, FlowEntry*, Inet4FlowKeyCmp, std::allocator<
#4 0x000000000166ec83 in intrusive_
#5 0x0000000001670c6f in boost::
#6 0x0000000001677054 in FlowExportReq:
#7 0x000000000167cd43 in void boost::
#8 0x000000000167f65a in boost::
#9 0x00000000011f736a in boost::
#10 0x00000000011f742d in boost::
#11 0x00000000016726c4 in boost::
#12 0x0000000001674965 in boost::
#13 0x0000000001674380 in tbb::strict_
#14 0x0000000001673cb6 in tbb::strict_
#15 0x000000000167347e in tbb::strict_
#16 0x00000000016807e5 in tbb::strict_
()
---Type <return> to continue, or q <return> to quit---
#17 0x00000000016803a9 in WorkQueue<
#18 0x000000000167ff86 in WorkQueue<
#19 0x000000000167facf in QueueTaskRunner
#20 0x000000000167f63c in QueueTaskRunner
#21 0x0000000001d7c3d2 in TaskImpl::execute() ()
#22 0x00002b85434e096a in tbb::internal:
#23 0x00002b85434dc5a6 in tbb::internal:
from /lib64/libtbb.so.2
#24 0x00002b85434dbc6b in tbb::internal:
#25 0x00002b85434d965f in tbb::internal:
#26 0x00002b85434d9859 in tbb::internal:
from /lib64/libtbb.so.2
#27 0x00002b85432aadf5 in start_thread () from /lib64/
#28 0x00002b85440091ad in clone () from /lib64/libc.so.6
(gdb)
Issue happens due to flow entry tree manipulation being done from two threads in parallel, causing tree corruption
FlowExportReq destructor in thread context of stats collector can try to delete a flow entry from the table where flow handler can try adding/deleting it