Bug 282449 - KTorrent crashes on opening
Summary: KTorrent crashes on opening
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 01:59 UTC by phloydmon
Modified: 2011-11-06 12:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phloydmon 2011-09-21 01:59:13 UTC
Application: ktorrent (4.1.2)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Linux Mint 10 Julia

-- Information about the crash:
Just finished installing 4.1.2 from 4.0.3.  Crashes as soon as I open it every time.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc0e714f760 (LWP 28119))]

Thread 6 (Thread 0x7fc0d80bf700 (LWP 28120)):
#0  0x00007fc0e2490203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc0dd60d009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc0dd60d7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007fc0d87f63c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fc0dd6327e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007fc0e3e42971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fc0e249c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc0c7d07700 (LWP 28122)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc0c4a7c20e in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fc0c4a7c329 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fc0e3e42971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007fc0e249c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc0bd55f700 (LWP 28128)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fc0e40cdda2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fc0e40c2da2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fc0e40cd27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fc0e3e42971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#5  0x00007fc0e249c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc0bcd5e700 (LWP 28129)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fc0e40cdda2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fc0e40c2da2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fc0e40cd27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fc0e3e42971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#5  0x00007fc0e249c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc0b7fff700 (LWP 28132)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fc0e40cdda2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fc0e40c2da2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fc0e40cd27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fc0e3e42971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#5  0x00007fc0e249c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc0e714f760 (LWP 28119)):
[KCrash Handler]
#6  0x00007fc0e40c7ddc in QMutex::lock() () from /usr/lib/libQtCore.so.4
#7  0x00007fc0e6c3af59 in QMutexLocker (this=0x6e3520, sock=0x326c170) at /usr/include/qt4/QtCore/qmutex.h:102
#8  net::SocketMonitor::add (this=0x6e3520, sock=0x326c170) at /home/brian/Downloads/libktorrent-1.1.2/src/net/socketmonitor.cpp:146
#9  0x00007fc0e6c43100 in mse::StreamSocket::startMonitoring (this=0x35e0f70, rdr=0x32aa090, wrt=0xe2735001) at /home/brian/Downloads/libktorrent-1.1.2/src/mse/streamsocket.cpp:94
#10 0x00007fc0e6c4e467 in bt::Peer::Peer (this=0x37bcc10, sock=..., peer_id=..., num_chunks=<value optimized out>, chunk_size=<value optimized out>, support=<value optimized out>, local=false, pman=0x250cff0) at /home/brian/Downloads/libktorrent-1.1.2/src/peer/peer.cpp:95
#11 0x00007fc0e6c53fc7 in bt::PeerManager::Private::createPeer (this=0x250ec50, sock=<value optimized out>, peer_id=<value optimized out>, support=20, local=false) at /home/brian/Downloads/libktorrent-1.1.2/src/peer/peermanager.cpp:782
#12 0x00007fc0e6c55110 in bt::PeerManager::peerAuthenticated (this=0x250cff0, auth=<value optimized out>, pcon=) at /home/brian/Downloads/libktorrent-1.1.2/src/peer/peermanager.cpp:294
#13 0x00007fc0e6c5e492 in bt::PeerConnector::Private::authenticationFinished (this=0x305eae0, auth=<value optimized out>, ok=<value optimized out>) at /home/brian/Downloads/libktorrent-1.1.2/src/peer/peerconnector.cpp:138
#14 0x00007fc0e6c4730d in bt::Authenticate::onFinish (this=0x357b740, succes=true) at /home/brian/Downloads/libktorrent-1.1.2/src/peer/authenticate.cpp:170
#15 0x00007fc0e6c46cae in bt::Authenticate::handshakeReceived (this=0x357b740, full=<value optimized out>) at /home/brian/Downloads/libktorrent-1.1.2/src/peer/authenticate.cpp:206
#16 0x00007fc0e6c49289 in bt::AuthenticationMonitor::handleData (this=0x6e2f00) at /home/brian/Downloads/libktorrent-1.1.2/src/peer/authenticationmonitor.cpp:136
#17 0x00007fc0e6c4945d in bt::AuthenticationMonitor::update (this=0x6e2f00) at /home/brian/Downloads/libktorrent-1.1.2/src/peer/authenticationmonitor.cpp:111
#18 0x000000000042b87f in kt::Core::update (this=0x7fc0d0003fd0) at /home/brian/Downloads/ktorrent-4.1.2/ktorrent/core.cpp:1043
#19 0x00000000004345d1 in kt::Core::qt_metacall (this=0x7fc0d0003fd0, _c=QMetaObject::InvokeMetaMethod, _id=56495992, _a=0x7fffe1d86fc0) at /home/brian/Downloads/ktorrent-4.1.2/build/ktorrent/core.moc:164
#20 0x00007fc0e41d8b27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x00007fc0e41d28f9 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x00007fc0e308ffdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fc0e3095aed in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x000000000043aa7a in kt::App::notify (this=0x34ccb00, receiver=0x326c170, event=0xe2735001) at /home/brian/Downloads/ktorrent-4.1.2/ktorrent/app.cpp:99
#25 0x00007fc0e41c0cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007fc0e41f06f2 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007fc0e41ed4c8 in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007fc0dd609342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007fc0dd60d2a8 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007fc0dd60d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007fc0e41ed193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007fc0e3142a4e in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fc0e41bfa02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007fc0e41bfdec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007fc0e41c3ebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0x0000000000429822 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/brian/Downloads/ktorrent-4.1.2/ktorrent/main.cpp:177

Possible duplicates by query: bug 238794.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-09-21 16:32:56 UTC
Try uninstalling the older version completely and then reinstall the newer version. I have got a feeling that this has something to do with plugins from the older version getting loaded which have been linked against the older version of libktorrent.
Comment 2 Joris Guisson 2011-09-21 16:33:41 UTC
Did you do a make install after you compiled libktorrent and before you compiled ktorrent ?
Comment 3 Joris Guisson 2011-11-06 12:14:18 UTC
Can't reproduce and no response on questions by poster, so closing.