Page 1 of 1
Segfaults like crazy lately
Posted: Mon May 13, 2013 1:48 am
by chriscrutch
I've been running Deluge 1.3.5 for a while now, using Ubuntu's repos for 12.04. Just in the last couple of weeks, I've been experiencing an enormous amount of segfaults at seemingly random intervals, but it very rarely lasts more than an hour without a crash. To see if it would make a difference, I downloaded 1.3.6 and installed that instead. If anything it seems worse, although that's probably just a fluke.
I have a log file, but I'm not a developer. That said, It doesn't appear that anything unusual is happening just prior to the crashes.
Log attached. Please let me know what I need to do next. Thanks.
--chriscrutch
Re: Segfaults like crazy lately
Posted: Mon May 13, 2013 2:17 am
by Cas
Re: Segfaults like crazy lately
Posted: Mon May 13, 2013 5:03 am
by chriscrutch
gdb.txt is over 7MB with more than 80,000 lines of repeating text. Is that what you'll need?
--chriscrutch
Re: Segfaults like crazy lately
Posted: Mon May 13, 2013 2:12 pm
by Cas
what is the summary?
Re: Segfaults like crazy lately
Posted: Mon May 13, 2013 6:45 pm
by chriscrutch
Hope I'm giving you what you need here.
Code: Select all
Thread 6 (Thread 0x7ffff0840700 (LWP 7221)):
#0 0x00007ffff7bcafd0 in sem_wait ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x0000000000547525 in lock_PyThread_acquire_lock.49023 ()
#2 0x0000000000497ea4 in PyEval_EvalFrameEx ()
#3 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#4 0x00000000004983b8 in PyEval_EvalFrameEx ()
#5 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#6 0x00000000004983b8 in PyEval_EvalFrameEx ()
#7 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#8 0x00000000004a8a92 in function_call ()
#9 0x00000000004e9f36 in PyObject_Call ()
#10 0x0000000000499bc0 in PyEval_EvalFrameEx ()
#11 0x0000000000498602 in PyEval_EvalFrameEx ()
#12 0x0000000000498602 in PyEval_EvalFrameEx ()
#13 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#14 0x00000000004a8960 in function_call ()
#15 0x00000000004e9f36 in PyObject_Call ()
#16 0x00000000004ec11a in instancemethod_call.8548 ()
#17 0x00000000004e9f36 in PyObject_Call ()
#18 0x00000000004ea396 in PyEval_CallObjectWithKeywords ()
#19 0x00000000004b0bc8 in t_bootstrap.49015 ()
#20 0x00007ffff7bc4e9a in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#21 0x00007ffff699eccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#22 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7ffff1041700 (LWP 7220)):
#0 0x00007ffff7bc8d84 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff478c44b in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/libtorrent-rasterbar.so.6
#2 0x00007ffff478c716 in boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service_base::work_io_service_runner>::run() ()
from /usr/lib/libtorrent-rasterbar.so.6
#3 0x00007ffff478836e in boost_asio_detail_posix_thread_function ()
from /usr/lib/libtorrent-rasterbar.so.6
#4 0x00007ffff7bc4e9a in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#5 0x00007ffff699eccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7ffff24aa700 (LWP 7219)):
#0 0x00007ffff7bc8d84 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff478c44b in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/libtorrent-rasterbar.so.6
#2 0x00007ffff478c716 in boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service_base::work_io_service_runner>::run() ()
from /usr/lib/libtorrent-rasterbar.so.6
#3 0x00007ffff478836e in boost_asio_detail_posix_thread_function ()
from /usr/lib/libtorrent-rasterbar.so.6
#4 0x00007ffff7bc4e9a in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#5 0x00007ffff699eccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7ffff2eb8700 (LWP 7218)):
#0 0x00007ffff47dd73c in libtorrent::peer_connection::setup_send() ()
from /usr/lib/libtorrent-rasterbar.so.6
#1 0x00007ffff47dd668 in libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*) ()
from /usr/lib/libtorrent-rasterbar.so.6
Then lots of those last five lines, repeating with different hex addresses for about 80,600 lines, then this:
Code: Select all
#40303 0x00007ffff47dd668 in libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*) ()
from /usr/lib/libtorrent-rasterbar.so.6
#40304 0x00007ffff47dd79a in libtorrent::peer_connection::setup_send() ()
from /usr/lib/libtorrent-rasterbar.so.6
#40305 0x00007ffff47d526e in libtorrent::peer_connection::on_send_data(boost::system::error_code const&, unsigned long) ()
from /usr/lib/libtorrent-rasterbar.so.6
#40306 0x00007ffff47e74b4 in boost::asio::detail::reactive_socket_send_op<std::list<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, libtorrent::peer_connection::allocating_handler<boost::_bi::bind_t<void, boost::_mfi::mf2<void, libtorrent::peer_connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection> >, boost::arg<1>, boost::arg<2> > >, 256ul> >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code, unsigned long) ()
from /usr/lib/libtorrent-rasterbar.so.6
#40307 0x00007ffff478c572 in boost::asio::detail::task_io_service::run(boost::system::error_code&) () from /usr/lib/libtorrent-rasterbar.so.6
#40308 0x00007ffff4804a11 in libtorrent::aux::session_impl::operator()() ()
from /usr/lib/libtorrent-rasterbar.so.6
#40309 0x00007ffff3b03ce9 in thread_proxy ()
from /usr/lib/libboost_thread.so.1.46.1
#40310 0x00007ffff7bc4e9a in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#40311 0x00007ffff699eccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#40312 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7ffff36b9700 (LWP 7217)):
#0 0x00007ffff7bc8d84 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff4771db2 in libtorrent::disk_io_thread::operator()() ()
from /usr/lib/libtorrent-rasterbar.so.6
#2 0x00007ffff3b03ce9 in thread_proxy ()
from /usr/lib/libboost_thread.so.1.46.1
#3 0x00007ffff7bc4e9a in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#4 0x00007ffff699eccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fce700 (LWP 7187)):
#0 0x00007ffff7bcb89c in __lll_lock_wait ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff7bc7065 in _L_lock_858 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007ffff7bc6eba in pthread_mutex_lock ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff47f8916 in ?? () from /usr/lib/libtorrent-rasterbar.so.6
#4 0x00007ffff47fa849 in libtorrent::session::pop_alert() ()
from /usr/lib/libtorrent-rasterbar.so.6
#5 0x00007ffff4ccecc4 in boost::python::objects::caller_py_function_impl<boost::python::detail::caller<allow_threading<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)(), std::auto_ptr<libtorrent::alert> >, boost::python::default_call_policies, boost::mpl::vector2<std::auto_ptr<libtorrent::alert>, libtorrent::session&> > >::operator()(_object*, _object*) ()
from /usr/lib/python2.7/dist-packages/libtorrent.so
#6 0x00007ffff4038c1f in boost::python::objects::function::call(_object*, _object*) const () from /usr/lib/libboost_python-py27.so.1.46.1
#7 0x00007ffff4038e78 in ?? () from /usr/lib/libboost_python-py27.so.1.46.1
#8 0x00007ffff4042003 in boost::python::handle_exception_impl(boost::function0<void>) () from /usr/lib/libboost_python-py27.so.1.46.1
#9 0x00007ffff4037144 in ?? () from /usr/lib/libboost_python-py27.so.1.46.1
#10 0x00000000004e9f36 in PyObject_Call ()
#11 0x000000000049846a in PyEval_EvalFrameEx ()
#12 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#13 0x00000000004983b8 in PyEval_EvalFrameEx ()
#14 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#15 0x00000000004a8a92 in function_call ()
#16 0x00000000004e9f36 in PyObject_Call ()
#17 0x0000000000499bc0 in PyEval_EvalFrameEx ()
#18 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#19 0x00000000004a8a92 in function_call ()
#20 0x00000000004e9f36 in PyObject_Call ()
#21 0x0000000000499bc0 in PyEval_EvalFrameEx ()
#22 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#23 0x00000000004a8a92 in function_call ()
#24 0x00000000004e9f36 in PyObject_Call ()
#25 0x00000000004ec11a in instancemethod_call.8548 ()
#26 0x00000000004e9f36 in PyObject_Call ()
#27 0x00000000004eb62e in slot_tp_call.25635 ()
#28 0x00000000004e9f36 in PyObject_Call ()
#29 0x0000000000499bc0 in PyEval_EvalFrameEx ()
#30 0x0000000000498602 in PyEval_EvalFrameEx ()
#31 0x0000000000498602 in PyEval_EvalFrameEx ()
#32 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#33 0x00000000004983b8 in PyEval_EvalFrameEx ()
#34 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#35 0x00000000004a8960 in function_call ()
#36 0x00000000004e9f36 in PyObject_Call ()
#37 0x00000000004ec11a in instancemethod_call.8548 ()
#38 0x00000000004e9f36 in PyObject_Call ()
#39 0x00000000004eb39e in slot_tp_init.25612 ()
#40 0x00000000004db6a6 in type_call.25261 ()
#41 0x00000000004e9f36 in PyObject_Call ()
#42 0x000000000049846a in PyEval_EvalFrameEx ()
#43 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#44 0x00000000004983b8 in PyEval_EvalFrameEx ()
#45 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#46 0x00000000004a9081 in PyRun_FileExFlags ()
#47 0x00000000004a9311 in PyRun_SimpleFileExFlags ()
#48 0x00000000004aa8bd in Py_Main ()
#49 0x00007ffff68cc76d in __libc_start_main ()
from /lib/x86_64-linux-gnu/libc.so.6
#50 0x000000000041b9b1 in _start ()
Thank you.
--chriscrutch
Re: Segfaults like crazy lately
Posted: Mon May 13, 2013 9:42 pm
by Cas
It has been reported and fixed upstream:
https://code.google.com/p/libtorrent/is ... ail?id=421
If I can find the time I will attempt to update the libtorrent 0.15 on the PPA.
Re: Segfaults like crazy lately
Posted: Mon May 13, 2013 10:51 pm
by chriscrutch
Thanks for the awesomely quick response!
--chriscrutch