[R2.20 21] TOR Scale: TOR Agent crash @ contrail::sandesh::transport::TMemoryBuffer::initCommon
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Medium
|
Hari Prasad Killi | |||
Trunk |
Fix Committed
|
Medium
|
Hari Prasad Killi |
Bug Description
Trgger
-------------
Restarted supervisor-vrouter
Backtrace
-----------------
(gdb) bt
#0 0x00007fb1f35218fd in malloc_consolidate (av=av@
#1 0x00007fb1f3522df8 in _int_malloc (av=0x7fb1b4000020, bytes=2048) at malloc.c:3423
#2 0x00007fb1f35257b0 in __GI___libc_malloc (bytes=2048) at malloc.c:2891
#3 0x0000000001832bbc in contrail:
owner=true, wPos=0) at build/include/
#4 0x0000000001845692 in contrail:
at build/include/
#5 0x00000000018738b5 in SandeshWriter:
at tools/sandesh/
#6 0x0000000001875e99 in SandeshSession:
at tools/sandesh/
#7 0x000000000187e972 in boost::
a1=
#8 0x000000000187daac in boost::
at /usr/include/
#9 0x000000000187cac6 in boost::
at /usr/include/
#10 0x000000000187bda1 in boost::
function_
#11 0x00000000018410e7 in boost::
at /usr/include/
#12 0x000000000183ed16 in QueueTaskRunner
at controller/
#13 0x000000000183df20 in QueueTaskRunner
at controller/
#14 0x000000000191fed8 in TaskImpl::execute (this=0x7fb1ecc
#15 0x00007fb1f40a8b3a in ?? () from /usr/lib/
#16 0x00007fb1f40a4816 in ?? () from /usr/lib/
#17 0x00007fb1f40a3f4b in ?? () from /usr/lib/
#18 0x00007fb1f40a00ff in ?? () from /usr/lib/
---Type <return> to continue, or q <return> to quit---
#19 0x00007fb1f40a02f9 in ?? () from /usr/lib/
#20 0x00007fb1f42c4182 in start_thread (arg=0x7fb1e5ff
#21 0x00007fb1f359d47d in clone () at ../sysdeps/
Setup
----------
env.roledefs = {
'all': [host1, host2, host3, host4, host5, host6],
'cfgm': [host1, host2, host3],
'openstack': [host1, host2, host3],
'webui': [host2],
'control': [host1, host3],
'compute': [host4, host5, host6],
'tsn': [host4, host5],
'toragent': [host4, host5],
'collector': [host1, host3],
'database': [host1, host2, host3],
'build': [host_build],
}
env.hostnames = {
'all': ['nodei6', 'nodei7', 'nodei8', 'nodei9', 'nodei10', 'nodei19']
}
Changed in juniperopenstack: | |
importance: | Undecided → High |
milestone: | none → r2.30-fcs |
Changed in juniperopenstack: | |
assignee: | nobody → Hari Prasad Killi (haripk) |
information type: | Proprietary → Public |
Memory corruption is seen here. Access to freed memory is seen in a few cases and have been fixed with the following commits.
https:/ /github. com/Juniper/ contrail- controller/ commit/ ba144cc5153a099 b12d08e7e32a57a b433c4f697 /github. com/Juniper/ contrail- controller/ commit/ 9056ce9349ba7f4 6fb0d7a8f88af68 a9e537944b /github. com/Juniper/ contrail- controller/ commit/ 791439aafdf7f83 6b9579dcffb1299 859826bb66
https:/
https:/
Also, valgrind reported issues are fixed with the following: /github. com/Juniper/ contrail- controller/ commit/ a134faf39280de1 0a88342a430368b 2ff76451be /bugs.launchpad .net/juniperope nstack/ +bug/1460518
https:/
https:/