[ 4.0.3.0-119] Contrail-control crashed in _quicksort at qsort.c:125

Bug #1734619 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Undecided
Mahesh Sivakumar
R4.0
New
Undecided
Mahesh Sivakumar

Bug Description

Type "apropos word" to search for commands related to "word"...
Reading symbols from /root/contrail-control...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 5139]
[New LWP 5475]
[New LWP 5140]
[New LWP 20187]
[New LWP 5476]
[New LWP 20188]
[New LWP 5130]
[New LWP 20189]
[New LWP 5132]
[New LWP 5133]
[New LWP 5135]
[New LWP 29706]
[New LWP 5477]
[New LWP 5134]
[New LWP 5137]
[New LWP 5136]
[New LWP 5138]

warning: Could not load shared library symbols for 10 libraries, e.g. /usr/lib/authbind/libauthbind.so.1.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/contrail-control'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00002ac692f4cc37 in _quicksort (pbase=0x0, total_elems=<optimized out>, size=32, cmp=0x2ac6930963b8, arg=0x1062398) at qsort.c:125
125 qsort.c: No such file or directory.
(gdb) bt
#0 0x00002ac692f4cc37 in _quicksort (pbase=0x0, total_elems=<optimized out>, size=32, cmp=0x2ac6930963b8, arg=0x1062398) at qsort.c:125
#1 0x00002ac6bc001b08 in ?? ()
#2 0x00002ac6bc000100 in ?? ()
#3 0x000000000289f680 in ?? ()
#4 0x000000000289f020 in ?? ()
#5 0x00002ac6bc001340 in ?? ()
#6 0x00002ac6bc001368 in ?? ()
#7 0x00002ac6bc001368 in ?? ()
#8 0x000000000290e2f0 in ?? ()
#9 0x0000000000000000 in ?? ()
(gdb)

core/bin copied at :
/cs-shared/bugs/1734614

Ankit Jain (ankitja)
Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → Sachin Bansal (sbansal)
Sachin Bansal (sbansal)
Changed in juniperopenstack:
assignee: Sachin Bansal (sbansal) → Ananth Suryanarayana (anantha-l)
Revision history for this message
Ananth Suryanarayana (anantha-l) wrote :

Crash seems to be due to failed assert in bool cass::cql::CqlIfImpl::IsTableStatic() at cql_if.cc:2009 as checked from ubuntu-build02. Can you please investigate further. Thanks

I copied the files to local cs-shared partition as well.
/cs-shared/bugs/1734614/.

(gdb) bt
#0 0x00002ac692f4cc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00002ac692f50028 in __GI_abort () at abort.c:89
#2 0x00002ac692f45bf6 in __assert_fail_base (fmt=0x2ac6930963b8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x1062398 "impl::GetCassTableClusteringKeyCount(cci_, session_.get(), keyspace_, table, &ck_count)", file=file@entry=0x1062368 "controller/src/database/cassandra/cql/cql_if.cc", line=line@entry=1862, function=function@entry=0x1063d40 "bool cass::cql::CqlIfImpl::IsTableStatic(const string&)") at assert.c:92
#3 0x00002ac692f45ca2 in __GI___assert_fail (assertion=0x1062398 "impl::GetCassTableClusteringKeyCount(cci_, session_.get(), keyspace_, table, &ck_count)", file=0x1062368 "controller/src/database/cassandra/cql/cql_if.cc", line=1862, function=0x1063d40 "bool cass::cql::CqlIfImpl::IsTableStatic(const string&)") at assert.c:101
#4 0x0000000000422cc4 in ?? ()
#5 0x0000000000ea34b7 in ?? ()
#6 0x0000000000eac076 in ?? ()
#7 0x0000000000eac4f9 in ?? ()
#8 0x0000000000c05c7c in ?? ()
#9 0x0000000000718867 in ?? ()
#10 0x0000000000710047 in ?? ()
#11 0x00002ac6922dab3a in ?? () from /usr/lib/libtbb.so.2
#12 0x00002ac6922d6816 in ?? () from /usr/lib/libtbb.so.2
#13 0x00002ac6922d5f4b in ?? () from /usr/lib/libtbb.so.2
#14 0x00002ac6922d20ff in ?? () from /usr/lib/libtbb.so.2
#15 0x00002ac6922d22f9 in ?? () from /usr/lib/libtbb.so.2
#16 0x00002ac6920a4184 in start_thread (arg=0x2ac6a8801700) at pthread_create.c:312
#17 0x00002ac69301037d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)

Changed in juniperopenstack:
assignee: Ananth Suryanarayana (anantha-l) → Pramodh D'Souza (psdsouza)
Revision history for this message
Nikhil Bansal (nikhilb-u) wrote :

Cassandra was down at the time of crash due to some provisioning issue hence the accesses to db were failing. I think, contrail-control is expected to restart in such cases?

Changed in juniperopenstack:
assignee: Pramodh D'Souza (psdsouza) → Ananth Suryanarayana (anantha-l)
Changed in juniperopenstack:
assignee: Ananth Suryanarayana (anantha-l) → Mahesh Sivakumar (maheshmns)
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.