Page 1 of 1

Deluge Crashes When One (of Two) Torrents Paused

Posted: Sat Feb 16, 2008 2:14 am
by cb474
I was running Deluge the other day, with one torrent paused, while trying to download another torrent, and Deluge kept repeatedly crashing. Torrent A I had started to download the day before and paused it when I had to shutdown my computer. The next time I started up Deluge, the paused torrent A appeared in Deluge and I left it paused, while I started to download torrent B. Torrent B would consistently download for about five minutes (until 10 to 20 Mbs had come down) and then Deluge would crash. I would then restart Deluge and Torrent B would still be there, but it would start downloading from the beginning, as if the partial file that had already been downloaded wasn't on my drive (even though it was there in exactly the file path to which Deluge was continuing to download torrent B). After a few minutes Deluge would crash again. This happened several times over, until finally I unpaused torrent A and then with torrents A and B downloading simultaneously it worked fine.

I'm running Deluge 5.8.4, under Debian Lenny. Although I first saw this behavior under 5.8.3. I upgraded to 5.8.4, thinking it might solve the crashes, but the problem continued.

This is the bug report that I would get when Deluge crashed:
System: Linux 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 150024192 vsize: 150024192 resident: 68145152 share: 18821120 rss: 68145152 rss_rlim: 4294967295
CPU usage: start_time: 1203056453 rtime: 2478 utime: 2195 stime: 283 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/deluge'

(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d4c8c0 (LWP 23473)]
[New Thread 0xb3baab90 (LWP 23513)]
[New Thread 0xb488eb90 (LWP 23504)]
[New Thread 0xb56cdb90 (LWP 23483)]
[New Thread 0xb5eceb90 (LWP 23482)]
[New Thread 0xb66cfb90 (LWP 23481)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7ed58eb in waitpid () from /lib/i686/cmov/libpthread.so.0
#2 0xb7a7db84 in IA__g_spawn_sync (working_directory=0x0, argv=0x89d16a8,
envp=0x0, flags=<value optimized out>, child_setup=0, user_data=0x0,
standard_output=0x0, standard_error=0x0, exit_status=0x0,
error=0xbf8445f8) at /build/buildd/glib2.0-2.14.5/glib/gspawn.c:369
#3 0xb7a7de9c in IA__g_spawn_command_line_sync (
command_line=0xa5d2c38 "bug-buddy --appname=\"deluge\" --pid=23473",
standard_output=0x0, standard_error=0x0, exit_status=0x0,
error=0xbf8445f8) at /build/buildd/glib2.0-2.14.5/glib/gspawn.c:677
#4 0xb6f4d268 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#5 <signal handler called>
#6 0xb6b9f73d in libtorrent::piece_manager::export_piece_map ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
#7 0xb6badff5 in libtorrent::torrent_handle::write_resume_data ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
#8 0xb6c46c51 in ?? ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
#9 0x080b9ecc in PyEval_EvalFrame ()
#10 0x080bb366 in PyEval_EvalCodeEx ()
#11 0x081022b0 in ?? ()
#12 0xb6f7e560 in ?? ()
#13 0xb6f7a604 in ?? ()
#14 0x00000000 in ?? ()

