Tor-agent crash : state_count is zero

Bug #1470736 reported by Hari Prasad Killi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Manish Singh
Trunk
Fix Committed
High
Manish Singh

Bug Description

#0 0x00007f78fcdd1cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f78fcdd50d8 in __GI_abort () at abort.c:89
#2 0x00007f78fcdcab86 in __assert_fail_base (fmt=0x7f78fcf1b830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0xe9dd17 "state_count_[listener] == 0", file=file@entry=0xe9dcf9 "controller/src/db/db_table.cc", line=line@entry=89,
    function=function@entry=0xe9e060 "void DBTableBase::ListenerInfo::Unregister(DBTableBase::ListenerId)") at assert.c:92
#3 0x00007f78fcdcac32 in __GI___assert_fail (assertion=0xe9dd17 "state_count_[listener] == 0", file=0xe9dcf9 "controller/src/db/db_table.cc", line=89,
    function=0xe9e060 "void DBTableBase::ListenerInfo::Unregister(DBTableBase::ListenerId)") at assert.c:101
#4 0x0000000000cd5fcf in DBTableBase::Unregister(int) ()
#5 0x00000000008b9738 in PathPreferenceRouteListener::Walkdone(DBTableBase*, PathPreferenceRouteListener*) ()
#6 0x0000000000cdad3b in DBTableWalker::Worker::Run() ()
#7 0x0000000000dd2830 in TaskImpl::execute() ()
#8 0x00007f78fd9a0b3a in ?? () from /usr/lib/libtbb.so.2
#9 0x00007f78fd99c816 in ?? () from /usr/lib/libtbb.so.2
#10 0x00007f78fd99bf4b in ?? () from /usr/lib/libtbb.so.2
#11 0x00007f78fd9980ff in ?? () from /usr/lib/libtbb.so.2
#12 0x00007f78fd9982f9 in ?? () from /usr/lib/libtbb.so.2
#13 0x00007f78fdbbc182 in start_thread (arg=0x7f78beffb700) at pthread_create.c:312
#14 0x00007f78fce9547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

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

Review in progress for https://review.opencontrail.org/12151
Submitter: Manish Singh (<email address hidden>)

Changed in juniperopenstack:
milestone: none → r2.30-fcs
tags: added: customer
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/12182
Submitter: Manish Singh (<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/12319
Submitter: Manish Singh (<email address hidden>)

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

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

commit 8aeedf8563376589cf988c940cae21cb23959a86
Author: Manish <email address hidden>
Date: Thu Jul 2 15:11:19 2015 +0530

PathPreference state not cleaned.

Problem:
When path preference is deleted because of route table delete, walk is started
to delete all the states. It can so happen that before walk done is called,
notification is received for one of the table entry. This will result in state
addition again.

Solution:
If delete has been issued ignore any notifications on same.

Change-Id: I6b60bb6ad5acfe701a905e356bb4858c6c50a627
Closes-bug: 1470736

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

Review in progress for https://review.opencontrail.org/12661
Submitter: Manish Singh (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/12661
Committed: http://github.org/Juniper/contrail-controller/commit/bce70fb8c669e0cae7ce5bbbc4aa69e6f248bf95
Submitter: Zuul
Branch: R2.20

commit bce70fb8c669e0cae7ce5bbbc4aa69e6f248bf95
Author: Manish <email address hidden>
Date: Thu Jul 2 15:11:19 2015 +0530

PathPreference state not cleaned.

Problem:
When path preference is deleted because of route table delete, walk is started
to delete all the states. It can so happen that before walk done is called,
notification is received for one of the table entry. This will result in state
addition again.

Solution:
If delete has been issued ignore any notifications on same.

Change-Id: I6b60bb6ad5acfe701a905e356bb4858c6c50a627
Closes-bug: 1470736

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

Review in progress for https://review.opencontrail.org/13927
Submitter: Vinay Vithal Mahuli (<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.