Application: ktorrent (4.0beta2) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: Started downloading about four big torrents, ~50gb in total. It was nearly 80% done. Then I noticed that ktorrent uses 1.2gb of memory and decided to restart ktorrent. When I did that ktorrent doesn't want to start at all. The crash can be reproduced every time. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault [Current thread is 1 (Thread 0x7f3fe0931760 (LWP 2951))] Thread 8 (Thread 0x7f3fc72e3710 (LWP 2957)): #0 0x00007f3fdc522f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f3fd8bb64a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007f3fd8bb68fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007f3fddfc4566 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f3fddf99992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f3fddf99d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f3fddea3d59 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f3fddea6775 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f3fddc169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007f3fdc52f69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f3fc7ae4710 (LWP 2958)): #0 0x00007f3fdc527fb3 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f3fe04b3cf2 in dht::RPCServerThread::run (this=0x26b99a0) at /home/darkskyghost/Downloads/ktorrent-4.0beta2/libbtcore/dht/rpcserver.cpp:107 #2 0x00007f3fddea6775 in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f3fddc169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #4 0x00007f3fdc52f69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f3fbea24710 (LWP 3160)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f3fddea7692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f3fdde9ca79 in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f3fddea6775 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f3fddc169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #5 0x00007f3fdc52f69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f3fb5813710 (LWP 3161)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f3fddea7692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f3fdde9ca79 in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f3fddea6775 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f3fddc169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #5 0x00007f3fdc52f69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f3fb5012710 (LWP 3162)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f3fddea7692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f3fdde9ca79 in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f3fddea6775 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f3fddc169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #5 0x00007f3fdc52f69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f3fb4811710 (LWP 3163)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f3fddea7692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f3fdde9ca79 in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f3fddea6775 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f3fddc169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #5 0x00007f3fdc52f69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f3fb4010710 (LWP 3164)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f3fddea7692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f3fdde9ca79 in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f3fddea6775 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f3fddc169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #5 0x00007f3fdc52f69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f3fe0931760 (LWP 2951)): [KCrash Handler] #5 net::Poll::add (this=0x6d2b80, fd=268, mode=net::Poll::INPUT) at /home/darkskyghost/Downloads/ktorrent-4.0beta2/libbtcore/net/poll.cpp:60 #6 0x00007f3fe04513c4 in net::Socket::prepare (this=0x49ef400, p=0x1000000ff, mode=net::Poll::INPUT) at /home/darkskyghost/Downloads/ktorrent-4.0beta2/libbtcore/net/socket.cpp:452 #7 0x00007f3fe045f9df in bt::AuthenticationMonitor::update (this=0x6d2b80) at /home/darkskyghost/Downloads/ktorrent-4.0beta2/libbtcore/peer/authenticationmonitor.cpp:93 #8 0x000000000042aa5a in kt::Core::update (this=0x296fda0) at /home/darkskyghost/Downloads/ktorrent-4.0beta2/ktorrent/core.cpp:1007 #9 0x0000000000432f02 in kt::Core::qt_metacall (this=0x296fda0, _c=QMetaObject::InvokeMetaMethod, _id=-3, _a=0x7ffff7ad67b0) at /home/darkskyghost/Downloads/ktorrent-4.0beta2/ktorrent/core.moc:167 #10 0x00007f3fddfade3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #11 0x00007f3fddfaaa63 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #12 0x00007f3fdd13722c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #13 0x00007f3fdd13d6fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #14 0x00007f3fdf5e1526 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #15 0x00007f3fddf9b06c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #16 0x00007f3fddfc7d42 in ?? () from /usr/lib/libQtCore.so.4 #17 0x00007f3fddfc4848 in ?? () from /usr/lib/libQtCore.so.4 #18 0x00007f3fd8bb28c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #19 0x00007f3fd8bb6748 in ?? () from /lib/libglib-2.0.so.0 #20 0x00007f3fd8bb68fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #21 0x00007f3fddfc4513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #22 0x00007f3fdd1e746e in ?? () from /usr/lib/libQtGui.so.4 #23 0x00007f3fddf99992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #24 0x00007f3fddf99d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #25 0x00007f3fddf9daab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #26 0x0000000000428d24 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/darkskyghost/Downloads/ktorrent-4.0beta2/ktorrent/main.cpp:173 Reported using DrKonqi
When I reinstalled KTorrent from compiled source, it starts normally. After waiting few minutes of downloading KTorrent can be restarted.
So everything is back OK ? Probably some version mixup.
No, it occasionally repeats. Last time after system reboot. Reinstall from compiled source helped once again. Should I attach info about each crash or it would be generally similar? Maybe I could provide any additional info?
If the crashes look the same, it is not very useful to post them. Could you try 4.0rc1, now that it is released ? There are several bugfixes in it, which could help fix this.
Created attachment 43262 [details] New crash information added by DrKonqi Installed new rc1, same thing happened. Two times suspended system, then restarted. After suspensions ktorrent worked, after restart - no.
Created attachment 43826 [details] New crash information added by DrKonqi I wanted to compile ktorr.4, but wouldn't let me beacuse some error related to ktmediaplayer at 53%. So i tried with cmake (...) -DENABLE_MEDIAPLAYER_PLUGIN=false added. Then i tried to run ktorrent and it crashed, so the Crash Report Assistant woke up. Didn't even restart the computer. That's the next step after filling this report. Thanks
*** Bug 238646 has been marked as a duplicate of this bug. ***
*** Bug 238647 has been marked as a duplicate of this bug. ***
Does this still happen with 4.0.2 ?