contrail-vrouter-agent crash : io_service run exception

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

Bug Description

#0 0x00007f5098a9dcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f5098aa10d8 in __GI_abort () at abort.c:89
#2 0x00007f5098a96b86 in __assert_fail_base (fmt=0x7f5098be7830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0xfaf220 "!hook.is_linked()", file=file@entry=0xfaf2e0 "/usr/include/boost/intrusive/detail/utilities.hpp",
    line=line@entry=322,
    function=function@entry=0x10a9fc0 <_ZZN5boost9intrusive6detail15destructor_implINS1_12generic_hookINS0_17get_set_node_algoIPvLb0EEENS0_10member_tagELNS0_14link_mode_typeE1ELi0EEEEEvRT_NS1_13link_dispatchILS8_1EEEE19__PRETTY_FUNCTION__+64> "rusive::detail::link_dispatch<(boost::intrusive::link_mode_type)1u>) [with Hook = boost::intrusive::detail::generic_hook<boost::intrusive::get_set_node_algo<void*, false>, boost::intrusive::member_tag"...) at assert.c:92
#3 0x00007f5098a96c32 in __GI___assert_fail (assertion=0xfaf220 "!hook.is_linked()", file=0xfaf2e0 "/usr/include/boost/intrusive/detail/utilities.hpp",
    line=322,
    function=0x10a9fc0 <_ZZN5boost9intrusive6detail15destructor_implINS1_12generic_hookINS0_17get_set_node_algoIPvLb0EEENS0_10member_tagELNS0_14link_mode_typeE1ELi0EEEEEvRT_NS1_13link_dispatchILS8_1EEEE19__PRETTY_FUNCTION__+64> "rusive::detail::link_dispatch<(boost::intrusive::link_mode_type)1u>) [with Hook = boost::intrusive::detail::generic_hook<boost::intrusive::get_set_node_algo<void*, false>, boost::intrusive::member_tag"...) at assert.c:101
#4 0x0000000000f9f2d2 in destructor_impl<boost::intrusive::detail::generic_hook<boost::intrusive::get_set_node_algo<void*, false>, boost::intrusive::member_tag, (boost::intrusive::link_mode_type)1, 0> > (hook=...) at /usr/include/boost/intrusive/detail/utilities.hpp:322
#5 ~generic_hook (this=0x7f508c07ac70, __in_chrg=<optimized out>) at /usr/include/boost/intrusive/detail/generic_hook.hpp:178
#6 ~set_member_hook (this=0x7f508c07ac70, __in_chrg=<optimized out>) at /usr/include/boost/intrusive/set_hook.hpp:218
#7 TaskEntry::~TaskEntry (this=0x7f508c07ac70, __in_chrg=<optimized out>) at controller/src/base/task.cc:1013
#8 0x0000000000f9f3c1 in TaskGroup::~TaskGroup (this=0x7f508c073b50, __in_chrg=<optimized out>) at controller/src/base/task.cc:824
#9 0x0000000000f9f917 in TaskScheduler::~TaskScheduler (this=0x2914dd0, __in_chrg=<optimized out>) at controller/src/base/task.cc:323
#10 0x0000000000fa3fa1 in checked_delete<TaskScheduler> (x=0x2914dd0) at /usr/include/boost/checked_delete.hpp:34
#11 boost::scoped_ptr<TaskScheduler>::~scoped_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/scoped_ptr.hpp:82
#12 0x00007f5098aa3259 in __run_exit_handlers (status=-1, listp=0x7f5098e256c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#13 0x00007f5098aa32a5 in __GI_exit (status=<optimized out>) at exit.c:104
#14 0x0000000000ebedaa in EventManager::RunWithExceptionHandling (this=0x28ffde0) at controller/src/io/event_manager.cc:64
#15 0x000000000074909b in main (argc=1, argv=0x7fff5ae04d08) at controller/src/vnsw/agent/contrail/main.cc:110

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

Review in progress for https://review.opencontrail.org/12509
Submitter: Hari Prasad Killi (<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/12511
Submitter: Hari Prasad Killi (<email address hidden>)

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

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

commit d144a64a6f479e7f74f534b6e56bef55037e18e6
Author: Hari <email address hidden>
Date: Tue Jul 21 17:00:09 2015 +0530

Catch std exception in io_service run to print it.

Change-Id: I5e70cc916665d12f088114e53c50165228fc26ab
related-bug: 1476613

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

Review in progress for https://review.opencontrail.org/12578
Submitter: Hari Prasad Killi (<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/12579
Submitter: Hari Prasad Killi (<email address hidden>)

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

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

commit 89f1200d6f7bbb84255b56e4325a5751e171a685
Author: Hari <email address hidden>
Date: Tue Jul 21 16:55:31 2015 +0530

Catch std exception in io_service run to print it.

Change-Id: Iaf932d13b7921d848e7d341e67819047f71975a8
related-bug: 1476613

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/12579
Committed: http://github.org/Juniper/contrail-controller/commit/86e67b7bbb578337d9b2cff3ff1165b2ad51627d
Submitter: Zuul
Branch: master

commit 86e67b7bbb578337d9b2cff3ff1165b2ad51627d
Author: Hari <email address hidden>
Date: Thu Jul 23 15:34:03 2015 +0530

Check that the address sent via thrift is Ipv4.

In case an IPv6 address is sent in the ip_address field of AddPort thrift,
it is accepted and later when to_v4() is invoked, bad_cast exception is
thrown.

Change-Id: I0a8e8991c6891ab61fd00c9eaa0e21f3e3ffaff5
partial-bug: 1476613

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

commit 569650e34df9816807c9272e829d45fbb76b1b9e
Author: Hari <email address hidden>
Date: Thu Jul 23 14:58:29 2015 +0530

Check that the address sent via thrift is Ipv4.

In case an IPv6 address is sent in the ip_address field of AddPort thrift,
it is accepted and later when to_v4() is invoked, bad_cast exception is
thrown.

Change-Id: I24aa7a9d8d83ccb0a26974d017c93c473eb13ab6
partial-bug: 1476613

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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