Robin Mahony
unread,Apr 30, 2015, 2:33:29 PM4/30/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cpp-dri...@lists.datastax.com
Hi again,
I have run into the below segfault while trying to close my connection to Cassandra via the driver. It appears that I was trying to close a connection that was never successfully created.
1430418665.981 [ERROR] (src/connection.cpp:643:void cass::Connection::notify_error(const string&)): Host 10.96.98.209 had the following error on startup: 'Connection timeout'
Any ideas why this would cause a segfault? Stack trace is below.
Cheers,
Robin
#0 0x00007f5865927b55 in raise () from /lib64/libc.so.6
#1 0x00007f5865929131 in abort () from /lib64/libc.so.6
#2 0x0000000000b4821d in OSL_Debug_Halt () at libs/osl/OSL_Debug.cc:92
#3 0x0000000000813a8f in Signal_FatalHandler (SigNum=<optimized out>) at modules/SignalHandler_Module/SignalHandler_Module.cc:203
#4 <signal handler called>
#5 0x00007f5866ce50fe in cass::ScopedPtr<cass::AsyncQueue<cass::MPMCQueue<cass::SessionEvent> >, cass::DefaultDeleter<cass::AsyncQueue<cass::MPMCQueue<cass::SessionEvent> > > >::operator->() const ()
from /usr/lib64/libcassandra.so.1
#6 0x00007f5866ce4902 in cass::EventThread<cass::SessionEvent>::send_event_async(cass::SessionEvent const&) () from /usr/lib64/libcassandra.so.1
#7 0x00007f5866ce0110 in cass::Session::notify_up_async(cass::Address const&) () from /usr/lib64/libcassandra.so.1
#8 0x00007f5866d31858 in cass::IOWorker::notify_pool_ready(cass::Pool*) () from /usr/lib64/libcassandra.so.1
#9 0x00007f5866d3ac6a in cass::Pool::maybe_notify_ready() () from /usr/lib64/libcassandra.so.1
#10 0x00007f5866d3b3b9 in cass::Pool::on_connection_closed(cass::Connection*) () from /usr/lib64/libcassandra.so.1
#11 0x00007f5866d3e9bc in boost::_mfi::mf1<void, cass::Pool, cass::Connection*>::operator()(cass::Pool*, cass::Connection*) const () from /usr/lib64/libcassandra.so.1
#12 0x00007f5866d3e3aa in void boost::_bi::list2<boost::_bi::value<cass::Pool*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, cass::Pool, cass::Connection*>, boost::_bi::list1<cass::Connection*&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, cass::Pool, cass::Connection*>&, boost::_bi::list1<cass::Connection*&>&, int) () from /usr/lib64/libcassandra.so.1
#13 0x00007f5866d3dc64 in void boost::_bi::bind_t<void, boost::_mfi::mf1<void, cass::Pool, cass::Connection*>, boost::_bi::list2<boost::_bi::value<cass::Pool*>, boost::arg<1> > >::operator()<cass::Connection*>(cass::Connection*&) () from /usr/lib64/libcassandra.so.1
#14 0x00007f5866d3d231 in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, cass::Pool, cass::Connection*>, boost::_bi::list2<boost::_bi::value<cass::Pool*>, boost::arg<1> > >, void, cass::Connection*>::invoke(boost::detail::function::function_buffer&, cass::Connection*) () from /usr/lib64/libcassandra.so.1
#15 0x00007f5866d2a571 in boost::function1<void, cass::Connection*>::operator()(cass::Connection*) const () from /usr/lib64/libcassandra.so.1
#16 0x00007f5866d26550 in cass::Connection::on_close(uv_handle_s*) () from /usr/lib64/libcassandra.so.1
#17 0x00007f58638a697f in uv_run () from /usr/lib64/libuv.so.1
#18 0x00007f5866ce2dc6 in cass::LoopThread::on_run_internal(void*) () from /usr/lib64/libcassandra.so.1
#19 0x00007f58638afee0 in ?? () from /usr/lib64/libuv.so.1
#20 0x00007f586922b7b6 in start_thread () from /lib64/libpthread.so.0
#21 0x00007f58659ced6d in clone () from /lib64/libc.so.6
#22 0x0000000000000000 in ?? ()