Thread 6 (Thread 0xb66cfb90 (LWP 23481)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7ed1aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb6985ff4 in boost::detail::condition_impl::do_wait ()
from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
No symbol table info available.
#3 0xb6a82303 in libtorrent::disk_io_thread::operator() ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#4 0xb6a854bf in boost::detail::function::void_function_ref_invoker0<libtorrent::disk_io_thread, void>::invoke ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#5 0xb6c3396b in boost::function0<void, std::allocator<boost::function_base> >::operator() () from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#6 0xb6988b87 in ?? ()
from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
No symbol table info available.
#7 0xb7ecd4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#8 0xb7e2393e in clone () from /lib/i686/cmov/libc.so.6
No symbol table info available.

Thread 5 (Thread 0xb5eceb90 (LWP 23482)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7ed4589 in __lll_lock_wait () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7ecfbb4 in _L_lock_236 () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#3 0xb7ecf60b in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#4 0xb6987932 in boost::recursive_mutex::do_lock ()
from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
No symbol table info available.
#5 0xb6a8e8c1 in libtorrent::peer_connection::on_receive_data ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#6 0xb6a98d71 in asio::asio_handler_invoke<asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, libtorrent::peer_connection, asio::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, asio::error_code, int> > ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#7 0xb6aac0f5 in asio::detail::handler_queue::handler_wrapper<asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, libtorrent::peer_connection, asio::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, asio::error_code, int> >::do_call ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#8 0xb6b7f8b4 in asio::detail::task_io_service<asio::detail::epoll_reactor<false> >::do_one () from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#9 0xb6b755c6 in libtorrent::aux::session_impl::operator() ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#10 0xb6b86d7f in boost::detail::function::void_function_ref_invoker0<libtorrent::aux::session_impl, void>::invoke ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#11 0xb6c3396b in boost::function0<void, std::allocator<boost::function_base> >::operator() () from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#12 0xb6988b87 in ?? ()
from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
No symbol table info available.
#13 0xb7ecd4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#14 0xb7e2393e in clone () from /lib/i686/cmov/libc.so.6
No symbol table info available.

Thread 4 (Thread 0xb56cdb90 (LWP 23483)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7ed1aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb6985ff4 in boost::detail::condition_impl::do_wait ()
from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
No symbol table info available.
#3 0xb6b6e381 in libtorrent::aux::checker_impl::operator() ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#4 0xb6b8548f in boost::detail::function::void_function_ref_invoker0<libtorrent::aux::checker_impl, void>::invoke ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#5 0xb6c3396b in boost::function0<void, std::allocator<boost::function_base> >::operator() () from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#6 0xb6988b87 in ?? ()
from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
No symbol table info available.
#7 0xb7ecd4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#8 0xb7e2393e in clone () from /lib/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb488eb90 (LWP 23504)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7e24156 in epoll_wait () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb6aa1a9d in asio::detail::epoll_reactor<false>::run ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#3 0xb6aa32a4 in asio::detail::task_io_service<asio::detail::epoll_reactor<false> >::run () from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#4 0xb6b1c460 in asio::detail::posix_thread::func<asio::detail::resolver_service<asio::ip::udp>::work_io_service_runner>::run ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#5 0xb6a99b55 in asio_detail_posix_thread_function ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#6 0xb7ecd4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#7 0xb7e2393e in clone () from /lib/i686/cmov/libc.so.6
No symbol table info available.

Thread 2 (Thread 0xb3baab90 (LWP 23513)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7e24156 in epoll_wait () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb6aa1a9d in asio::detail::epoll_reactor<false>::run ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#3 0xb6aa32a4 in asio::detail::task_io_service<asio::detail::epoll_reactor<false> >::run () from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#4 0xb6aa3b00 in asio::detail::posix_thread::func<asio::detail::resolver_service<asio::ip::tcp>::work_io_service_runner>::run ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#5 0xb6a99b55 in asio_detail_posix_thread_function ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#6 0xb7ecd4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#7 0xb7e2393e in clone () from /lib/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb7d4c8c0 (LWP 23473)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7ed58eb in waitpid () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7a7db84 in IA__g_spawn_sync (working_directory=0x0, argv=0x89d16a8,
envp=0x0, flags=<value optimized out>, child_setup=0, user_data=0x0,
standard_output=0x0, standard_error=0x0, exit_status=0x0,
error=0xbf8445f8) at /build/buildd/glib2.0-2.14.5/glib/gspawn.c:369
outpipe = -1
errpipe = -1
pid = 28308
fds = {__fds_bits = {-1213475972, 0, 172584576, -1081851032,
-1213817119, 8, 172584576, 4, -1213475972, 0, 172584576, -1081850920,
-1213829414, 172584576, -1213908416, 0, 153797576, -1, -1208954892,
-1225840164, 136902880, -1209443552, 11, 10, -1081850936, -1081850940,
144512680, 3, 0, 8668164, 857874952, 172584576}}
ret = <value optimized out>
outstr = (GString *) 0x0
errstr = (GString *) 0x0
failed = 0
status = <value optimized out>
__PRETTY_FUNCTION__ = "IA__g_spawn_sync"
#3 0xb7a7de9c in IA__g_spawn_command_line_sync (
command_line=0xa5d2c38 "bug-buddy --appname=\"deluge\" --pid=23473",
standard_output=0x0, standard_error=0x0, exit_status=0x0,
error=0xbf8445f8) at /build/buildd/glib2.0-2.14.5/glib/gspawn.c:677
retval = 0
argv = (gchar **) 0x89d16a8
__PRETTY_FUNCTION__ = "IA__g_spawn_command_line_sync"
#4 0xb6f4d268 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#5 <signal handler called>
No symbol table info available.
#6 0xb6b9f73d in libtorrent::piece_manager::export_piece_map ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#7 0xb6badff5 in libtorrent::torrent_handle::write_resume_data ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#8 0xb6c46c51 in ?? ()
from /var/lib/python-support/python2.4/deluge/deluge_core.so
No symbol table info available.
#9 0x080b9ecc in PyEval_EvalFrame ()
No symbol table info available.
#10 0x080bb366 in PyEval_EvalCodeEx ()
No symbol table info available.
#11 0x081022b0 in ?? ()
No symbol table info available.
#12 0xb6f7e560 in ?? ()
No symbol table info available.
#13 0xb6f7a604 in ?? ()
No symbol table info available.
#14 0x00000000 in ?? ()
No symbol table info available.
#0 0xffffe410 in __kernel_vsyscall ()
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (475 sec old) ---------------------
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.

Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin EventLogging
Initialising plugin TorrentFiles
Initialising plugin WebUi
Initialising plugin Search
Initialising plugin WebSeed
Initialising plugin NetworkGraph
Initialising plugin TorrentCreator
Initialising plugin NetworkHealth
Initialising plugin MoveTorrent
In
...Too much output, ignoring rest...
--------------------------------------------------