Application that crashed: ktorrent Version of the application: 3.2.4 KDE Version: 4.3.1 (KDE 4.3.1) "release 169" Qt Version: 4.5.2 Operating System: Linux 2.6.31.1-3-default i686 Distribution: "openSUSE 11.1 (i586)" What I was doing when the application crashed: use ktorrent 4.3.2 about 2 hours, then add some new torrents and switch to opera 10. Then crash occurs. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault [Current thread is 1 (Thread 0xb56cd920 (LWP 3426))] Thread 3 (Thread 0xb12f7b90 (LWP 3433)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb70cec35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb712cc22 in ?? () from /usr/lib/libQtCore.so.4 #3 0xb71281f5 in QMutex::lock() () from /usr/lib/libQtCore.so.4 #4 0xb7f69e86 in bt::PacketReader::onDataReady (this=0x90a18d8, buf=0xb801cb40 "�aH$Z\v", size=1340) at /usr/src/debug/ktorrent-3.2.4/libbtcore/peer/packetreader.cpp:223 #5 0xb7f555a4 in mse::StreamSocket::onDataReady (this=0x95ccd78, buf=0xb801cb40 "�aH$Z\v", size=1340) at /usr/src/debug/ktorrent-3.2.4/libbtcore/mse/streamsocket.cpp:280 #6 0xb7f4bf42 in net::BufferedSocket::readBuffered (this=0x95cdde0, max_bytes_to_read=3552, now=1256759917578) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/bufferedsocket.cpp:110 #7 0xb7f52502 in net::SocketGroup::processLimited (this=0x81095a8, up=false, now=1256759917578, allowance=@0xb12f7244) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/socketgroup.cpp:79 #8 0xb7f5267e in net::SocketGroup::process (this=0x81095a8, up=false, now=1256759917578, global_allowance=@0xb12f7244) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/socketgroup.cpp:188 #9 0xb7f527ce in net::SocketGroup::download (this=0x81095a8, global_allowance=@0xb12f7244, now=1256759917578) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/socketgroup.cpp:110 #10 0xb7f502a2 in net::DownloadThread::doGroup (this=0x8109290, g=0x81095a8, allowance=@0xb12f7244, now=1258425417216) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/downloadthread.cpp:124 #11 0xb7f50d1c in net::NetworkThread::doGroupsLimited (this=0x8109290, num_ready=1, now=1256759917578, allowance=@0xb12f72d4) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:111 #12 0xb7f510f4 in net::NetworkThread::doGroups (this=0x8109290, num_ready=1, now=1256759917578, limit=208896) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:190 #13 0xb7f50961 in net::DownloadThread::update (this=0x8109290) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/downloadthread.cpp:102 #14 0xb7f51228 in net::NetworkThread::run (this=0x8109290) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:48 #15 0xb712d572 in ?? () from /usr/lib/libQtCore.so.4 #16 0xb70cb1b5 in start_thread () from /lib/libpthread.so.0 #17 0xb65813be in clone () from /lib/libc.so.6 Thread 2 (Thread 0xb0af6b90 (LWP 3434)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb70cec35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb712cc22 in ?? () from /usr/lib/libQtCore.so.4 #3 0xb712818d in QMutex::lock() () from /usr/lib/libQtCore.so.4 #4 0xb7f4eae0 in net::SocketMonitor::lock (this=0xb8020b4c) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/socketmonitor.cpp:74 #5 0xb7f4fd82 in net::UploadThread::update (this=0x81095f0) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/uploadthread.cpp:44 #6 0xb7f51228 in net::NetworkThread::run (this=0x81095f0) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:48 #7 0xb712d572 in ?? () from /usr/lib/libQtCore.so.4 #8 0xb70cb1b5 in start_thread () from /lib/libpthread.so.0 #9 0xb65813be in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb56cd920 (LWP 3426)): [KCrash Handler] #6 0xb7237e28 in QObject::~QObject() () from /usr/lib/libQtCore.so.4 #7 0xb7f77057 in bt::Downloader::clearDownloads (this=0x90bb2f8) at /usr/src/debug/ktorrent-3.2.4/libbtcore/util/ptrmap.h:90 #8 0xb7f9cc50 in bt::TorrentControl::stop (this=0x90a1e68, user=false, wjob=0x0) at /usr/src/debug/ktorrent-3.2.4/libbtcore/torrent/torrentcontrol.cpp:475 #9 0xb7f99633 in bt::TorrentControl::update (this=0x90a1e68) at /usr/src/debug/ktorrent-3.2.4/libbtcore/torrent/torrentcontrol.cpp:169 #10 0x0806cf66 in kt::Core::update (this=0x81dcfd8) at /usr/src/debug/ktorrent-3.2.4/ktorrent/core.cpp:877 #11 0x08072ac3 in kt::Core::qt_metacall (this=0x81dcfd8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfe514a8) at /usr/src/debug/ktorrent-3.2.4/build/ktorrent/core.moc:148 #12 0xb7237788 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #13 0xb7238412 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #14 0xb7273fe7 in QTimer::timeout() () from /usr/lib/libQtCore.so.4 #15 0xb723dc0e in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4 #16 0xb723272f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #17 0xb68597bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #18 0xb6861aae in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #19 0xb798017d in KApplication::notify (this=0xbfe51c0c, receiver=0x81dcfec, event=0xbfe51950) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302 #20 0xb722216b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #21 0xb72515f6 in ?? () from /usr/lib/libQtCore.so.4 #22 0xb724d980 in ?? () from /usr/lib/libQtCore.so.4 #23 0xb5b209c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #24 0xb5b24083 in ?? () from /usr/lib/libglib-2.0.so.0 #25 0xb5b24241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #26 0xb724d8d8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #27 0xb68f9ca5 in ?? () from /usr/lib/libQtGui.so.4 #28 0xb722078a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0xb7220bd2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #30 0xb7223079 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #31 0xb6859637 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #32 0x08065c89 in main (argc=5, argv=0xbfe51fa4) at /usr/src/debug/ktorrent-3.2.4/ktorrent/main.cpp:171 Reported using DrKonqi
From bug 212253: -------- What I was doing when the application crashed: start ktorrent, see some information about currently active torrents, when goto about page and see it. The application crash
*** Bug 212253 has been marked as a duplicate of this bug. ***
Can you send me your log files ? They can be found in ~/.kde/share/apps/ktorrent and are named log1.gz to log10.gz
Looking at the crash, it seems I fixed this earlier this week. The fix will be in 3.3.
Thank you. I try to use ktorrent 3.3 when openSUSE team include this version in the project (may be in 11.2 or later version). I new in linux and can't resolve some problems with compiling your sources (3.3.rc1) from http:\\ktorrent.org (may be OpenSUSE team rename some libraries uses by your program, like they do with kdebase4 (if i not do mistake, in OpenSUSE it named like kdelib4)) this is an output from cmake: -- Found Qt-Version 4.5.3 (using /usr/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Phonon Version: 4.3.0 -- Found KDE 4.3 include dir: /usr/include -- Found KDE 4.3 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE): Could NOT find QCA2 (missing: QCA2_LIBRARIES QCA2_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/kde4/apps/cmake/modules/FindQCA2.cmake:44 (find_package_handle_standard_args) CMakeLists.txt:5 (find_package)
"Could NOT find QCA2" Install the QCA2 development packages
*** Bug 212921 has been marked as a duplicate of this bug. ***