contrail-control crashed at IFMapServer::ClientRegister
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
High
|
Ananth Suryanarayana | |||
R3.2 |
Fix Committed
|
High
|
Ananth Suryanarayana | |||
R4.0 |
Fix Committed
|
High
|
Ananth Suryanarayana | |||
Trunk |
Fix Committed
|
High
|
Ananth Suryanarayana |
Bug Description
3.2.0.0-1~mitaka
Contrail-control crashed in solution testbed.
Logs/core saved at http://
BT
===
#0 0x00007f9af4000078 in ?? ()
#1 0x00000000004a2ebf in IFMapServer:
#2 0x00000000004a394d in IFMapServer:
#3 0x00000000004c73a2 in IFMapXmppChanne
#4 0x00000000004d4e4d in ChannelEventPro
#5 0x00000000006dbf4f in TaskImpl::execute (this=0x7f9b321
#6 0x00007f9b397bcb3a in ?? () from /usr/lib/
#7 0x00007f9b397b8816 in ?? () from /usr/lib/
#8 0x00007f9b397b7f4b in ?? () from /usr/lib/
#9 0x00007f9b397b40ff in ?? () from /usr/lib/
#10 0x00007f9b397b42f9 in ?? () from /usr/lib/
#11 0x00007f9b399d8184 in start_thread (arg=0x7f9b1bbf
#12 0x00007f9b38aa937d in clone () at ../sysdeps/
Changed in juniperopenstack: | |
importance: | Undecided → High |
assignee: | Ashish Ranjan (aranjan-n) → Nischal Sheth (nsheth) |
tags: | added: crashes |
information type: | Proprietary → Public |
Very strange core.
Its says
Program terminated with signal SIGSEGV, Segmentation fault.
#1 0x00000000004a2ebf in IFMapServer: :ClientRegister (this=0x7ffc81d e5ba0, client= src/ifmap/ ifmap_server. cc:224
0x7f9af472afe0) at controller/
The code is: map_.insert( make_pair( client- >identifier( ), client));
cm_ret = client_
But, everything in this line of code is fine in the core. So, cant see how it can crash here because of segv.
One wild guess is that this could be related to bug 1643486 which Ananth is fixing since this code hasnt changed for years and there is no reason it will crash at the location shown by the bt.
Here, nodes_sent_ = 0, nodes_sent_ = 0, links_sent_ = 0, links_sent_ = 0, 192.168. 1.8",
(gdb) p *client
$12 = {
_vptr.IFMapClient = 0x7f9af49945a0,
static kIndexInvalid = -1,
index_ = -192835104, <<<< not set yet since we are at line 224
exporter_ = 0x0,
msgs_sent_ = 0,
msgs_blocked_ = 0,
bytes_sent_ = 0,
update_
delete_
update_
delete_
send_is_blocked_ = false,
vm_map_ = std::map with 0 elements,
name_ = "nodei27:
created_at_ = 1480566217126441
}
(gdb) p client_map_ global- system- config: nodei11" ] = 0x7f9afc739f00, global- system- config: nodei37" ] = 0x7f9b008cacb0, global- system- config: nodei6" ] = 0x7f9ab49cb750, global- system- config: nodei8" ] = 0x7f9ac497db80, global- system- config: nodel7" ] = 0x7f9b047de870
$13 = std::map with 5 elements = {
["default-
["default-
["default-
["default-
["default-
}
(gdb) p *(IFMapXmppChan nel::IFMapSende r *) 0x7f9af472afe0 IFMapClient = 0x7f9af49945a0, nodes_sent_ = 0, nodes_sent_ = 0, links_sent_ = 0, links_sent_ = 0, is_blocked_ = false, 192.168. 1.8", l::IFMapSender: global- system- config: nodei38"
$10 = {
<IFMapClient> = {
_vptr.
static kIndexInvalid = -1,
index_ = -192835104,
exporter_ = 0x0,
msgs_sent_ = 0,
msgs_blocked_ = 0,
bytes_sent_ = 0,
update_
delete_
update_
delete_
send_
vm_map_ = std::map with 0 elements,
name_ = "nodei27:
created_at_ = 1480566217126441
},
members of IFMapXmppChanne
parent_ = 0x7f9af43a6d00,
hostname_ = "nodei38",
identifier_ = "default-
}