Skip to content

Instantly share code, notes, and snippets.

@stefanandres
Created December 4, 2014 09:32
Show Gist options
  • Save stefanandres/e25ab107ce44c02596e3 to your computer and use it in GitHub Desktop.
Save stefanandres/e25ab107ce44c02596e3 to your computer and use it in GitHub Desktop.
controller# gdb /usr/bin/contrail-control
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/contrail-control...sReading symbols from /usr/lib/debug//usr/bin/contrail-control..done.
done.
(gdb) set args --conf_file /etc/contrail/contrail-control.conf
(gdb) run
Starting program: /usr/bin/contrail-control --conf_file /etc/contrail/contrail-control.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee579700 (LWP 4206)]
[New Thread 0x7fffee178700 (LWP 4207)]
[New Thread 0x7fffedd77700 (LWP 4208)]
[New Thread 0x7fffed976700 (LWP 4209)]
[New Thread 0x7fffed575700 (LWP 4210)]
[New Thread 0x7fffed174700 (LWP 4211)]
[New Thread 0x7fffecd73700 (LWP 4212)]
[New Thread 0x7fffec972700 (LWP 4213)]
[New Thread 0x7fffec571700 (LWP 4214)]
[New Thread 0x7fffdffff700 (LWP 4215)]
[New Thread 0x7fffdfbfe700 (LWP 4216)]
[New Thread 0x7fffdf7fd700 (LWP 4217)]
[New Thread 0x7fffdf1fc700 (LWP 4218)]
contrail-control: controller/src/db/db_table_partition.cc:97: virtual void DBTablePartition::Remove(DBEntryBase*): Assertion `tree_.erase(*entry)' failed.
contrail-control: controller/src/db/db_table_partition.cc:97: virtual void DBTablePartition::Remove(DBEntryBase*): Assertion `tree_.erase(*entry)' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffec972700 (LWP 4213)]
0x00007ffff5405bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff5405bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff5408fc8 in __GI_abort () at abort.c:89
#2 0x00007ffff53fea76 in __assert_fail_base (fmt=0x7ffff55502b0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xa630ab "tree_.erase(*entry)",
file=file@entry=0xa63118 "controller/src/db/db_table_partition.cc", line=line@entry=97,
function=function@entry=0xa639e0 <DBTablePartition::Remove(DBEntryBase*)::__PRETTY_FUNCTION__> "virtual void DBTablePartition::Remove(DBEntryBase*)") at assert.c:92
#3 0x00007ffff53feb22 in __GI___assert_fail (assertion=0xa630ab "tree_.erase(*entry)", file=0xa63118 "controller/src/db/db_table_partition.cc", line=97,
function=0xa639e0 <DBTablePartition::Remove(DBEntryBase*)::__PRETTY_FUNCTION__> "virtual void DBTablePartition::Remove(DBEntryBase*)") at assert.c:101
#4 0x000000000095cf41 in DBTablePartition::Remove (this=0x7fffc407ba80, db_entry=0x7fffd40170b0) at controller/src/db/db_table_partition.cc:97
#5 0x000000000095a5bd in DBPartition::QueueRunner::Run (this=0x7fffcc015d50) at controller/src/db/db_partition.cc:154
#6 0x00000000009a87f0 in TaskImpl::execute (this=0x7fffee917d40) at controller/src/base/task.cc:224
#7 0x00007ffff6357b3a in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all (this=0x7fffee913e00, parent=..., child=<optimized out>) at ../../src/tbb/custom_scheduler.h:455
#8 0x00007ffff6353816 in tbb::internal::arena::process (this=0x7fffee96a700, s=...) at ../../src/tbb/arena.cpp:106
#9 0x00007ffff6352f4b in tbb::internal::market::process (this=0x7fffee97fe80, j=...) at ../../src/tbb/market.cpp:479
#10 0x00007ffff634f0ff in tbb::internal::rml::private_worker::run (this=0x7fffee977a00) at ../../src/tbb/private_server.cpp:283
#11 0x00007ffff634f2f9 in tbb::internal::rml::private_worker::thread_routine (arg=<optimized out>) at ../../src/tbb/private_server.cpp:240
#12 0x00007ffff5ebf182 in start_thread (arg=0x7fffec972700) at pthread_create.c:312
#13 0x00007ffff54c9efd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment