Skip to content

Instantly share code, notes, and snippets.

@scpeters
Created December 31, 2013 21:28
Show Gist options
  • Save scpeters/8202398 to your computer and use it in GitHub Desktop.
Save scpeters/8202398 to your computer and use it in GitHub Desktop.
transport seg-fault
~~~
157: [ RUN ] TransportTest.ThreadedMultiPubSub
157:
157: Msg Waiting for masterMsg Connected to gazebo master @ http://127.0.0.1:11345
157: Msg Publicized address: 192.168.1.188
157: Dbg ServerFixture load in 0.09 seconds, timeout after 60 seconds
157: Dbg ServerFixture::Unload
157: INTEGRATION_transport: /usr/include/boost/smart_ptr/shared_ptr.hpp:424: T* boost::shared_ptr<T>::operator->() const [with T = gazebo::transport::Publication]: Assertion `px != 0' failed.
158: Test command: /tmp/gazebo_build/source/tools/check_test_ran.py "/tmp/gazebo_build/source/build/test_results/INTEGRATION_transport.xml"
158: Test timeout computed to be: 9.99988e+06
158: Checking for test results in /tmp/gazebo_build/source/build/test_results/INTEGRATION_transport.xml
~~~
~~~
Core was generated by `/tmp/gazebo_build/source/build/test/integration/INTEGRATION_transport --gtest_o'.
Program terminated with signal 6, Aborted.
#0 0x00002b89f2d87425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00002b89f2d87425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00002b89f2d8ab8b in __GI_abort () at abort.c:91
#2 0x00002b89f2d800ee in __assert_fail_base (fmt=<optimized out>, assertion=0x2b89f0daf029 "px != 0",
file=0x2b89f0daf518 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=<optimized out>, function=<optimized out>) at assert.c:94
#3 0x00002b89f2d80192 in __GI___assert_fail (assertion=0x2b89f0daf029 "px != 0",
file=0x2b89f0daf518 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=424,
function=0x2b89f0db4820 <_ZZNK5boost10shared_ptrIN6gazebo9transport11PublicationEEptEvE19__PRETTY_FUNCTION__> "T* boost::shared_ptr<T>::operator->() const [with T = gazebo::transport::Publication]") at assert.c:103
#4 0x00002b89f0da5a93 in boost::shared_ptr<gazebo::transport::Publication>::operator-> (this=<optimized out>)
at /usr/include/boost/smart_ptr/shared_ptr.hpp:424
#5 0x00002b89f0da5fc3 in weak_release (this=<optimized out>) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:159
#6 release (this=<optimized out>) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
#7 ~shared_count (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:305
#8 ~shared_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:164
#9 gazebo::transport::TopicManager::DisconnectPubFromSub (this=<optimized out>, topic=..., host=..., port=46991)
at /tmp/gazebo_build/source/gazebo/transport/TopicManager.cc:275
#10 0x00002b89f0d91658 in gazebo::transport::ConnectionManager::ProcessMessage (this=this@entry=0x6ee320, _data=...)
at /tmp/gazebo_build/source/gazebo/transport/ConnectionManager.cc:434
#11 0x00002b89f0d919b7 in gazebo::transport::ConnectionManager::RunUpdate (this=this@entry=0x6ee320)
at /tmp/gazebo_build/source/gazebo/transport/ConnectionManager.cc:267
#12 0x00002b89f0d922e3 in gazebo::transport::ConnectionManager::Run (this=0x6ee320)
at /tmp/gazebo_build/source/gazebo/transport/ConnectionManager.cc:318
#13 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#14 0x00002b89f1000e9a in start_thread (arg=0x2b8a5d7f8700) at pthread_create.c:308
#15 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()
(gdb) thread apply all bt
Thread 23 (Thread 0x2b8a0b481700 (LWP 15817)):
#0 clock_nanosleep (clock_id=<optimized out>, flags=<optimized out>, req=<optimized out>, rem=<optimized out>)
at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:51
#1 0x00002b89efa8c026 in gazebo::common::Time::Sleep (_time=...) at /tmp/gazebo_build/source/gazebo/common/Time.cc:195
#2 0x00002b89efa8c453 in gazebo::common::Time::MSleep (_ms=<optimized out>) at /tmp/gazebo_build/source/gazebo/common/Time.cc:214
#3 0x00002b89f0d8fc75 in Stop (this=<optimized out>) at /tmp/gazebo_build/source/gazebo/transport/ConnectionManager.cc:250
#4 gazebo::transport::ConnectionManager::Stop (this=0x6ee320) at /tmp/gazebo_build/source/gazebo/transport/ConnectionManager.cc:244
#5 0x00002b89f0daa256 in gazebo::transport::fini () at /tmp/gazebo_build/source/gazebo/transport/TransportIface.cc:155
#6 0x00000000004b9d80 in gazebo::fini () at /tmp/gazebo_build/source/gazebo/gazebo.cc:114
#7 0x00000000004a5eb3 in gazebo::Server::Fini (this=0x2b8a99c678c0) at /tmp/gazebo_build/source/gazebo/Server.cc:433
#8 0x0000000000491359 in ServerFixture::RunServer (this=0x25d1140, _worldFilename=..., _paused=<optimized out>, _physics=...)
at /tmp/gazebo_build/source/test/ServerFixture.cc:235
#9 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#10 0x00002b89f1000e9a in start_thread (arg=0x2b8a0b481700) at pthread_create.c:308
#11 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
Thread 22 (Thread 0x2b8a69e70700 (LWP 15828)):
#0 0x00002b89f2e39a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00002b8a58058b6f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2 0x00002b8a5804a0b5 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3 0x00002b8a5804a719 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4 0x00002b8a5804a7d0 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5 0x00002b8a58058b1f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6 0x00002b8a584b8543 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.1.so
#7 0x00002b89f1000e9a in start_thread (arg=0x2b8a69e70700) at pthread_create.c:308
#8 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9 0x0000000000000000 in ?? ()
Thread 21 (Thread 0x2b8a0ab95700 (LWP 15821)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f6fc63cb in boost::condition_variable_any::wait<boost::unique_lock<boost::recursive_mutex> > (this=this@entry=0x2b8a16043478, m=...)
at /usr/include/boost/thread/pthread/condition_variable.hpp:137
#2 0x00002b89f6fc54df in Ogre::DefaultWorkQueue::waitForNextRequest (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:163
#3 0x00002b89f6fc512c in Ogre::DefaultWorkQueue::_threadMain (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:191
---Type <return> to continue, or q <return> to quit---
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a0ab95700) at pthread_create.c:308
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 20 (Thread 0x2b8a5e3fb700 (LWP 15775)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1 0x00002b89f2325293 in ?? () from /usr/lib/libtbb.so.2
#2 0x00002b89f23252c9 in ?? () from /usr/lib/libtbb.so.2
#3 0x00002b89f1000e9a in start_thread (arg=0x2b8a5e3fb700) at pthread_create.c:308
#4 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 19 (Thread 0x2b8a5ff02700 (LWP 15831)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89efa75d7b in boost::condition_variable::wait (this=0x2592c18, m=...) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2 0x00002b89efa6f694 in gazebo::common::ModelDatabase::UpdateModelCache (this=0x6eedc0, _fetchImmediately=<optimized out>)
at /tmp/gazebo_build/source/gazebo/common/ModelDatabase.cc:281
#3 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4 0x00002b89f1000e9a in start_thread (arg=0x2b8a5ff02700) at pthread_create.c:308
#5 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6 0x0000000000000000 in ?? ()
Thread 18 (Thread 0x2b8a68e6c700 (LWP 15829)):
#0 0x00002b89f100852d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1 0x00002b89f857854a in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
#2 0x00002b89f85855eb in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
#3 0x00002b89f8577e6a in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
#4 0x00002b89f1000e9a in start_thread (arg=0x2b8a68e6c700) at pthread_create.c:308
#5 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6 0x0000000000000000 in ?? ()
Thread 17 (Thread 0x2b8a5fd01700 (LWP 15827)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f6fc63cb in boost::condition_variable_any::wait<boost::unique_lock<boost::recursive_mutex> > (this=this@entry=0x2b8a16043478, m=...)
at /usr/include/boost/thread/pthread/condition_variable.hpp:137
#2 0x00002b89f6fc54df in Ogre::DefaultWorkQueue::waitForNextRequest (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:163
---Type <return> to continue, or q <return> to quit---
#3 0x00002b89f6fc512c in Ogre::DefaultWorkQueue::_threadMain (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:191
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a5fd01700) at pthread_create.c:308
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 16 (Thread 0x2b8a5dbf9700 (LWP 15773)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1 0x00002b89f2325293 in ?? () from /usr/lib/libtbb.so.2
#2 0x00002b89f23252c9 in ?? () from /usr/lib/libtbb.so.2
#3 0x00002b89f1000e9a in start_thread (arg=0x2b8a5dbf9700) at pthread_create.c:308
#4 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 15 (Thread 0x2b8a6926d700 (LWP 15826)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f6fc63cb in boost::condition_variable_any::wait<boost::unique_lock<boost::recursive_mutex> > (this=this@entry=0x2b8a16043478, m=...)
at /usr/include/boost/thread/pthread/condition_variable.hpp:137
#2 0x00002b89f6fc54df in Ogre::DefaultWorkQueue::waitForNextRequest (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:163
#3 0x00002b89f6fc512c in Ogre::DefaultWorkQueue::_threadMain (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:191
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a6926d700) at pthread_create.c:308
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 14 (Thread 0x2b8a69a6f700 (LWP 15824)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f6fc63cb in boost::condition_variable_any::wait<boost::unique_lock<boost::recursive_mutex> > (this=this@entry=0x2b8a16043478, m=...)
at /usr/include/boost/thread/pthread/condition_variable.hpp:137
#2 0x00002b89f6fc54df in Ogre::DefaultWorkQueue::waitForNextRequest (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:163
#3 0x00002b89f6fc512c in Ogre::DefaultWorkQueue::_threadMain (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:191
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a69a6f700) at pthread_create.c:308
---Type <return> to continue, or q <return> to quit---
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 13 (Thread 0x2b8a5f600700 (LWP 15820)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f6fc63cb in boost::condition_variable_any::wait<boost::unique_lock<boost::recursive_mutex> > (this=this@entry=0x2b8a16043478, m=...)
at /usr/include/boost/thread/pthread/condition_variable.hpp:137
#2 0x00002b89f6fc54df in Ogre::DefaultWorkQueue::waitForNextRequest (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:163
#3 0x00002b89f6fc512c in Ogre::DefaultWorkQueue::_threadMain (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:191
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a5f600700) at pthread_create.c:308
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 12 (Thread 0x2b8a6a071700 (LWP 15822)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f6fc63cb in boost::condition_variable_any::wait<boost::unique_lock<boost::recursive_mutex> > (this=this@entry=0x2b8a16043478, m=...)
at /usr/include/boost/thread/pthread/condition_variable.hpp:137
#2 0x00002b89f6fc54df in Ogre::DefaultWorkQueue::waitForNextRequest (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:163
#3 0x00002b89f6fc512c in Ogre::DefaultWorkQueue::_threadMain (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:191
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a6a071700) at pthread_create.c:308
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 11 (Thread 0x2b8a5d5f7700 (LWP 15823)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f6fc63cb in boost::condition_variable_any::wait<boost::unique_lock<boost::recursive_mutex> > (this=this@entry=0x2b8a16043478, m=...)
at /usr/include/boost/thread/pthread/condition_variable.hpp:137
#2 0x00002b89f6fc54df in Ogre::DefaultWorkQueue::waitForNextRequest (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:163
#3 0x00002b89f6fc512c in Ogre::DefaultWorkQueue::_threadMain (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:191
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
---Type <return> to continue, or q <return> to quit---
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a5d5f7700) at pthread_create.c:308
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 10 (Thread 0x2b8a5effe700 (LWP 15778)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1 0x00002b89f2325293 in ?? () from /usr/lib/libtbb.so.2
#2 0x00002b89f23252c9 in ?? () from /usr/lib/libtbb.so.2
#3 0x00002b89f1000e9a in start_thread (arg=0x2b8a5effe700) at pthread_create.c:308
#4 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 9 (Thread 0x2b8a5e7fc700 (LWP 15776)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1 0x00002b89f2325293 in ?? () from /usr/lib/libtbb.so.2
#2 0x00002b89f23252c9 in ?? () from /usr/lib/libtbb.so.2
#3 0x00002b89f1000e9a in start_thread (arg=0x2b8a5e7fc700) at pthread_create.c:308
#4 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 8 (Thread 0x2b8a68a6b700 (LWP 15825)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f6fc63cb in boost::condition_variable_any::wait<boost::unique_lock<boost::recursive_mutex> > (this=this@entry=0x2b8a16043478, m=...)
at /usr/include/boost/thread/pthread/condition_variable.hpp:137
#2 0x00002b89f6fc54df in Ogre::DefaultWorkQueue::waitForNextRequest (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:163
#3 0x00002b89f6fc512c in Ogre::DefaultWorkQueue::_threadMain (this=0x2b8a16043028)
at /build/buildd/ogre-1.7.4/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:191
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a68a6b700) at pthread_create.c:308
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 7 (Thread 0x2b8a5ebfd700 (LWP 15777)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1 0x00002b89f2325293 in ?? () from /usr/lib/libtbb.so.2
#2 0x00002b89f23252c9 in ?? () from /usr/lib/libtbb.so.2
#3 0x00002b89f1000e9a in start_thread (arg=0x2b8a5ebfd700) at pthread_create.c:308
---Type <return> to continue, or q <return> to quit---
#4 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x2b8a6946e700 (LWP 15818)):
#0 0x00002b89f2e45a93 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
#1 0x00002b89f0d83a95 in boost::asio::detail::epoll_reactor::run (this=0x2b8a9b6be970, block=block@entry=true, ops=...)
at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:366
#2 0x00002b89f0d86286 in do_run_one (ec=..., private_op_queue=..., this_thread=..., lock=..., this=<optimized out>)
at /usr/include/boost/asio/detail/impl/task_io_service.ipp:353
#3 boost::asio::detail::task_io_service::run (this=0x2b8a99c8e630, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:146
#4 0x00002b89f0d99e75 in boost::asio::io_service::run (this=0x2b8a9856c3c0) at /usr/include/boost/asio/impl/io_service.ipp:59
#5 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#6 0x00002b89f1000e9a in start_thread (arg=0x2b8a6946e700) at pthread_create.c:308
#7 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x2b8a6a572700 (LWP 15819)):
#0 clock_nanosleep (clock_id=<optimized out>, flags=<optimized out>, req=<optimized out>, rem=<optimized out>)
at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:51
#1 0x00002b89efa8c026 in gazebo::common::Time::Sleep (_time=...) at /tmp/gazebo_build/source/gazebo/common/Time.cc:195
#2 0x00002b89efa8c453 in gazebo::common::Time::MSleep (_ms=<optimized out>) at /tmp/gazebo_build/source/gazebo/common/Time.cc:214
#3 0x00000000004b493d in gazebo::Master::Run (this=0x2b8a99bb9dc0) at /tmp/gazebo_build/source/gazebo/Master.cc:306
#4 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5 0x00002b89f1000e9a in start_thread (arg=0x2b8a6a572700) at pthread_create.c:308
#6 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x2b8a5dffa700 (LWP 15774)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1 0x00002b89f2325293 in ?? () from /usr/lib/libtbb.so.2
#2 0x00002b89f23252c9 in ?? () from /usr/lib/libtbb.so.2
#3 0x00002b89f1000e9a in start_thread (arg=0x2b8a5dffa700) at pthread_create.c:308
#4 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x2b8a0a947180 (LWP 15691)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00002b89f1c9c283 in boost::thread::join() () from /usr/lib/libboost_thread.so.1.49.0
---Type <return> to continue, or q <return> to quit---
#2 0x0000000000490391 in ServerFixture::Unload (this=0x25d1140) at /tmp/gazebo_build/source/test/ServerFixture.cc:103
#3 0x000000000048eefa in HandleSehExceptionsInMethodIfSupported<testing::Test, void> (method=<optimized out>, object=<optimized out>,
location=<optimized out>) at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:2079
#4 testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=object@entry=0x25d1140,
method=&virtual testing::Test::TearDown(), location=location@entry=0x4bebbf "TearDown()")
at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:2115
#5 0x0000000000480d21 in testing::Test::Run (this=this@entry=0x25d1140) at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:2160
#6 0x0000000000480e47 in testing::TestInfo::Run (this=0x25c66a0) at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:2327
#7 0x0000000000480f85 in testing::TestCase::Run (this=0x25c6050) at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:2445
#8 0x00000000004812f5 in RunAllTests (this=0x25c5d10) at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:4316
#9 testing::internal::UnitTestImpl::RunAllTests (this=0x25c5d10) at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:4223
#10 0x000000000048ea7a in HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (method=<optimized out>,
object=<optimized out>, location=<optimized out>) at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:2079
#11 testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x25c5d10, method=
(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x481000 <testing::internal::UnitTestImpl::RunAllTests()>,
location=location@entry=0x4bfbd8 "auxiliary test code (environments or event listeners)")
at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:2115
#12 0x000000000048048d in testing::UnitTest::Run (this=0x6ee720 <testing::UnitTest::GetInstance()::instance>)
at /tmp/gazebo_build/source/test/gtest/src/gtest.cc:3930
#13 0x0000000000459a9f in RUN_ALL_TESTS () at /tmp/gazebo_build/source/test/gtest/include/gtest/gtest.h:2288
#14 main (argc=1, argv=<optimized out>) at /tmp/gazebo_build/source/test/integration/transport.cc:490
Thread 2 (Thread 0x2b8a5f3ff700 (LWP 15779)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1 0x00002b89f2325293 in ?? () from /usr/lib/libtbb.so.2
#2 0x00002b89f23252c9 in ?? () from /usr/lib/libtbb.so.2
#3 0x00002b89f1000e9a in start_thread (arg=0x2b8a5f3ff700) at pthread_create.c:308
#4 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x2b8a5d7f8700 (LWP 15830)):
#0 0x00002b89f2d87425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00002b89f2d8ab8b in __GI_abort () at abort.c:91
#2 0x00002b89f2d800ee in __assert_fail_base (fmt=<optimized out>, assertion=0x2b89f0daf029 "px != 0",
file=0x2b89f0daf518 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=<optimized out>, function=<optimized out>) at assert.c:94
#3 0x00002b89f2d80192 in __GI___assert_fail (assertion=0x2b89f0daf029 "px != 0",
file=0x2b89f0daf518 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=424,
function=0x2b89f0db4820 <_ZZNK5boost10shared_ptrIN6gazebo9transport11PublicationEEptEvE19__PRETTY_FUNCTION__> "T* boost::shared_ptr<T>::operator----Type <return> to continue, or q <return> to quit---
>() const [with T = gazebo::transport::Publication]") at assert.c:103
#4 0x00002b89f0da5a93 in boost::shared_ptr<gazebo::transport::Publication>::operator-> (this=<optimized out>)
at /usr/include/boost/smart_ptr/shared_ptr.hpp:424
#5 0x00002b89f0da5fc3 in weak_release (this=<optimized out>) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:159
#6 release (this=<optimized out>) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
#7 ~shared_count (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:305
#8 ~shared_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:164
#9 gazebo::transport::TopicManager::DisconnectPubFromSub (this=<optimized out>, topic=..., host=..., port=46991)
at /tmp/gazebo_build/source/gazebo/transport/TopicManager.cc:275
#10 0x00002b89f0d91658 in gazebo::transport::ConnectionManager::ProcessMessage (this=this@entry=0x6ee320, _data=...)
at /tmp/gazebo_build/source/gazebo/transport/ConnectionManager.cc:434
#11 0x00002b89f0d919b7 in gazebo::transport::ConnectionManager::RunUpdate (this=this@entry=0x6ee320)
at /tmp/gazebo_build/source/gazebo/transport/ConnectionManager.cc:267
#12 0x00002b89f0d922e3 in gazebo::transport::ConnectionManager::Run (this=0x6ee320)
at /tmp/gazebo_build/source/gazebo/transport/ConnectionManager.cc:318
#13 0x00002b89f1c9b6c9 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#14 0x00002b89f1000e9a in start_thread (arg=0x2b8a5d7f8700) at pthread_create.c:308
#15 0x00002b89f2e453fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()
(gdb)
~~~
@rosebudflyaway
Copy link

never mind, this is fixed and the tests passed. Please ignore the previous comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment