Bug 403016 - KTorrrent crhases on quit
Summary: KTorrrent crhases on quit
Status: RESOLVED DUPLICATE of bug 383127
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
Depends on:
Blocks:
 
Reported: 2019-01-09 04:20 UTC by Lungten Wangchuk
Modified: 2019-01-27 12:49 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 Lungten Wangchuk 2019-01-09 04:20:02 UTC
Application: ktorrent (5.1.1)

Qt Version: 5.11.2
Frameworks Version: 5.53.0
Operating System: Linux 4.15.0-43-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
As soon as I quit KTorrent I get a crash report. This happens whether I quit using Ctrl+Q or via the menu. 

I am running the latest KDE Neon.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fbcc65de700 (LWP 4407)):
#0  0x00007fbcdfb490b4 in __GI___libc_read (fd=16, buf=0x7fbcc65ddb90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fbcd94f3cd0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbcd94af027 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbcd94af4e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbcd94af64c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbce0a3e04b in QEventDispatcherGlib::processEvents (this=0x7fbcb8004c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fbce09e230a in QEventLoop::exec (this=this@entry=0x7fbcc65ddda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007fbce080dbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007fbce0818adb in QThreadPrivate::start (arg=0x5562d0ceac00) at thread/qthread_unix.cpp:367
#9  0x00007fbcdb64d6db in start_thread (arg=0x7fbcc65de700) at pthread_create.c:463
#10 0x00007fbcdfb5a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbcc77ef700 (LWP 4405)):
#0  _dl_update_slotinfo (req_modid=1) at ../elf/dl-tls.c:651
#1  0x00007fbce589d87c in update_get_addr (ti=0x7fbce0e69670) at ../elf/dl-tls.c:799
#2  0x00007fbce58a3a28 in __tls_get_addr () at ../sysdeps/x86_64/tls_get_addr.S:55
#3  0x00007fbce0817a86 in get_thread_data () at thread/qthread_unix.cpp:184
#4  QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:239
#5  0x00007fbce0a3df4a in postEventSourcePrepare (s=0x7fbcc0004ba0, timeout=0x7fbcc77eeba4) at kernel/qeventdispatcher_glib.cpp:252
#6  0x00007fbcd94aea98 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fbcd94af46b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fbcd94af64c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fbce0a3e04b in QEventDispatcherGlib::processEvents (this=0x7fbcc0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0x00007fbce09e230a in QEventLoop::exec (this=this@entry=0x7fbcc77eed70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#11 0x00007fbce080dbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#12 0x00007fbce1e80e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#13 0x00007fbce0818adb in QThreadPrivate::start (arg=0x7fbce20f8d60) at thread/qthread_unix.cpp:367
#14 0x00007fbcdb64d6db in start_thread (arg=0x7fbcc77ef700) at pthread_create.c:463
#15 0x00007fbcdfb5a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbce5a5e800 (LWP 4403)):
[KCrash Handler]
#6  0x00007fbce105d38d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007fbce105dfe6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#8  0x00007fbce1061b4d in QTextEngine::itemize() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007fbce106b2bc in QTextLayout::beginLayout() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007fbce17e5d05 in viewItemTextLayout (textLayout=..., lineWidth=8388607) at styles/qcommonstyle.cpp:848
#11 0x00007fbce17e903f in QCommonStylePrivate::viewItemSize (this=this@entry=0x5562d0ca1f20, option=option@entry=0x7ffdad142c40, role=role@entry=0) at styles/qcommonstyle.cpp:907
#12 0x00007fbce17e99a8 in QCommonStylePrivate::viewItemLayout (this=0x5562d0ca1f20, opt=opt@entry=0x7ffdad142c40, checkRect=checkRect@entry=0x7ffdad142b70, pixmapRect=pixmapRect@entry=0x7ffdad142b50, textRect=textRect@entry=0x7ffdad142b60, sizehint=sizehint@entry=true) at styles/qcommonstyle.cpp:1004
#13 0x00007fbce17ea26f in QCommonStyle::sizeFromContents (this=0x5562d0c9b1c0, ct=<optimized out>, opt=0x7ffdad142c40, csz=..., widget=0x5562d0e09740) at styles/qcommonstyle.cpp:4930
#14 0x00007fbccc0ef6d7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/breeze.so
#15 0x00007fbce19e4e8a in QStyledItemDelegate::sizeHint (this=0x5562d0f05db0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:413
#16 0x00005562d06cb1f4 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...) at ./ktorrent/view/viewdelegate.cpp:190
#17 0x00007fbce1a28eea in QTreeView::indexRowSizeHint (this=this@entry=0x5562d0e09740, index=...) at itemviews/qtreeview.cpp:3001
#18 0x00007fbce1a2987e in QTreeViewPrivate::layout (this=this@entry=0x5562d0eaf860, i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false, afterIsUninitialized=afterIsUninitialized@entry=false) at itemviews/qtreeview.cpp:3335
#19 0x00007fbce1a317ae in QTreeView::doItemsLayout (this=0x5562d0e09740) at itemviews/qtreeview.cpp:2120
#20 0x00007fbce1a2be75 in QAbstractItemViewPrivate::executePostedLayout (this=0x5562d0eaf860) at ../../include/QtWidgets/5.11.2/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#21 QTreeViewPrivate::updateScrollBars (this=0x5562d0eaf860) at itemviews/qtreeview.cpp:3666
#22 0x00007fbce1a33318 in QTreeView::updateGeometries (this=0x5562d0e09740) at itemviews/qtreeview.cpp:2840
#23 0x00007fbce19c1819 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:419
#24 0x00007fbce0a13075 in QMetaObject::activate (sender=sender@entry=0x5562d0ef9410, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3771
#25 0x00007fbce0a13747 in QMetaObject::activate (sender=sender@entry=0x5562d0ef9410, m=m@entry=0x7fbce1e5a280 <QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3633
#26 0x00007fbce19cd263 in QHeaderView::geometriesChanged (this=this@entry=0x5562d0ef9410) at .moc/moc_qheaderview.cpp:498
#27 0x00007fbce19d84a1 in QHeaderView::viewportEvent (this=0x5562d0ef9410, e=0x7ffdad143540) at itemviews/qheaderview.cpp:2883
#28 0x00007fbce09e3d6d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5562d0ef9920, event=event@entry=0x7ffdad143540) at kernel/qcoreapplication.cpp:1174
#29 0x00007fbce1770df5 in QApplicationPrivate::notify_helper (this=this@entry=0x5562d0c46120, receiver=receiver@entry=0x5562d0ef9920, e=e@entry=0x7ffdad143540) at kernel/qapplication.cpp:3723
#30 0x00007fbce17783ef in QApplication::notify (this=0x7ffdad143cc0, receiver=0x5562d0ef9920, e=0x7ffdad143540) at kernel/qapplication.cpp:3486
#31 0x00007fbce09e3fe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x5562d0ef9920, event=event@entry=0x7ffdad143540) at kernel/qcoreapplication.cpp:1048
#32 0x00007fbce17aa98a in QCoreApplication::sendEvent (event=0x7ffdad143540, receiver=0x5562d0ef9920) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#33 QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8462
#34 0x00007fbce17aa972 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8457
#35 0x00007fbce17aa972 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8457
#36 0x00007fbce17aa972 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8457
#37 0x00007fbce17aa972 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8457
#38 0x00007fbce17aa972 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8457
#39 0x00007fbce17aa972 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8457
#40 0x00007fbce17aa972 in QWidgetPrivate::hideChildren (this=this@entry=0x5562d0c9d000, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8457
#41 0x00007fbce17aac54 in QWidgetPrivate::hide_helper (this=this@entry=0x5562d0c9d000) at kernel/qwidget.cpp:8185
#42 0x00007fbce17af7f0 in QWidget::setVisible (this=0x7ffdad143d30, visible=<optimized out>) at kernel/qwidget.cpp:8376
#43 0x00007fbce17aaf28 in QWidgetPrivate::close_helper (this=0x5562d0c9d000, mode=<optimized out>) at kernel/qwidget.cpp:8505
#44 0x00007fbce17ab590 in QWidget::~QWidget (this=0x7ffdad143d30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1635
#45 0x00007fbce43d361d in KMainWindow::~KMainWindow (this=0x7ffdad143d30, __in_chrg=<optimized out>) at ./src/kmainwindow.cpp:395
#46 0x00005562d0653b77 in kt::GUI::~GUI (this=0x7ffdad143d30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./ktorrent/gui.cpp:128
#47 0x00005562d0643182 in main (argc=<optimized out>, argv=<optimized out>) at ./ktorrent/main.cpp:213

Reported using DrKonqi
Comment 1 Christoph Feck 2019-01-27 12:49:08 UTC

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