Bug 245158 - KTorrent crashes when removing a finished download
Summary: KTorrent crashes when removing a finished download
Status: RESOLVED DUPLICATE of bug 242161
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 18:43 UTC by Sascha Peilicke
Modified: 2010-07-19 20:24 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 Sascha Peilicke 2010-07-19 18:43:58 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.4.93 (KDE 4.4.93 (KDE 4.5 >= 20100713))
Qt Version: 4.7.0
Operating System: Linux 2.6.34-12-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Like the title suggests, I was removing a finished download (Arch Linux Net-Install ISO file). KTorrent managed to remove the file from the download list but crashed immediately afterwards...

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0x7fa53d0c5760 (LWP 14868))]

Thread 4 (Thread 0x7fa52a8ac710 (LWP 14870)):
#0  0x00007fa539506e13 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fa53cc68167 in ?? () from /usr/lib64/libktorrent.so.2
#2  0x00007fa53ae2497e in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#3  0x00007fa53ab95a4f in start_thread (arg=0x7fa52a8ac710) at pthread_create.c:297
#4  0x00007fa53950d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa521094710 (LWP 14892)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa53ae24735 in thread_sleep(timespec*) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa53ae248a0 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007fa53cc15368 in ?? () from /usr/lib64/libktorrent.so.2
#4  0x00007fa53cc153c9 in ?? () from /usr/lib64/libktorrent.so.2
#5  0x00007fa53ae2497e in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa53ab95a4f in start_thread (arg=0x7fa521094710) at pthread_create.c:297
#7  0x00007fa53950d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa520893710 (LWP 14893)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa53ae24735 in thread_sleep(timespec*) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa53ae248a0 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007fa53cc14bc8 in ?? () from /usr/lib64/libktorrent.so.2
#4  0x00007fa53cc153c9 in ?? () from /usr/lib64/libktorrent.so.2
#5  0x00007fa53ae2497e in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa53ab95a4f in start_thread (arg=0x7fa520893710) at pthread_create.c:297
#7  0x00007fa53950d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa53d0c5760 (LWP 14868)):
[KCrash Handler]
#6  0x00007fa53946f9e5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fa539470ee6 in abort () at abort.c:92
#8  0x00007fa5394aac53 in __libc_message (do_abort=2, fmt=0x7fa53955f018 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#9  0x00007fa5394b0226 in malloc_printerr (action=3, str=0x7fa53955c1fe "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6267
#10 0x00007fa53b4236d8 in ~QByteArray (this=<value optimized out>, x=0x19c21c0) at /usr/include/QtCore/qbytearray.h:382
#11 ~KEntry (this=<value optimized out>, x=0x19c21c0) at /usr/src/debug/kdelibs-4.4.93svn1149349/kdecore/config/kconfigdata.h:36
#12 QMap<KEntryKey, KEntry>::freeData (this=<value optimized out>, x=0x19c21c0) at /usr/include/QtCore/qmap.h:626
#13 0x00007fa53b43fdcc in ~QMap (this=0x19c3b80, __in_chrg=<value optimized out>) at /usr/include/QtCore/qmap.h:167
#14 ~KEntryMap (this=0x19c3b80, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.93svn1149349/kdecore/config/kconfigdata.h:145
#15 ~KConfigPrivate (this=0x19c3b80, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.93svn1149349/kdecore/config/kconfig_p.h:73
#16 KConfigPrivate::~KConfigPrivate (this=0x19c3b80, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.93svn1149349/kdecore/config/kconfig_p.h:74
#17 0x00007fa53b36d2f3 in KConfig::~KConfig (this=0x19c39d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.93svn1149349/kdecore/config/kconfig.cpp:195
#18 0x00007fa53b36d445 in KSharedConfig::~KSharedConfig (this=0x19c39d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.93svn1149349/kdecore/config/ksharedconfig.cpp:69
#19 0x00007fa53b36d519 in KSharedConfig::~KSharedConfig (this=0x19c39d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.93svn1149349/kdecore/config/ksharedconfig.cpp:74
#20 0x00007fa53cc49ff9 in bt::StatsFile::~StatsFile() () from /usr/lib64/libktorrent.so.2
#21 0x00007fa53cc51094 in bt::TorrentControl::~TorrentControl() () from /usr/lib64/libktorrent.so.2
#22 0x00007fa53cc51369 in bt::TorrentControl::~TorrentControl() () from /usr/lib64/libktorrent.so.2
#23 0x00007fa53af237a8 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#24 0x00007fa53a0d8bc4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007fa53a0e0fea in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x0000000000439491 in ?? ()
#27 0x00007fa53af0f97c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#28 0x00007fa53af13125 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#29 0x00007fa53af3a403 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQtCore.so.4
#30 0x00007fa534d73a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fa534d74270 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fa534d74510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fa53af3a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00007fa53a17c84e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtGui.so.4
#35 0x00007fa53af0edb2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x00007fa53af0efc5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007fa53af133db in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#38 0x0000000000429106 in _start ()

Possible duplicates by query: bug 242161.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-07-19 20:24:56 UTC

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