Bug 272218 - KTorrent crash on startup
Summary: KTorrent crash on startup
Status: RESOLVED DUPLICATE of bug 265492
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 10:12 UTC by Daniel Thaler
Modified: 2011-05-02 17:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Thaler 2011-05-02 10:12:54 UTC
Application: ktorrent (4.1.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
KTorrent no longer starts up.
Everytime I attamt to launch it, it crashes with the attached backtrace.
I'd be happy to test patches if this is not reproducible elsewhere.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f57bfb43700 (LWP 5135)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f57cecfa541 in wait (this=<value optimized out>, mutex=0x654b1f0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x654b1f0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f57ceceef67 in QThreadPoolThread::run (this=0x742c070) at concurrent/qthreadpool.cpp:140
#4  0x00007f57cecf9ef5 in QThreadPrivate::start (arg=0x742c070) at thread/qthread_unix.cpp:320
#5  0x00007f57cea69d4c in start_thread (arg=0x7f57bfb43700) at pthread_create.c:301
#6  0x00007f57cd38f40d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f57bd743700 (LWP 5136)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f57cecfa541 in wait (this=<value optimized out>, mutex=0x654b1f0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x654b1f0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f57ceceef67 in QThreadPoolThread::run (this=0x7f57b8001530) at concurrent/qthreadpool.cpp:140
#4  0x00007f57cecf9ef5 in QThreadPrivate::start (arg=0x7f57b8001530) at thread/qthread_unix.cpp:320
#5  0x00007f57cea69d4c in start_thread (arg=0x7f57bd743700) at pthread_create.c:301
#6  0x00007f57cd38f40d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f57d15e2760 (LWP 3481)):
[KCrash Handler]
#6  QAbstractSocketEngine::state (this=0x0) at socket/qabstractsocketengine.cpp:186
#7  0x00007f57cff4ca28 in QNativeSocketEngine::waitForReadOrWrite (this=0x0, readyToRead=<value optimized out>, readyToWrite=0x7fffc9fda68e, checkRead=true, checkWrite=<value optimized out>, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:988
#8  0x00007f57cff5dc6d in QAbstractSocket::waitForBytesWritten (this=0x7112fe0, msecs=-1) at socket/qabstractsocket.cpp:1924
#9  0x00007f57d029ff92 in KIO::SocketConnectionBackend::sendCommand (this=0x7abeda0, task=...) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kio/kio/connection.cpp:294
#10 0x00007f57d02a12ef in KIO::Connection::sendnow (this=0x6134cd0, _cmd=85, data=...) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kio/kio/connection.cpp:505
#11 0x00007f57d02a26c6 in KIO::ConnectionPrivate::dequeue (this=0x6198d90) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kio/kio/connection.cpp:78
#12 0x00007f57d036aa84 in KIO::Slave::accept (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kio/kio/slave.cpp:120
#13 0x00007f57d036b864 in KIO::Slave::qt_metacall (this=0x2216d50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc9fda830) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2_build/kio/slave.moc:81
#14 0x00007f57cedf6637 in QMetaObject::activate (sender=0x611fa20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#15 0x00007f57d02a1c90 in KIO::ConnectionServer::qt_metacall (this=0x611fa20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2_build/kio/connection.moc:146
#16 0x00007f57cedf6637 in QMetaObject::activate (sender=0x74307b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#17 0x00007f57d02a1b8c in KIO::AbstractConnectionBackend::qt_metacall (this=0x74307b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc9fdaa40) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2_build/kio/connection_p.moc:78
#18 0x00007f57d02a1bd8 in KIO::SocketConnectionBackend::qt_metacall (this=0x74307b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2_build/kio/connection_p.moc:153
#19 0x00007f57cedf6637 in QMetaObject::activate (sender=0x6103960, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#20 0x00007f57cf2d4ea0 in KLocalSocketServer::incomingConnection (this=0x6103960, descriptor=1204) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdecore/network/klocalsocket.cpp:212
#21 0x00007f57cf341b40 in KLocalSocketServerPrivate::processSocketActivity (this=0x734a8b0) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdecore/network/klocalsocket_unix.cpp:394
#22 0x00007f57cf2d4d52 in KLocalSocketServer::qt_metacall (this=0x6103960, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2_build/kdecore/klocalsocket.moc:140
#23 0x00007f57cedf6637 in QMetaObject::activate (sender=0x7348060, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc9fdac30) at kernel/qobject.cpp:3278
#24 0x00007f57cee3e64e in QSocketNotifier::activated (this=<value optimized out>, _t1=25) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#25 0x00007f57cedfccab in QSocketNotifier::event (this=0x7348060, e=0x7fffc9fdb2c0) at kernel/qsocketnotifier.cpp:317
#26 0x00007f57cdfadc54 in QApplicationPrivate::notify_helper (this=0x1377980, receiver=0x7348060, e=0x7fffc9fdb2c0) at kernel/qapplication.cpp:4462
#27 0x00007f57cdfb27da in QApplication::notify (this=<value optimized out>, receiver=0x7348060, e=0x7fffc9fdb2c0) at kernel/qapplication.cpp:4341
#28 0x000000000043ccb1 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at /var/tmp/portage/net-p2p/ktorrent-4.1.0/work/ktorrent-4.1.0/ktorrent/app.cpp:97
#29 0x00007f57cede1f5b in QCoreApplication::notifyInternal (this=0x7fffc9fdb5a0, receiver=0x7348060, event=0x7fffc9fdb2c0) at kernel/qcoreapplication.cpp:731
#30 0x00007f57cee0c7f8 in sendEvent (source=0x1377340) at kernel/qcoreapplication.h:215
#31 socketNotifierSourceDispatch (source=0x1377340) at kernel/qeventdispatcher_glib.cpp:110
#32 0x00007f57c8b1d30e in g_main_dispatch (context=0x1376c00) at gmain.c:2440
#33 g_main_context_dispatch (context=0x1376c00) at gmain.c:3013
#34 0x00007f57c8b1daf8 in g_main_context_iterate (context=0x1376c00, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#35 0x00007f57c8b1dd8d in g_main_context_iteration (context=0x1376c00, may_block=1) at gmain.c:3154
#36 0x00007f57cee0ce3f in QEventDispatcherGlib::processEvents (this=0x13769a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007f57ce05311e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f57cede1322 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f57cede1564 in QEventLoop::exec (this=0x7fffc9fdb500, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007f57cede59cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#41 0x000000000042c885 in main (argc=1, argv=0x7fffc9fdc418) at /var/tmp/portage/net-p2p/ktorrent-4.1.0/work/ktorrent-4.1.0/ktorrent/main.cpp:177

This bug may be a duplicate of or related to bug 265492.

Possible duplicates by query: bug 270025, bug 268864, bug 265492.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-05-02 17:56:19 UTC

*** This bug has been marked as a duplicate of bug 265492 ***