contrail-collector crashes with basic_string::_S_construct null not valid

Bug #1710804 reported by Prashanth Nageshappa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Medium
Megh Bhatt
Trunk
Fix Committed
Medium
Megh Bhatt

Bug Description

contrail-collector crashes with following message
contrail-collector: controller/src/base/task.cc:306: virtual tbb::task* TaskImpl::execute(): Assertion `0' failed.

contrail-collector.log shows the following messages before the crash:
2017-08-14 Mon 23:47:05:694.499 PDT ci-nh03-nb [Thread 140109896312576, Pid 29529]: Local: Message timed out : 10.213.17.155:9092/0: 19 request(s) timed out: disconnect
2017-08-14 Mon 23:47:05:694.582 PDT ci-nh03-nb [Thread 140109896312576, Pid 29529]: Local: All broker connections are down : 1/1 brokers are down
2017-08-14 Mon 23:47:05:694.829 PDT ci-nh03-nb [Thread 140109896312576, Pid 29529]: !!!! ERROR !!!! Task caught fatal exception: basic_string::_S_construct null not valid TaskImpl: 0x7f6e0346bc40

Changed in juniperopenstack:
assignee: nobody → Prashanth Nageshappa (nprashanth)
Revision history for this message
Prashanth Nageshappa (nprashanth) wrote :

Even though I run the contrail-collector process is run after setting ulimit -c unlimited, I still see core file with 0 size

information type: Proprietary → Public
Megh Bhatt (meghb)
Changed in juniperopenstack:
assignee: Prashanth Nageshappa (nprashanth) → Megh Bhatt (meghb)
milestone: none → r4.0.1.0
Revision history for this message
Megh Bhatt (meghb) wrote :
Download full text (7.2 KiB)

(gdb)
#0 0x00007ffff4784c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff4788028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff477dbf6 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff477dca2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000465785 in TaskImpl::execute (this=0x7fffeddd5940)
    at controller/src/base/task.cc:306
#5 0x00007ffff5d0fb3a in ?? () from /usr/lib/libtbb.so.2
#6 0x00007ffff5d0b816 in ?? () from /usr/lib/libtbb.so.2
#7 0x00007ffff5d0af4b in ?? () from /usr/lib/libtbb.so.2
#8 0x00007ffff5d070ff in ?? () from /usr/lib/libtbb.so.2
#9 0x00007ffff5d072f9 in ?? () from /usr/lib/libtbb.so.2
#10 0x00007ffff5f2b184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007ffff484837d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff4784c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff4788028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff477dbf6 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff477dca2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000465785 in TaskImpl::execute (this=0x7fffeddd5940)
    at controller/src/base/task.cc:306
#5 0x00007ffff5d0fb3a in ?? () from /usr/lib/libtbb.so.2
#6 0x00007ffff5d0b816 in ?? () from /usr/lib/libtbb.so.2
#7 0x00007ffff5d0af4b in ?? () from /usr/lib/libtbb.so.2
#8 0x00007ffff5d070ff in ?? () from /usr/lib/libtbb.so.2
#9 0x00007ffff5d072f9 in ?? () from /usr/lib/libtbb.so.2
#10 0x00007ffff5f2b184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007ffff484837d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) f 4
#4 0x0000000000465785 in TaskImpl::execute (this=0x7fffeddd5940)
    at controller/src/base/task.cc:306
306 controller/src/base/task.cc: No such file or directory.
(gdb) i what
Undefined info command: "what". Try "help info".
(gdb) p what
$1 = "basic_string::_S_construct null not valid"
(gdb) info locals
what = "basic_string::_S_construct null not valid"
e = @0x7ffed84e7520: <incomplete type>
running = @0x7fffc812fb80: 0x117ed10
__PRETTY_FUNCTION__ = "virtual tbb::task* TaskImpl::execute()"
(gdb) set print object on
(gdb) p running
$2 = (const tbb::interface6::enumerable_thread_specific<Task*, tbb::cache_aligned_allocator<Task*>, (tbb::ets_key_usage_type)1>::reference) @0x7fffc812fb80: 0x117ed10
(gdb) p *running
$3 = (Timer::TimerTask) {<Task> = {_vptr.Task = 0xa38e10 <vtable for Timer::TimerTask+16>,
    static kTaskInstanceAny = -1, task_id_ = 4, task_instance_ = -1,
    task_impl_ = 0x7fffeddd5940, state_ = Task::RUN, tbb_state_ = Task::TBB_EXEC,
    seqno_ = 2211546, task_recycle_ = false, task_cancel_ = false, enqueue_time_ = 0,
    schedule_time_ = 0, execute_delay_ = 0, schedule_delay_ = 0,
    waitq_hook_ = {<boost::intrusive::detail::generic_hook<boost::intrusive::get_list_node_algo<void*>, boost::intrusive::member_tag, (boost::intrusive::link_mode_type)1, 0>> = {<boost::intrusive::detail::no_default_definer> = {<No data fields>}, <boost::intrusive::list_node<void*>> = {next_ = 0x0, prev_ = 0x0}, <No data fields>}, <No data fields>}}, timer_ = {
...

Read more...

Revision history for this message
Megh Bhatt (meghb) wrote :
Download full text (4.6 KiB)

regress@ci-nh03-nb:~$ dpkg -l | grep contrail
ii contrail-analytics 4.0.0.0-20 amd64 OpenContrail analytics
ii contrail-config 4.0.0.0-20 amd64 OpenContrail configuration management
ii contrail-config-openstack 4.0.0.0-20 amd64 OpenContrail configuration OpenStack module
ii contrail-database-common 4.0.0.0-20 all Contrail database composite debian package
ii contrail-docs 4.0.0.0-20 amd64 Documentation for OpenContrail
ii contrail-f5 4.0.0.0-20 all Big IP interface for f5 load balancer
ii contrail-fabric-utils 4.0.0.0-20 all Contrail Fabric Utilities for cluster management
ii contrail-install-packages 4.0.0.0-20~kilo all Contrail Installer Packages - Container of debian packages
ii contrail-lib 4.0.0.0-20 amd64 OpenContrail libraries
ii contrail-nodemgr 4.0.0.0-20 amd64 OpenContrail nodemgr implementation
ii contrail-openstack-analytics 4.0.0.0-20 all Contrail Openstack Analytics composite debian package
ii contrail-openstack-config 4.0.0.0-20 all Contrail Openstack Config composite debian package
ii contrail-openstack-database 4.0.0.0-20 all Contrail Openstack database composite debian package
ii contrail-openstack-webui 4.0.0.0-20 all Contrail Openstack WebUI composite debian package
ii contrail-setup 4.0.0.0-20 all Contrail Setup package with scripts for provisioning
ii contrail-utils 4.0.0.0-20 amd64 OpenContrail tools and utilities
ii contrail-web-controller 4.0.0.0-20 amd64 Contrail Systems Web UI Feature
ii contrail-web-core 4.0.0.0-20 amd64 Contrail Systems Web UI
ii kafka 2.11-0.9.0.1-0contrail0 amd64 <insert up to 60 chars description>
ii neutron-plugin-contrail 4.0.0.0-20 all OpenStack virtual network service - Opencontrail
ii nodejs 0.10.35-1contrail1 amd64 Node.js event-based server-side javascript engine
ii python-bitarray 0.8.0-2contrail1 amd64 Python module for efficient boolean array handling
ii python-cassandra-driver 3.0.0-0contrail3 amd64 Python driver for Cassandra
ii python-consistent-hash 1.0-0contrail1 amd64 ...

Read more...

Changed in juniperopenstack:
importance: Undecided → Medium
milestone: r4.0.1.0 → r4.1.0.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/34826
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/34827
Submitter: Megh Bhatt (<email address hidden>)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.