Bug 355245 - KTorrent chrashes when starting scan folder plugin
Summary: KTorrent chrashes when starting scan folder plugin
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: Mint (Debian based) Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-12 14:36 UTC by Leinad
Modified: 2018-12-01 03:50 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 Leinad 2015-11-12 14:36:49 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-4-amd64 x86_64
Distribution: LMDE 2 Betsy

-- Information about the crash:
- start ktorrent (not first time)
- go to plugin panel
- chceck "scan folder" checkbox

The crash can be reproduced sometimes.

-- 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 0x7fe726a257c0 (LWP 19388))]

Thread 7 (Thread 0x7fe70fa84700 (LWP 19394)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fe722665072 in _q_futex (val2=<optimized out>, addr2=<optimized out>, timeout=<optimized out>, val=<optimized out>, op=<optimized out>, addr=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x20d9030, timeout=-1000000) at thread/qmutex_unix.cpp:113
#3  0x00007fe722661305 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007fe72650cd6e in bt::Out(unsigned int) () from /usr/lib/libktorrent.so.5
#5  0x00007fe72650d1a2 in ?? () from /usr/lib/libktorrent.so.5
#6  0x00007fe72265b9a1 in qt_message_output (msgType=msgType@entry=QtWarningMsg, buf=0x7fe700035ae8 "QSocketNotifier: Invalid socket 20 and type 'Read', disabling...") at global/qglobal.cpp:2311
#7  0x00007fe72265be09 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtWarningMsg, msg=msg@entry=0x7fe722854890 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=ap@entry=0x7fe70fa83b40) at global/qglobal.cpp:2432
#8  0x00007fe72265c081 in qWarning (msg=msg@entry=0x7fe722854890 "QSocketNotifier: Invalid socket %d and type '%s', disabling...") at global/qglobal.cpp:2514
#9  0x00007fe72279f598 in socketNotifierSourceCheck (source=0x7fe700002e00) at kernel/qeventdispatcher_glib.cpp:90
#10 0x00007fe71d4658c1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fe71d465e83 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fe71d465ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fe72279fd37 in QEventDispatcherGlib::processEvents (this=0x7fe7000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007fe72276f271 in QEventLoop::processEvents (this=this@entry=0x7fe70fa83e10, flags=...) at kernel/qeventloop.cpp:149
#15 0x00007fe72276f5d5 in QEventLoop::exec (this=this@entry=0x7fe70fa83e10, flags=...) at kernel/qeventloop.cpp:204
#16 0x00007fe722663e99 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#17 0x00007fe72266670f in QThreadPrivate::start (arg=0x22850f0) at thread/qthread_unix.cpp:349
#18 0x00007fe71f3750a4 in start_thread (arg=0x7fe70fa84700) at pthread_create.c:309
#19 0x00007fe721b0504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fe6ebfff700 (LWP 19486)):
#0  0x00007fe72651d390 in ?? () from /usr/lib/libktorrent.so.5
#1  0x00007fe72651d4f6 in ?? () from /usr/lib/libktorrent.so.5
#2  0x00007fe72651d709 in ?? () from /usr/lib/libktorrent.so.5
#3  0x00007fe72266670f in QThreadPrivate::start (arg=0x20d4b90) at thread/qthread_unix.cpp:349
#4  0x00007fe71f3750a4 in start_thread (arg=0x7fe6ebfff700) at pthread_create.c:309
#5  0x00007fe721b0504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fe6eb7fe700 (LWP 19487)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fe7226651ea in thread_sleep (ti=ti@entry=0x7fe6eb7fdda0) at thread/qthread_unix.cpp:492
#2  0x00007fe722665aad in QThread::msleep (msecs=<optimized out>) at thread/qthread_unix.cpp:518
#3  0x00007fe72651cf63 in ?? () from /usr/lib/libktorrent.so.5
#4  0x00007fe72651d709 in ?? () from /usr/lib/libktorrent.so.5
#5  0x00007fe72266670f in QThreadPrivate::start (arg=0x20d4f80) at thread/qthread_unix.cpp:349
#6  0x00007fe71f3750a4 in start_thread (arg=0x7fe6eb7fe700) at pthread_create.c:309
#7  0x00007fe721b0504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fe6eaffd700 (LWP 19488)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe722666c66 in wait (time=18446744073709551615, this=0x227d460) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3493a80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe72651ffea in ?? () from /usr/lib/libktorrent.so.5
#4  0x00007fe72266670f in QThreadPrivate::start (arg=0x3493a70) at thread/qthread_unix.cpp:349
#5  0x00007fe71f3750a4 in start_thread (arg=0x7fe6eaffd700) at pthread_create.c:309
#6  0x00007fe721b0504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fe6fd203700 (LWP 4527)):
#0  0x00007fe721ad2bb5 in __getdents (fd=5, buf=0x7fe6f9ed6ac0 "]\003r", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents.c:111
#1  0x00007fe721ad291c in __readdir_r (dirp=0x7fe6f9ed6a90, entry=0x7fe6f83630b0, result=0x7fe6f833a500) at ../sysdeps/posix/readdir_r.c:63
#2  0x00007fe72274e064 in QFileSystemIterator::advance (this=this@entry=0x7fe6f833a4f0, fileEntry=..., metaData=...) at io/qfilesystemiterator_unix.cpp:114
#3  0x00007fe7226ef2be in QDirIteratorPrivate::advance (this=this@entry=0x7fe6f83694a0) at io/qdiriterator.cpp:258
#4  0x00007fe7226efae0 in QDirIteratorPrivate::QDirIteratorPrivate (this=this@entry=0x7fe6f83694a0, entry=..., nameFilters=..., filters=filters@entry=..., flags=flags@entry=..., resolveEngine=resolveEngine@entry=true) at io/qdiriterator.cpp:181
#5  0x00007fe7226efe79 in QDirIterator::QDirIterator (this=0x7fe6fd202680, path=..., nameFilters=..., filters=..., flags=...) at io/qdiriterator.cpp:473
#6  0x00007fe7226e98cc in QDir::entryList (this=<optimized out>, nameFilters=..., filters=..., sort=...) at io/qdir.cpp:1322
#7  0x00007fe6fe7f877d in ?? () from /usr/lib/kde4/ktscanfolderplugin.so
#8  0x00007fe6fe7f94ae in ?? () from /usr/lib/kde4/ktscanfolderplugin.so
#9  0x00007fe722789ce3 in QObject::event (this=0x3ad7ba0, e=<optimized out>) at kernel/qobject.cpp:1253
#10 0x00007fe722ca048c in QApplicationPrivate::notify_helper (this=this@entry=0x210fa40, receiver=receiver@entry=0x3ad7ba0, e=e@entry=0x7fe6f83cb1e0) at kernel/qapplication.cpp:4570
#11 0x00007fe722ca6fa8 in QApplication::notify (this=0x7fff222dfca0, receiver=0x3ad7ba0, e=0x7fe6f83cb1e0) at kernel/qapplication.cpp:4356
#12 0x000000000043a632 in _start ()

Thread 2 (Thread 0x7fe6ea7fc700 (LWP 5122)):
[KCrash Handler]
#6  0x00007fe721a54107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fe721a554e8 in __GI_abort () at abort.c:89
#8  0x00007fe721a92204 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fe721b84fe0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fe721a979de in malloc_printerr (action=1, str=0x7fe721b85178 "free(): invalid next size (normal)", ptr=<optimized out>) at malloc.c:4996
#10 0x00007fe721a986e6 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#11 0x00007fe7226b1018 in QString::free (d=0x7fe6f40058e0) at tools/qstring.cpp:1235
#12 0x00007fe7226b15ea in QString::operator= (this=0x20d9008, other=...) at tools/qstring.cpp:1412
#13 0x00007fe72650bd37 in bt::endl(bt::Log&) () from /usr/lib/libktorrent.so.5
#14 0x00007fe72659f2b6 in ?? () from /usr/lib/libktorrent.so.5
#15 0x00007fe726599c7b in bt::PreallocationThread::run() () from /usr/lib/libktorrent.so.5
#16 0x00007fe72266670f in QThreadPrivate::start (arg=0x29ad6c0) at thread/qthread_unix.cpp:349
#17 0x00007fe71f3750a4 in start_thread (arg=0x7fe6ea7fc700) at pthread_create.c:309
#18 0x00007fe721b0504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fe726a257c0 (LWP 19388)):
[KCrash Handler]
#6  0x00007fe721a54107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fe721a554e8 in __GI_abort () at abort.c:89
#8  0x00007fe721a970fd in __malloc_assert (assertion=assertion@entry=0x7fe721b85b48 "!newp || ((((mchunkptr)((char*)(newp) - 2*(sizeof(size_t)))))->size & 0x2) || ar_ptr == (((((mchunkptr)((char*)(newp) - 2*(sizeof(size_t)))))->size & 0x4) ? ((heap_info *) ((unsigned long) (((mchunkpt"..., file=file@entry=0x7fe721b81005 "malloc.c", line=line@entry=3033, function=function@entry=0x7fe721b8133e <__func__.11407> "__libc_realloc") at malloc.c:293
#9  0x00007fe721a9b965 in __GI___libc_realloc (oldmem=0x7fe6f40058f0, bytes=226) at malloc.c:3032
#10 0x00007fe7226b2c48 in QString::realloc (this=this@entry=0x2280710, alloc=97) at tools/qstring.cpp:1370
#11 0x00007fe7226b3ddb in QString::realloc (this=this@entry=0x2280710) at tools/qstring.cpp:1380
#12 0x00007fe72270a7e7 in detach (this=0x2280710) at ../../include/QtCore/../../src/corelib/tools/qstring.h:715
#13 data (this=0x2280710) at ../../include/QtCore/../../src/corelib/tools/qstring.h:711
#14 QTextStreamPrivate::flushWriteBuffer (this=0x2280680) at io/qtextstream.cpp:674
#15 0x00007fe722789e11 in QObject::event (this=0x2280688, e=<optimized out>) at kernel/qobject.cpp:1222
#16 0x00007fe722ca048c in QApplicationPrivate::notify_helper (this=this@entry=0x210fa40, receiver=receiver@entry=0x2280688, e=e@entry=0x7fe6f4002100) at kernel/qapplication.cpp:4570
#17 0x00007fe722ca6fa8 in QApplication::notify (this=0x7fff222dfca0, receiver=0x2280688, e=0x7fe6f4002100) at kernel/qapplication.cpp:4356
#18 0x000000000043a632 in _start ()

Possible duplicates by query: bug 348699, bug 347139, bug 347134, bug 347050, bug 346742.

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:53:59 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-16 11:35:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-12-01 03:50:08 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!