Bug 460763

Summary: Baloo_file_extractor crashes
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Enrico <enricobe>
Component: generalAssignee: baloo-bugs-null
Status: RESOLVED WORKSFORME    
Severity: crash CC: stefan.bruens, tagwerk19
Priority: NOR    
Version: 5.98.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kcrash file

Description Enrico 2022-10-20 13:13:14 UTC
Created attachment 153058 [details]
kcrash file

SUMMARY
***
Hello,
for no apparent reason baloo_file_extractor crashed twice on my system. I've attached the kcrash file and paste below the error backtrace from drkonqui

Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.15.0-52-generic (64-bit)
Graphics Platform: X11

***

Application: baloo_file_extractor (baloo_file_extractor), signal: Aborted

[New LWP 25870]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f7a10e3799f in __GI___poll (fds=0x7fff8648a7f8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f7a0d615940 (LWP 25869))]

Thread 2 (Thread 0x7f7a0c9e6700 (LWP 25870)):
#0  0x00007f7a10e3799f in __GI___poll (fds=0x7f7a0801b6b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7a0fd9336e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7a0fd934a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7a11408b9b in QEventDispatcherGlib::processEvents (this=0x7f7a08000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7a113acb3b in QEventLoop::exec (this=this@entry=0x7f7a0c9e5c30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f7a111c6342 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f7a10a1ef4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f7a111c7543 in QThreadPrivate::start (arg=0x7f7a10aa2d80) at thread/qthread_unix.cpp:330
#8  0x00007f7a10761609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f7a10e44133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7a0d615940 (LWP 25869)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f7a10d47859 in __GI_abort () at abort.c:79
#6  0x00007f7a10fb5911 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f7a10fc138c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007f7a10fc13f7 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f7a10fc16a9 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f7a1118af7d in qBadAlloc () at /usr/include/c++/9/bits/exception.h:63
#11 0x00007f7a11190865 in QString::QString (this=0x7fff8648b878, size=<optimized out>) at text/qstring.cpp:2164
#12 0x00007f7a1140c8cf in QUtf8::convertToUnicode (chars=0x7f3903efe010 "", len=1774191183, state=0x7fff8648b960) at codecs/qutfcodec.cpp:561
#13 0x00007f7a1140d19a in QUtf8Codec::convertToUnicode (this=<optimized out>, chars=<optimized out>, len=<optimized out>, state=<optimized out>) at codecs/qutfcodec.cpp:994
#14 0x00007f7a0c181ae0 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kfilemetadata/kfilemetadata_plaintextextractor.so
#15 0x0000561bf75bdf9f in Baloo::App::index (this=this@entry=0x7fff8648c000, tr=0x7f7a080147b0, url=..., id=id@entry=6408022486155319) at ./src/file/extractor/app.cpp:170
#16 0x0000561bf75c0081 in Baloo::App::processNextFile (this=0x7fff8648c000) at ./src/file/extractor/app.cpp:102
#17 Baloo::App::processNextFile (this=0x7fff8648c000) at ./src/file/extractor/app.cpp:89
#18 0x00007f7a113e9f26 in QtPrivate::QSlotObjectBase::call (a=0x7fff8648bc00, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 QSingleShotTimer::timerEvent (this=0x561bf78e3ca0) at kernel/qtimer.cpp:320
#20 0x00007f7a113dbc25 in QObject::event (this=0x561bf78e3ca0, e=0x7fff8648bd30) at kernel/qobject.cpp:1369
#21 0x00007f7a113ae03a in QCoreApplication::notifyInternal2 (receiver=0x561bf78e3ca0, event=0x7fff8648bd30) at ../../include/QtCore/5.15.6/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#22 0x00007f7a11407ed0 in QTimerInfoList::activateTimers (this=0x561bf783a4b0) at kernel/qtimerinfo_unix.cpp:643
#23 0x00007f7a11408804 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#24 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#25 0x00007f7a0fd9317d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f7a0fd93400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f7a0fd934a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f7a11408b82 in QEventDispatcherGlib::processEvents (this=0x561bf783fa40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f7a113acb3b in QEventLoop::exec (this=this@entry=0x7fff8648bf70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#30 0x00007f7a113b4ce4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x0000561bf75bb57a in main (argc=<optimized out>, argv=<optimized out>) at ./src/file/extractor/main.cpp:37
[Inferior 1 (process 25869) detached]
Comment 1 Stefan BrĂ¼ns 2023-11-10 14:52:10 UTC
The problematic file can be queried with "balooctl failed".
Comment 2 Bug Janitor Service 2023-11-25 03:45:45 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 2023-12-10 03:45:58 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!