-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGABRT When Polling Begins #44
Comments
This |
So, I'm not even sure how this happens. But it is related to how |
Finally found the culprit. Somehow during the constructon of the Poller for
Note the values of |
Looks like it was a bit more complicated than that. An invalid reference to a (gdb) bt
#0 Wintermute::Events::Poller::start (this=0x100000000) at /home/jalcine/Development/Projects/Wintermute/core/src/wintermutecore/event_poller.cpp:115
#1 0x00007ffff7725142 in Wintermute::ZMQReceiver::attachPoller (this=0x13f7938d98) at /home/jalcine/Development/Projects/Wintermute/core/src/wintermute-transport-zeromq/receiver.cpp:118
#2 0x00007ffff7726610 in Wintermute::ZMQReceiver::start (this=0x6719b0) at /home/jalcine/Development/Projects/Wintermute/core/src/wintermute-transport-zeromq/receiver.cpp:151
#3 0x00007ffff7aa3141 in Wintermute::Tunnel::start()::{lambda(std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >)#2}::operator()(std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >) const (__closure=0x7fffffffc300, pair=...) at /home/jalcine/Development/Projects/Wintermute/core/src/wintermutecore/tunnel.cpp:181
#4 0x00007ffff7aa39ef in Wintermute::Tunnel::start()::{lambda(std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >)#2} std::for_each<std::__detail::_Node_iterator<std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >, false, true>, Wintermute::Tunnel::start()::{lambda(std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >)#2}>(std::__detail::_Node_iterator<std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >, false, true>, Wintermute::Tunnel::start()::{lambda(std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >)#2}, Wintermute::Tunnel::start()::{lambda(std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >)#2}) (__first=..., __last=..., __f=...) at /usr/include/c++/4.9/bits/stl_algo.h:3755
#5 0x00007ffff7aa36aa in Wintermute::Tunnel::start () at /home/jalcine/Development/Projects/Wintermute/core/src/wintermutecore/tunnel.cpp:187
#6 0x00000000004341f5 in ZMQTunnelTestSuite::testSendOutMessage (this=0x7ffff7de4991 <_dl_lookup_symbol_x+305 at dl-lookup.c:740>) at /home/jalcine/Development/Projects/Wintermute/core/src/wintermute-transport-zeromq/test/tunnel.hh:177
#7 0x000000000043621e in TestDescription_suite_ZMQTunnelTestSuite_testSendOutMessage::runTest (this=0x65d4a0 <testDescription_suite_ZMQTunnelTestSuite_testSendOutMessage>) at /home/jalcine/Development/Projects/Wintermute/core/build/src/wintermute-transport-zeromq/test/plugin-unit-zmq_tunnel_test.cc:38
#8 0x000000000042333e in CxxTest::RealTestDescription::run (this=0x677c3b2bd02f8e00) at /usr/include/cxxtest/RealDescriptions.cpp:121
#9 0x000000000042a749 in CxxTest::TestRunner::runTest (this=0x677c3b2bd02f8e00, td=...) at /usr/include/cxxtest/TestRunner.h:103
#10 0x000000000042a441 in CxxTest::TestRunner::runSuite (this=0x65d400 <suiteDescription_ZMQTunnelTestSuite>, sd=...) at /usr/include/cxxtest/TestRunner.h:87
#11 0x000000000042a091 in CxxTest::TestRunner::runWorld (this=0x65d400 <suiteDescription_ZMQTunnelTestSuite>) at /usr/include/cxxtest/TestRunner.h:67
#12 0x0000000000429cc2 in CxxTest::TestRunner::runAllTests (listener=...) at /usr/include/cxxtest/TestRunner.h:40
#13 0x000000000042acbc in CxxTest::ErrorFormatter::run (this=0x7fffffffc860) at /usr/include/cxxtest/ErrorFormatter.h:63
#14 0x000000000041f742 in main () at /home/jalcine/Development/Projects/Wintermute/core/build/src/wintermute-transport-zeromq/test/plugin-unit-zmq_tunnel_test.cc:22
(gdb) up 3
#3 0x00007ffff7aa3141 in Wintermute::Tunnel::start()::{lambda(std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >)#2}::operator()(std::pair<std::string const, std::shared_ptr<Wintermute::Tunnel::Receiver> >) const (__closure=0x7fffffffc300, pair=...) at /home/jalcine/Development/Projects/Wintermute/core/src/wintermutecore/tunnel.cpp:181
181 pair.second->start();
(gdb) print pair
$95 = (pair &) @0x671bb8: {
first = 0x6719a0,
second = 0xe912d9786c8ba3b8
} |
Doing some more 'detective' work led to my discovery of this:
This is good news, in a while. This means (potentionally) all of my woes |
Woke up and conducted a little experiment. Lo and behold, the context that's
This is how I start the day. Oi. |
What: Once the loop is started from the test
plugin-unit-zmq_tunnel
, thetest segfaults with
SIGABRT
.How: Build up the system (use Vagrant) and run the test
plugin-unit-zmq_tunnel
(lives under bin/plugin-unit-zmq_tunnel).Output
Backtrace
The text was updated successfully, but these errors were encountered: