Bug 449120 - start ktorrent, it crashes immediately
Summary: start ktorrent, it crashes immediately
Status: RESOLVED UNMAINTAINED
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: drkonqi
: 449121 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-25 09:14 UTC by grimripper.mot
Modified: 2022-01-25 20:52 UTC (History)
1 user (show)

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 grimripper.mot 2022-01-25 09:14:43 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 0x7efd5d176900 (LWP 4207))]

Thread 2 (Thread 0x7efd468f7700 (LWP 4209)):
#0  0x00007efd58f3037d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007efd54eb6950 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efd54e72f44 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efd54e73400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007efd54e7356c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007efd59c742ce in QEventDispatcherGlib::processEvents (this=0x7efd380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007efd59c4218f in QEventLoop::processEvents (this=this@entry=0x7efd468f6cd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007efd59c424f5 in QEventLoop::exec (this=this@entry=0x7efd468f6cd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007efd59b31549 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#9  0x00007efd59b33e3c in QThreadPrivate::start (arg=0x9cf6b0) at thread/qthread_unix.cpp:352
#10 0x00007efd55e106ba in start_thread (arg=0x7efd468f7700) at pthread_create.c:333
#11 0x00007efd58f4051d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7efd5d176900 (LWP 4207)):
[KCrash Handler]
#6  0x00007efd58e6e438 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007efd58e7003a in __GI_abort () at abort.c:89
#8  0x00007efd597c084d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007efd597be6b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007efd597bd6a9 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007efd597be005 in __gxx_personality_v0 () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007efd59218f83 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#13 0x00007efd59219487 in _Unwind_Resume () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#14 0x00007efd59c5eb1c 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=0x823cc0, __in_chrg=<optimized out>) at kernel/qobject.cpp:844
#17 0x00007efd5ba6bc14 in KDEPrivate::KMenuMenuHandler::~KMenuMenuHandler (this=0x823cc0, __in_chrg=<optimized out>) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/xmlgui/kmenumenuhandler_p.h:45
#18 KDEPrivate::KMenuMenuHandler::~KMenuMenuHandler (this=0x823cc0, __in_chrg=<optimized out>) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/xmlgui/kmenumenuhandler_p.h:45
#19 KXMLGUIBuilder::~KXMLGUIBuilder (this=0x94df50, __in_chrg=<optimized out>) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/xmlgui/kxmlguibuilder.cpp:108
#20 0x00007efd5ba6c522 in KXmlGuiWindow::~KXmlGuiWindow (this=0x94df20, __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=0x94df20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../ktorrent/gui.cpp:81
#22 0x000000000043cf34 in kt::App::newInstance (this=0x7ffe0b6c0590) at ../../ktorrent/app.cpp:60
#23 0x00007efd5b96ef3b in KUniqueApplicationAdaptor::newInstance (this=0x924880, asn_id=..., args=...) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/kdeui/kernel/kuniqueapplication.cpp:442
#24 0x00007efd5b96efed in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x924880, _id=_id@entry=0, _a=_a@entry=0x7ffe0b6beff0, _c=QMetaObject::InvokeMetaMethod) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/obj-x86_64-linux-gnu/kdeui/kuniqueapplication_p.moc:57
#25 0x00007efd5b96f243 in KUniqueApplicationAdaptor::qt_static_metacall (_a=0x7ffe0b6beff0, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x924880) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/obj-x86_64-linux-gnu/kdeui/kuniqueapplication_p.moc:100
#26 KUniqueApplicationAdaptor::qt_metacall (this=0x924880, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffe0b6beff0) at /build/kde4libs-BKO0h2/kde4libs-4.14.16/obj-x86_64-linux-gnu/kdeui/kuniqueapplication_p.moc:101
#27 0x00007efd57c35fc5 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x7fc510, object=object@entry=0x924880, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:950
#28 0x00007efd57c3751c in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fc510, object=0x924880, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#29 0x00007efd57c3823d in QDBusConnectionPrivate::activateObject (this=0x7fc510, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#30 0x00007efd57c3843b in QDBusActivateObjectEvent::placeMetaCall (this=0x949970) at qdbusintegrator.cpp:1541
#31 0x00007efd59c5ddb1 in QObject::event (this=this@entry=0x7ffe0b6c0590, e=e@entry=0x949970) at kernel/qobject.cpp:1222
#32 0x00007efd59c483fc in QCoreApplication::event (this=this@entry=0x7ffe0b6c0590, e=e@entry=0x949970) at kernel/qcoreapplication.cpp:1767
#33 0x00007efd5a17b78f in QApplication::event (this=0x7ffe0b6c0590, e=0x949970) at kernel/qapplication.cpp:2549
#34 0x00007efd5a175fdc in QApplicationPrivate::notify_helper (this=this@entry=0x80f6d0, receiver=receiver@entry=0x7ffe0b6c0590, e=e@entry=0x949970) at kernel/qapplication.cpp:4570
#35 0x00007efd5a17cf16 in QApplication::notify (this=0x7ffe0b6c0590, receiver=0x7ffe0b6c0590, e=0x949970) 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 0x00007efd59c4390d in QCoreApplication::notifyInternal (this=0x7ffe0b6c0590, receiver=receiver@entry=0x7ffe0b6c0590, event=event@entry=0x949970) at kernel/qcoreapplication.cpp:955
#38 0x00007efd59c473c6 in QCoreApplication::sendEvent (event=0x949970, receiver=0x7ffe0b6c0590) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x7cd9b0) at kernel/qcoreapplication.cpp:1579
#40 0x00007efd59c476a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#41 0x00007efd59c7413e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#42 postEventSourceDispatch (s=0x8076c0) at kernel/qeventdispatcher_glib.cpp:300
#43 0x00007efd54e73267 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007efd54e734c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007efd54e7356c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007efd59c742ae in QEventDispatcherGlib::processEvents (this=0x7cf2b0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#47 0x00007efd5a223616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007efd59c4218f in QEventLoop::processEvents (this=this@entry=0x7ffe0b6bf8c0, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007efd59c424f5 in QEventLoop::exec (this=this@entry=0x7ffe0b6bf8c0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007efd59c484b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#51 0x00007efd5a17422c in QApplication::exec () at kernel/qapplication.cpp:3828
#52 0x0000000000427c52 in main (argc=5, argv=0x7ffe0b6c06d8) at ../../ktorrent/main.cpp:186

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-01-25 13:50:17 UTC
*** Bug 449121 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2022-01-25 16:52:46 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

These versions are extremely old and are unmaintained. I strongly recommend upgrading to a much newer version.
Comment 3 grimripper.mot 2022-01-25 20:52:04 UTC
(In reply to Nate Graham from comment #2)
> > 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
> 
> These versions are extremely old and are unmaintained. I strongly recommend
> upgrading to a much newer version.

Yes... Upgrading my Ubuntu to a newer version has been pending for some years due to various reasons and it apparently blocks various other upgrades.

Anyhow, I discovered that removing tor* directories from ~/.kde/share/apps/ktorrent made ktorrent start up again, and putting tor* directories back I narrowed it down to six specific tor* directories, and when I put them back without their current_chunks files ktorrent worked again.