Skip to content

Instantly share code, notes, and snippets.

@mensinda
Created March 21, 2017 16:32
Show Gist options
  • Save mensinda/9e8d34c95dc008f0f2df0b0f41f4c1ab to your computer and use it in GitHub Desktop.
Save mensinda/9e8d34c95dc008f0f2df0b0f41f4c1ab to your computer and use it in GitHub Desktop.
Error2
(gdb) thread apply all bt 10
Thread 9 (Thread 0x7fffbd07f700 (LWP 20374)):
#0 0x00007fffeb779ca6 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007fffec70c5a8 in __gthread_cond_timedwait (__cond=0x162d478, __mutex=0x162d2f8, __abs_timeout=0x7fffbd07eaf0) at /usr/include/c++/6.3.1/x86_64-pc-linux-gnu/bits/gthr-default.h:871
#2 0x00007fffec71517d in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x162d478, __lock=..., __atime=...)
at /usr/include/c++/6.3.1/condition_variable:166
#3 0x00007fffec711ee7 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x162d478, __lock=..., __atime=...)
at /usr/include/c++/6.3.1/condition_variable:106
#4 0x00007fffec712bcb in std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (this=0x162d478, __lock=..., __rtime=...) at /usr/include/c++/6.3.1/condition_variable:138
#5 0x00007fffec70dbe7 in EPL_DataCollect::InputHandler::builderLoop (this=0x162cb60) at /home/daniel/projects/EPL_DataCollect/dataCollect/InputHandler.cpp:399
#6 0x00007fffec71b398 in std::__invoke_impl<void, void (EPL_DataCollect::InputHandler::* const&)(), EPL_DataCollect::InputHandler*>(std::__invoke_memfun_deref, void (EPL_DataCollect::InputHandler::* const&)(), EPL_DataCollect::InputHandler*&&) (
__f=@0x150d5a0: (void (EPL_DataCollect::InputHandler::*)(EPL_DataCollect::InputHandler * const)) 0x7fffec70daec <EPL_DataCollect::InputHandler::builderLoop()>,
__t=<unknown type in /opt/projects/lib/eplViz/libepl_DataCollect.so.1, CU 0x98fa0, DIE 0xbdb36>) at /usr/include/c++/6.3.1/functional:227
#7 0x00007fffec71b325 in std::__invoke<void (EPL_DataCollect::InputHandler::* const&)(), EPL_DataCollect::InputHandler*>(void (EPL_DataCollect::InputHandler::* const&)(), EPL_DataCollect::InputHandler*&&) (__fn=@0x150d5a0: (void (EPL_DataCollect::InputHandler::*)(EPL_DataCollect::InputHandler * const)) 0x7fffec70daec <EPL_DataCollect::InputHandler::builderLoop()>,
__args#0=<unknown type in /opt/projects/lib/eplViz/libepl_DataCollect.so.1, CU 0x98fa0, DIE 0xbdb36>) at /usr/include/c++/6.3.1/functional:251
#8 0x00007fffec71b2d6 in std::_Mem_fn_base<void (EPL_DataCollect::InputHandler::*)(), true>::operator()<EPL_DataCollect::InputHandler*>(EPL_DataCollect::InputHandler*&&) const (
this=0x150d5a0, __args#0=<unknown type in /opt/projects/lib/eplViz/libepl_DataCollect.so.1, CU 0x98fa0, DIE 0xbdb36>) at /usr/include/c++/6.3.1/functional:604
#9 0x00007fffec71b2a1 in std::_Bind_simple<std::_Mem_fn<void (EPL_DataCollect::InputHandler::*)()> (EPL_DataCollect::InputHandler*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (
this=0x150d598) at /usr/include/c++/6.3.1/functional:1391
(More stack frames follow...)
Thread 4 (Thread 0x7fffc6659700 (LWP 12885)):
#0 0x00007fffeb779756 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007fffeca7f58b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2 0x00007fffeca784d3 in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3 0x00007fffecc84fbe in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff26dff35 in EPL_Viz::ModelThread::updateCompleted(EPL_Viz::ProtectedCycle&) () from /opt/projects/lib/libEPLViz.so.1
#5 0x00007ffff2684695 in EPL_Viz::ModelThread::loop() () from /opt/projects/lib/libEPLViz.so.1
#6 0x00007fffeca7e6d8 in ?? () from /usr/lib/libQt5Core.so.5
#7 0x00007fffeb7732e7 in start_thread () from /usr/lib/libpthread.so.0
#8 0x00007fffea9ea54f in clone () from /usr/lib/libc.so.6
Thread 3 (Thread 0x7fffcdeb9700 (LWP 12868)):
#0 0x00007fffea9e067d in poll () from /usr/lib/libc.so.6
#1 0x00007ffff2ba17a6 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007ffff2ba18bc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007fffeccae04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4 0x00007fffecc5789a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5 0x00007fffeca79a73 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6 0x00007fffee76d125 in ?? () from /usr/lib/libQt5DBus.so.5
#7 0x00007fffeca7e6d8 in ?? () from /usr/lib/libQt5Core.so.5
#8 0x00007fffeb7732e7 in start_thread () from /usr/lib/libpthread.so.0
#9 0x00007fffea9ea54f in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0x7fffd715c700 (LWP 12867)):
#0 0x00007fffea9e067d in poll () from /usr/lib/libc.so.6
#1 0x00007fffe16de8e0 in ?? () from /usr/lib/libxcb.so.1
#2 0x00007fffe16e0679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3 0x00007fffd9cf3239 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4 0x00007fffeca7e6d8 in ?? () from /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#5 0x00007fffeb7732e7 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007fffea9ea54f in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0x7ffff7ef6e80 (LWP 12852)):
#0 0x00007fffea978f19 in _int_malloc () from /usr/lib/libc.so.6
#1 0x00007fffea97a674 in malloc () from /usr/lib/libc.so.6
#2 0x00007fffeb25ba78 in operator new (sz=2462) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/new_op.cc:50
#3 0x00007ffff18d9830 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*> (this=0x3bc6780,
__beg=0x7fff6fe770d0 "Frame 47728: 72 bytes on wire (576 bits), 72 bytes captured (576 bits) on interface 0\n\tInterface id: 0\n\tEncapsulation type: Ethernet (1)\n\tArrival Time: Jan 19, 2017 14:30:09.043245284 CET\n\t[Time shift"..., __end=0x7fff6fe77a6d "") at /usr/include/c++/6.3.1/bits/basic_string.tcc:219
#4 0x00007fffeb2f255f in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct_aux<char*> (__end=<optimized out>, __beg=<optimized out>,
this=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:196
#5 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*> (__end=<optimized out>, __beg=<optimized out>, this=<optimized out>)
at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:215
#6 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (this=<optimized out>, __str=...)
at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:400
#7 0x00007ffff18d5c46 in EPL_DataCollect::Packet::Packet (this=0x3bc66f0) at ../dataCollect/model/Packet.hpp:104
#8 0x00007fffec6fe82c in std::_Construct<EPL_DataCollect::Packet, EPL_DataCollect::Packet const&> (__p=0x3bc66f0, __args#0=...) at /usr/include/c++/6.3.1/bits/stl_construct.h:75
#9 0x00007fffec6fdad9 in std::__uninitialized_copy<false>::__uninit_copy<__gnu_cxx::__normal_iterator<EPL_DataCollect::Packet const*, std::vector<EPL_DataCollect::Packet, std::allocator<EPL_DataCollect::Packet> > >, EPL_DataCollect::Packet*> (__first=
{_vptr.Packet = 0x7fffec9c34d8 <vtable for EPL_DataCollect::Packet+16>, type = EPL_DataCollect::PacketType::ASYNC_SEND, state = EPL_DataCollect::NMTState::PRE_OPERATIONAL_1, diffs = {<std::allocator<EPL_DataCollect::PacketDiff>> = {<__gnu_cxx::new_allocator<EPL_DataCollect::PacketDiff>> = {<No data fields>}, <No data fields>}, end_iterator = {group_pointer = 0x0, element_pointer = 0x0, skipfield_pointer = 0x0}, begin_iterator = {group_pointer = 0x0, element_pointer = 0x0, skipfield_pointer = 0x0}, first_group = 0x0, total_number_of_elements = 0, min_elements_per_group = 10, group_allocator_pair = {<std::allocator<plf::colony<EPL_DataCollect::PacketDiff>::group>> = {<__gnu_cxx::new_allocator<plf::colony<EPL_DataCollect::PacketDiff>::group>> = {<No data fields>}, <No data fields>}, max_elements_per_group = 65535}, erased_locations = {<std::allocator<EPL_DataCollect::PacketDiff*>> = {<__gnu_cxx::new_allocator<EPL_DataCollect::PacketDiff*>> = {<No data fields>}, <No data fields>}, current_group = 0x0, first_group = 0x0, top_element = 0x0, start_element = 0x0, end_element = 0x0, total_number_of_elements = 0, group_allocator_pair = {<std::allocator<plf::colony<EPL_DataCollect::PacketDiff>::reduced_stack::group>> = {<__gnu_cxx::new_allocator<plf::colony<EPL_DataCollect::PacketDiff>::reduced_stack::group>> = {<No data fields>}, <No data fields>}, min_elements_per_group = 8}}}, wiresharkSTR = "Frame 47728: 72 bytes on wire (576 bits), 72 bytes captured (576 bits) on interface 0\n\tInterface id: 0\n\tEncapsulation type: Ethernet (1)\n\tArrival Time: Jan 19, 2017 14:30:09.043245284 CET\n\t[Time shift"..., miscData = "", nodeSource = 2 '\002', nodeDest = 255 '\377', timeStamp = {__d = {__r = 1484832609043245284}}, SoC = std::shared_ptr (empty) 0x0, PReq = std::shared_ptr (empty) 0x0, PRes = std::shared_ptr (empty) 0x0, SoA = std::shared_ptr (empty) 0x0, ASnd = std::shared_ptr (count 2, weak 0) 0x7fffac8781d0, IdentResponse = std::shared_ptr (empty) 0x0, NMTRequest = std::shared_ptr (empty) 0x0, NMTCmd = std::shared_ptr (empty) 0x0, StatusResponse = std::shared_ptr (count 2, weak 0) 0x7fffac878300, SyncResponse = std::shared_ptr (empty) 0x0, SDO = std::shared_ptr (empty) 0x0}, __last=
{_vptr.Packet = 0x7972746e4509090a, type = -59, state = 6, diffs = {<std::allocator<EPL_DataCollect::PacketDiff>> = {<__gnu_cxx::new_allocator<EPL_DataCollect::PacketDiff>> = {<No data fields>}, <No data fields>}, end_iterator = {group_pointer = 0x393520656d617246, element_pointer = 0x62203036203a3939, skipfield_pointer = 0x206e6f2073657479}, begin_iterator = {group_pointer = 0x3834282065726977, element_pointer = 0x2c29737469622030, skipfield_pointer = 0x6574796220303620}, first_group = 0x7275747061632073, total_number_of_elements = 2319415604758471781, min_elements_per_group = 26978, group_allocator_pair = {<std::allocator<plf::colony<EPL_DataCollect::PacketDiff>::group>> = {<__gnu_cxx::new_allocator<plf::colony<EPL_DataCollect::PacketDiff>::group>> = {<No data fields>}, <No data fields>}, max_elements_per_group = 29556}, erased_locations = {<std::allocator<EPL_DataCollect::PacketDiff*>> = {<__gnu_cxx::new_allocator<EPL_DataCollect::PacketDiff*>> = {<No data fields>}, <No data fields>}, current_group = 0x61667265746e6920, first_group = 0x6e49090a30206563, top_element = 0x2065636166726574, start_element = 0x45090a30203a6469, end_element = 0x616c75737061636e, total_number_of_elements = 8104636687070488948, group_allocator_pair = {<std::allocator<plf::colony<EPL_DataCollect::PacketDiff>::reduced_stack::group>> = {<__gnu_cxx::new_allocator<plf::colony<EPL_DataCollect::PacketDiff>::reduced_stack::group>> = {<No data fields>}, <No data fields>}, min_elements_per_group = 8243109541556796005}}}, wiresharkSTR = <error: Cannot access memory at address 0xa2931282074656e>, miscData = <error: Cannot access memory at address 0x323a343120373130>, nodeSource = 101 'e', nodeDest = 32 ' ', timeStamp = {__d = {__r = 8316293034886197094}}, SoC = <error reading variable: Cannot access memory at address 0x30303030302e3028>, PReq = <error reading variable: Cannot access memory at address 0x45090a5d73646e77>, PRes = <error reading variable: Cannot access memory at address 0x3834383431203a6d>, SoA = <error reading variable: Cannot access memory at address 0x203536313130343a>, ASnd = <error reading variable: Cannot access memory at address 0x6420656d69545b11>, IdentResponse = <error reading variable: Cannot access memory at address 0x6f69766572702075>, NMTRequest = <error reading variable: Cannot access memory at address 0x6d6172662064657a>, NMTCmd = <error reading variable: Cannot access memory at address 0x7320373933313038>, StatusResponse = <error reading variable: Cannot access memory at address 0x6420656d69545b11>, SyncResponse = <error reading variable: Cannot access memory at address 0x6f69766572702075>, SDO = <error reading variable: Cannot access memory at address 0x6172662064657969>}, __result=0x2991980) at /usr/include/c++/6.3.1/bits/stl_uninitialized.h:75
(More stack frames follow...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment