Bug 449121

Summary: start ktorrent, it crashes immediately
Product: [Applications] ktorrent Reporter: grimripper.mot
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description grimripper.mot 2022-01-25 09:15:16 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-210-generic x86_64
Distribution: Ubuntu 16.04.7 LTS

-- Information about the crash:
- What I was doing when the application crashed:

start ktorrent, it crashes immediately
start ktorrent, it crashes immediately

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fee9703d900 (LWP 4299))]

Thread 7 (Thread 0x7fee6bfff700 (LWP 4306)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fee939fc384 in QWaitConditionPrivate::wait (time=30000, this=0x26710f0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x2670ea0, mutex=mutex@entry=0x264b758, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee939eefe7 in QThreadPoolThread::run (this=0x2670e90) at concurrent/qthreadpool.cpp:142
#4  0x00007fee939fbe3c in QThreadPrivate::start (arg=0x2670e90) at thread/qthread_unix.cpp:352
#5  0x00007fee8fcd86ba in start_thread (arg=0x7fee6bfff700) at pthread_create.c:333
#6  0x00007fee92e0851d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fee71150700 (LWP 4305)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fee939fc384 in QWaitConditionPrivate::wait (time=30000, this=0x266c530) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x266c350, mutex=mutex@entry=0x264b758, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee939eefe7 in QThreadPoolThread::run (this=0x266c340) at concurrent/qthreadpool.cpp:142
#4  0x00007fee939fbe3c in QThreadPrivate::start (arg=0x266c340) at thread/qthread_unix.cpp:352
#5  0x00007fee8fcd86ba in start_thread (arg=0x7fee71150700) at pthread_create.c:333
#6  0x00007fee92e0851d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fee71bc0700 (LWP 4304)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fee939fc384 in QWaitConditionPrivate::wait (time=30000, this=0x265dee0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x2655fa0, mutex=mutex@entry=0x264b758, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee939eefe7 in QThreadPoolThread::run (this=0x2655f90) at concurrent/qthreadpool.cpp:142
#4  0x00007fee939fbe3c in QThreadPrivate::start (arg=0x2655f90) at thread/qthread_unix.cpp:352
#5  0x00007fee8fcd86ba in start_thread (arg=0x7fee71bc0700) at pthread_create.c:333
#6  0x00007fee92e0851d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fee7b7fe700 (LWP 4303)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fee939fc384 in QWaitConditionPrivate::wait (time=30000, this=0x25eade0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x25eab90, mutex=mutex@entry=0x264b758, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee939eefe7 in QThreadPoolThread::run (this=0x25eab80) at concurrent/qthreadpool.cpp:142
#4  0x00007fee939fbe3c in QThreadPrivate::start (arg=0x25eab80) at thread/qthread_unix.cpp:352
#5  0x00007fee8fcd86ba in start_thread (arg=0x7fee7b7fe700) at pthread_create.c:333
#6  0x00007fee92e0851d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fee7bfff700 (LWP 4302)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fee939fc384 in QWaitConditionPrivate::wait (time=30000, this=0x264bd80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x264bb30, mutex=mutex@entry=0x264b758, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fee939eefe7 in QThreadPoolThread::run (this=0x264bb20) at concurrent/qthreadpool.cpp:142
#4  0x00007fee939fbe3c in QThreadPrivate::start (arg=0x264bb20) at thread/qthread_unix.cpp:352
#5  0x00007fee8fcd86ba in start_thread (arg=0x7fee7bfff700) at pthread_create.c:333
#6  0x00007fee92e0851d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fee80fb8700 (LWP 4301)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fee939fa672 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x2497310) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x2497310, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007fee939f6925 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007fee939f6a1b in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:177
#5  0x00007fee96bb742d in bt::Log::lock (this=<optimized out>) at ../../src/util/log.cpp:264
#6  0x00007fee96bb746e in bt::Out (arg=arg@entry=19) at ../../src/util/log.cpp:272
#7  0x00007fee96bb84ca in bt::QtMessageOutput (type=<optimized out>, msg=0x7fee7c0037a8 "QSocketNotifier: Invalid socket 18 and type 'Read', disabling...") at ../../src/util/log.cpp:300
#8  0x00007fee939f0e9f in qt_message_output (msgType=msgType@entry=QtWarningMsg, buf=0x7fee7c0037a8 "QSocketNotifier: Invalid socket 18 and type 'Read', disabling...") at global/qglobal.cpp:2372
#9  0x00007fee939f1371 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtWarningMsg, msg=msg@entry=0x7fee93bf2770 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=ap@entry=0x7fee80fb79f0) at global/qglobal.cpp:2493
#10 0x00007fee939f15e1 in qWarning (msg=msg@entry=0x7fee93bf2770 "QSocketNotifier: Invalid socket %d and type '%s', disabling...") at global/qglobal.cpp:2575
#11 0x00007fee93b3bb03 in socketNotifierSourceCheck (source=0x7fee7c001210) at kernel/qeventdispatcher_glib.cpp:94
#12 0x00007fee8ed3ae91 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fee8ed3b400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fee8ed3b56c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fee93b3c2ae in QEventDispatcherGlib::processEvents (this=0x7fee7c003000, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#16 0x00007fee93b0a18f in QEventLoop::processEvents (this=this@entry=0x7fee80fb7cd0, flags=...) at kernel/qeventloop.cpp:149
#17 0x00007fee93b0a4f5 in QEventLoop::exec (this=this@entry=0x7fee80fb7cd0, flags=...) at kernel/qeventloop.cpp:204
#18 0x00007fee939f9549 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#19 0x00007fee939fbe3c in QThreadPrivate::start (arg=0x25f4bc0) at thread/qthread_unix.cpp:352
#20 0x00007fee8fcd86ba in start_thread (arg=0x7fee80fb8700) at pthread_create.c:333
#21 0x00007fee92e0851d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fee9703d900 (LWP 4299)):
[KCrash Handler]
#6  0x00007fee92d36438 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fee92d3803a in __GI_abort () at abort.c:89
#8  0x00007fee9368884d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007fee936866b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007fee936856a9 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007fee93686005 in __gxx_personality_v0 () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007fee930e0f83 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#13 0x00007fee930e1487 in _Unwind_Resume () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#14 0x00007fee93b26b1c in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#15 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#16 QObject::~QObject (this=0x24ccd80, __in_chrg=<optimized out>) at kernel/qobject.cpp:844
#17 0x00007fee95933c14 in KDEPrivate::KMenuMenuHandler::~KMenuMenuHandler (this=0x24ccd80, __in_chrg=<optimized out>) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/xmlgui/kmenumenuhandler_p.h:45
#18 KDEPrivate::KMenuMenuHandler::~KMenuMenuHandler (this=0x24ccd80, __in_chrg=<optimized out>) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/xmlgui/kmenumenuhandler_p.h:45
#19 KXMLGUIBuilder::~KXMLGUIBuilder (this=0x26127e0, __in_chrg=<optimized out>) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/xmlgui/kxmlguibuilder.cpp:108
#20 0x00007fee95934522 in KXmlGuiWindow::~KXmlGuiWindow (this=0x26127b0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/xmlgui/kxmlguiwindow.cpp:118
#21 0x000000000043c3d7 in kt::GUI::GUI (this=0x26127b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../ktorrent/gui.cpp:81
#22 0x000000000043cf34 in kt::App::newInstance (this=0x7fff180fc9f0) at ../../ktorrent/app.cpp:60
#23 0x00007fee95836f3b in KUniqueApplicationAdaptor::newInstance (this=0x25867d0, asn_id=..., args=...) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/kernel/kuniqueapplication.cpp:442
#24 0x00007fee95836fed in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x25867d0, _id=_id@entry=0, _a=_a@entry=0x7fff180fb450, _c=QMetaObject::InvokeMetaMethod) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/obj-x86_64-linux-gnu/kdeui/kuniqueapplication_p.moc:57
#25 0x00007fee95837243 in KUniqueApplicationAdaptor::qt_static_metacall (_a=0x7fff180fb450, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x25867d0) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/obj-x86_64-linux-gnu/kdeui/kuniqueapplication_p.moc:100
#26 KUniqueApplicationAdaptor::qt_metacall (this=0x25867d0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff180fb450) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/obj-x86_64-linux-gnu/kdeui/kuniqueapplication_p.moc:101
#27 0x00007fee91afdfc5 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x24bb510, object=object@entry=0x25867d0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:950
#28 0x00007fee91aff51c in QDBusConnectionPrivate::activateCall (this=this@entry=0x24bb510, object=0x25867d0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#29 0x00007fee91b0023d in QDBusConnectionPrivate::activateObject (this=0x24bb510, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#30 0x00007fee91b0043b in QDBusActivateObjectEvent::placeMetaCall (this=0x2681d50) at qdbusintegrator.cpp:1541
#31 0x00007fee93b25db1 in QObject::event (this=this@entry=0x7fff180fc9f0, e=e@entry=0x2681d50) at kernel/qobject.cpp:1222
#32 0x00007fee93b103fc in QCoreApplication::event (this=this@entry=0x7fff180fc9f0, e=e@entry=0x2681d50) at kernel/qcoreapplication.cpp:1767
#33 0x00007fee9404378f in QApplication::event (this=0x7fff180fc9f0, e=0x2681d50) at kernel/qapplication.cpp:2549
#34 0x00007fee9403dfdc in QApplicationPrivate::notify_helper (this=this@entry=0x24ce6d0, receiver=receiver@entry=0x7fff180fc9f0, e=e@entry=0x2681d50) at kernel/qapplication.cpp:4570
#35 0x00007fee94044f16 in QApplication::notify (this=0x7fff180fc9f0, receiver=0x7fff180fc9f0, e=0x2681d50) at kernel/qapplication.cpp:4356
#36 0x000000000043d0c1 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#37 0x00007fee93b0b90d in QCoreApplication::notifyInternal (this=0x7fff180fc9f0, receiver=receiver@entry=0x7fff180fc9f0, event=event@entry=0x2681d50) at kernel/qcoreapplication.cpp:955
#38 0x00007fee93b0f3c6 in QCoreApplication::sendEvent (event=0x2681d50, receiver=0x7fff180fc9f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x248c9b0) at kernel/qcoreapplication.cpp:1579
#40 0x00007fee93b0f6a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#41 0x00007fee93b3c13e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#42 postEventSourceDispatch (s=0x24c66c0) at kernel/qeventdispatcher_glib.cpp:300
#43 0x00007fee8ed3b267 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fee8ed3b4c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fee8ed3b56c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fee93b3c2ae in QEventDispatcherGlib::processEvents (this=0x248e2b0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#47 0x00007fee940eb616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007fee93b0a18f in QEventLoop::processEvents (this=this@entry=0x7fff180fbd20, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007fee93b0a4f5 in QEventLoop::exec (this=this@entry=0x7fff180fbd20, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007fee93b104b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#51 0x00007fee9403c22c in QApplication::exec () at kernel/qapplication.cpp:3828
#52 0x0000000000427c52 in main (argc=5, argv=0x7fff180fcb38) at ../../ktorrent/main.cpp:186

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-01-25 13:50:17 UTC

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