[3.0.2.0-35] Collector crash @ CqlIf::CqlIfImpl::AddPrepareInsertIntoTable

Bug #1580310 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Megh Bhatt
Trunk
Fix Committed
High
Megh Bhatt

Bug Description

Observed the crash while executing fab task reset_config

Backtrace
-----------
(gdb) bt
#0 0x00007f119fe2dcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f119fe310d8 in __GI_abort () at abort.c:89
#2 0x00007f119fe26b86 in __assert_fail_base (fmt=0x7f119ff77830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7954a9 "success",
    file=file@entry=0x7b9fc0 "controller/src/database/cassandra/cql/cql_if.cc", line=line@entry=1357,
    function=function@entry=0x7bbe20 "bool cass::cql::CqlIf::CqlIfImpl::AddPrepareInsertIntoTable(const GenDb::NewCf&)") at assert.c:92
#3 0x00007f119fe26c32 in __GI___assert_fail (assertion=0x7954a9 "success", file=0x7b9fc0 "controller/src/database/cassandra/cql/cql_if.cc", line=1357,
    function=0x7bbe20 "bool cass::cql::CqlIf::CqlIfImpl::AddPrepareInsertIntoTable(const GenDb::NewCf&)") at assert.c:101
#4 0x0000000000602508 in ?? ()
#5 0x00000000005f9bb2 in ?? ()
#6 0x00000000005bf336 in ?? ()
#7 0x00000000005c0656 in ?? ()
#8 0x00000000005cafc8 in ?? ()
#9 0x00000000005cb357 in ?? ()
#10 0x00000000005cb5b9 in ?? ()
#11 0x0000000000476b69 in ?? ()
#12 0x000000000046586f in ?? ()
#13 0x00007f11a13b5b3a in ?? () from /usr/lib/libtbb.so.2
#14 0x00007f11a13b1816 in ?? () from /usr/lib/libtbb.so.2
#15 0x00007f11a13b0f4b in ?? () from /usr/lib/libtbb.so.2
#16 0x00007f11a13ad0ff in ?? () from /usr/lib/libtbb.so.2
#17 0x00007f11a13ad2f9 in ?? () from /usr/lib/libtbb.so.2
#18 0x00007f11a15d1182 in start_thread (arg=0x7f11633fc700) at pthread_create.c:312
#19 0x00007f119fef147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Tags: analytics
chhandak (chhandak)
Changed in juniperopenstack:
importance: Undecided → High
assignee: nobody → Raj Reddy (rajreddy)
information type: Proprietary → Public
Revision history for this message
chhandak (chhandak) wrote :

Core is copied to /auto/cores/1580310

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20152
Committed: http://github.org/Juniper/contrail-controller/commit/4ecf5f77c374ab77bff65afdc140936b97768fdc
Submitter: Zuul
Branch: R3.0

commit 4ecf5f77c374ab77bff65afdc140936b97768fdc
Author: Megh Bhatt <email address hidden>
Date: Thu May 12 00:42:59 2016 -0700

Handle DbHandler CreateTables failure in CQL driver

If CreateTables() in DbHandler fails then some tables can
have CassPrepared statements inserted in the map and on
retry insert into map will fail with an assert.

Change-Id: Iff994caa5ec03407653dc8a0aea9f87675ceb4fb
Closes-Bug: #1580310

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20205
Committed: http://github.org/Juniper/contrail-controller/commit/8afc7ce5aa550e2e491e64f838df4fa743ef6218
Submitter: Zuul
Branch: master

commit 8afc7ce5aa550e2e491e64f838df4fa743ef6218
Author: Megh Bhatt <email address hidden>
Date: Thu May 12 00:42:59 2016 -0700

Handle DbHandler CreateTables failure in CQL driver

If CreateTables() in DbHandler fails then some tables can
have CassPrepared statements inserted in the map and on
retry insert into map will fail with an assert.

Change-Id: Iff994caa5ec03407653dc8a0aea9f87675ceb4fb
Closes-Bug: #1580310
(cherry picked from commit 4ecf5f77c374ab77bff65afdc140936b97768fdc)

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.