Bug 387754 - this always happens when I close ktorrent
Summary: this always happens when I close ktorrent
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: 2017-12-09 23:56 UTC by tonypshaw1
Modified: 2017-12-10 13:57 UTC (History)
1 user (show)

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 tonypshaw1 2017-12-09 23:56:53 UTC
Application: ktorrent (5.1.0)

Qt Version: 5.7.1
Frameworks Version: 5.38.0
Operating System: Linux 4.10.0-42-generic x86_64
Distribution: Ubuntu 17.04

-- Information about the crash:
- What I was doing when the application crashed: I was closing the application down using 'File menu - Quit' , this also happens if I close the application when I do so via the 'X' icon in the top right hand corner

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 0x7fe6e7177900 (LWP 8634))]

Thread 6 (Thread 0x7fe6797e2700 (LWP 8690)):
#0  0x00007fe6dd1f7510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe6e20f0aeb in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fe6e6a76122 in  () at /usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#3  0x00007fe6e20efc38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe6dd1f16da in start_thread (arg=0x7fe6797e2700) at pthread_create.c:456
#5  0x00007fe6e14dcd7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fe67c1ff700 (LWP 8659)):
#0  0x00007fe6dd1f7510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe6844e4acb in  () at /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007fe6844e47f7 in  () at /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007fe6dd1f16da in start_thread (arg=0x7fe67c1ff700) at pthread_create.c:456
#4  0x00007fe6e14dcd7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fe6ccaf6700 (LWP 8638)):
#0  0x00007fe6e20e6d99 in QMutex::lock() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fe6e231282f in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fe6db2bfa6d in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe6db2c049b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe6db2c068c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe6e23130bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe6e22bcbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe6e20eaf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe6e20efc38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe6dd1f16da in start_thread (arg=0x7fe6ccaf6700) at pthread_create.c:456
#10 0x00007fe6e14dcd7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fe6ce508700 (LWP 8636)):
#0  0x00007fe6db305edb in g_mutex_lock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe6db2bfce1 in g_main_context_query () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe6db2c04e8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe6db2c068c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe6e23130bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe6e22bcbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe6e20eaf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe6e36b45d5 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fe6e20efc38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe6dd1f16da in start_thread (arg=0x7fe6ce508700) at pthread_create.c:456
#10 0x00007fe6e14dcd7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fe6d02e1700 (LWP 8635)):
#0  0x00007fe6e14ead3c in __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1  0x00007fe6e1456b68 in _int_free (av=0x7fe6e1795b00 <main_arena>, p=0x5592d0e3ce00, have_lock=0) at malloc.c:3999
#2  0x00007fe6e145ad2c in __GI___libc_free (mem=mem@entry=0x5592d0e3ce10) at malloc.c:2984
#3  0x00007fe6e7075cd7 in __GI__dl_deallocate_tls (tcb=tcb@entry=0x7fe697fff700, dealloc_tcb=dealloc_tcb@entry=false) at dl-tls.c:560
#4  0x00007fe6dd1f15d6 in __free_stacks (limit=41943040) at allocatestack.c:284
#5  0x00007fe6dd1f15d6 in queue_stack (stack=0x7fe6e145ad2c <__GI___libc_free+76>) at allocatestack.c:312
#6  0x00007fe6dd1f15d6 in __deallocate_stack (pd=0x7fe6e145ad2c <__GI___libc_free+76>) at allocatestack.c:769
#7  0x00007fe6dd1f15d6 in __free_tcb (pd=pd@entry=0x7fe6d02e1700) at pthread_create.c:359
#8  0x00007fe6dd1f1954 in start_thread (arg=0x7fe6d02e1700) at pthread_create.c:577
#9  0x00007fe6e14dcd7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fe6e7177900 (LWP 8634)):
[KCrash Handler]
#6  0x00007fe6e140977f in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#7  0x00007fe6e140b37a in __GI_abort () at abort.c:89
#8  0x00007fe6e144d090 in __libc_message (do_abort=2, fmt=fmt@entry=0x7fe6e1563000 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fe6e14550c3 in malloc_printerr (ar_ptr=0x7fe6e1795b00 <main_arena>, ptr=0x5592d059c170, str=0x7fe6e155fb7b "corrupted double-linked list", action=<optimized out>) at malloc.c:5048
#10 0x00007fe6e14550c3 in malloc_consolidate (av=av@entry=0x7fe6e1795b00 <main_arena>) at malloc.c:4212
#11 0x00007fe6e145862f in _int_malloc (av=av@entry=0x7fe6e1795b00 <main_arena>, bytes=bytes@entry=43838) at malloc.c:3487
#12 0x00007fe6e145a984 in __GI___libc_malloc (bytes=43838) at malloc.c:2927
#13 0x00007fe6e20f0e6c in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fe6e21758cf in QString::reallocData(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fe6e2177a65 in QString::replace(QChar, QChar, Qt::CaseSensitivity) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fe6e322f1b3 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fe6e3267e1f in QStyledItemDelegate::displayText(QVariant const&, QLocale const&) const () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fe6e3269b26 in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fe6e3268bc0 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00005592ce4aed94 in  ()
#21 0x00007fe6e3221b2c in QTreeView::indexRowSizeHint(QModelIndex const&) const () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fe6e3222653 in QTreeViewPrivate::layout(int, bool, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fe6e322a8c6 in QTreeView::doItemsLayout() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fe6e32249e3 in QTreeViewPrivate::updateScrollBars() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fe6e322c431 in QTreeView::updateGeometries() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fe6e31e59d9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007fe6e22ea789 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fe6e31f9bad in QHeaderView::viewportEvent(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fe6e22be961 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fe6e2f95335 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007fe6e2f9cb21 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007fe6e22bec00 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fe6e2fd793b in QWidgetPrivate::hideChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fe6e2fd7923 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007fe6e2fd7923 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007fe6e2fd7923 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007fe6e2fd7923 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007fe6e2fd7923 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007fe6e2fd7923 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007fe6e2fd7923 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007fe6e2fd7bf4 in QWidgetPrivate::hide_helper() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007fe6e2fdc4a0 in QWidget::setVisible(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007fe6e2fd7f18 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007fe6e2fd83c8 in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007fe6e5bc124e in KMainWindow::~KMainWindow() () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#46 0x00005592ce4369b7 in  ()
#47 0x00005592ce4267ec in  ()
#48 0x00007fe6e13f43f1 in __libc_start_main (main=0x5592ce4241f0, argc=1, argv=0x7ffc46645c98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc46645c88) at ../csu/libc-start.c:291
#49 0x00005592ce4271da in _start ()

Possible duplicates by query: bug 387393, bug 385320, bug 384476, bug 381268, bug 375933.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2017-12-10 13:57:55 UTC

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