Bug 506598 - Various popups about error on Baloo appearing after login
Summary: Various popups about error on Baloo appearing after login
Status: RESOLVED DUPLICATE of bug 506187
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (other bugs)
Version First Reported In: 6.15.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-07-04 18:23 UTC by toni_rocha
Modified: 2025-07-06 11:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description toni_rocha 2025-07-04 18:23:10 UTC
Application: baloo_file_extractor (6.15.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.15.0
Operating System: Linux 6.11.0-29-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User Edition
DrKonqi: 6.4.1 [CoredumpBackend]

-- Information about the crash:
After I realize login, various popups of 'Crashed Processes Viewer' about erro on Baloo appears. It recommends report the problem to KDE Bugs.

Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Kernel Version: 6.11.0-29-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700 CPU @ 3.00GHz
Memory: 24 GiB of RAM (23,3 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 630
Graphics Processor 2: llvmpipe
Manufacturer: Dell Inc.
Product Name: Vostro 3470

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[New LWP 61613]
[New LWP 61614]
[New LWP 61615]
[New LWP 61616]

warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libglib-2.0.so.0

warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/x86_64-linux-gnu/libexec/kf6/baloo_file_extractor'.
Program terminated with signal SIGABRT, Aborted.
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_kill.c.
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44

warning: 44	./nptl/pthread_kill.c: No such file or directory
[Current thread is 1 (Thread 0x7e523511ba40 (LWP 61613))]

Cannot QML trace cores :(
Download failed: Invalid argument.  Continuing without source file ./stdlib/./stdlib/abort.c.
Download failed: Invalid argument.  Continuing without source file ./signal/../sysdeps/posix/raise.c.
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_kill.c.
Download failed: Invalid argument.  Continuing without source file ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S.
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_create.c.
Download failed: Invalid argument.  Continuing without source file ./io/../sysdeps/unix/sysv/linux/poll.c.
[Current thread is 1 (Thread 0x7e523511ba40 (LWP 61613))]

Thread 4 (Thread 0x7e52313fd6c0 (LWP 61616)):
#0  0x00007e523611b4cd in __GI___poll (fds=fds@entry=0x7e52313fcb00, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007e5232ab22cf in poll (__timeout=-1, __nfds=2, __fds=0x7e52313fcb00) at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x621cfab81fe0) at /usr/src/qt6-wayland-6.9.0-0zneon+24.04+noble+release+build29/src/client/qwaylanddisplay.cpp:186
#3  0x00007e5236b8fa39 in operator() (__closure=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:433
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:365
#5  QThreadPrivate::start (arg=0x621cfab81fe0) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:393
#6  0x00007e523609caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#7  0x00007e5236129c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7e5231bfe6c0 (LWP 61615)):
#0  0x00007e523611b4cd in __GI___poll (fds=fds@entry=0x7e5231bfdb00, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007e5232ab22cf in poll (__timeout=-1, __nfds=2, __fds=0x7e5231bfdb00) at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x621cfab6ab60) at /usr/src/qt6-wayland-6.9.0-0zneon+24.04+noble+release+build29/src/client/qwaylanddisplay.cpp:186
#3  0x00007e5236b8fa39 in operator() (__closure=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:433
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:365
#5  QThreadPrivate::start (arg=0x621cfab6ab60) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:393
#6  0x00007e523609caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#7  0x00007e5236129c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7e52323ff6c0 (LWP 61614)):
#0  0x00007e523611b4cd in __GI___poll (fds=0x621cfab6eb70, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007e5235e3668e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007e5235dd6a63 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007e5236a60b3f in QEventDispatcherGlib::processEvents (this=0x7e522c000b70, flags=...) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#4  0x00007e5236cbb4bb in QEventLoop::exec (this=0x7e52323feac0, flags=...) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qflags.h:77
#5  0x00007e5236bc9627 in QThread::exec (this=this@entry=0x7e52363ff540 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qflags.h:77
#6  0x00007e52363e1b3d in QDBusConnectionManager::run (this=0x7e52363ff540 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/dbus/qdbusconnectionmanager.cpp:144
#7  0x00007e5236b8fa39 in operator() (__closure=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:433
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:365
#9  QThreadPrivate::start (arg=0x7e52363ff540 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qthread_unix.cpp:393
#10 0x00007e523609caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#11 0x00007e5236129c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7e523511ba40 (LWP 61613)):
[KCrash Handler]
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007e523604527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007e52360288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007e5236d247d9 in qAbort () at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:46
#12 qt_message_fatal<QString&> (message=..., context=...) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:2149
#13 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7e5236a49e88 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff92501c88) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:381
#14 0x00007e5236d25ac7 in QMessageLogger::fatal (this=<optimized out>, msg=0x7e5236a49e88 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:883
#15 0x00007e5236d100d1 in qt_assert (assertion=assertion@entry=0x7e5237911263 "!term.isEmpty()", file=file@entry=0x7e5237911231 "./src/engine/document.cpp", line=line@entry=23) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:105
#16 0x00007e52378e75e2 in Baloo::Document::addPositionTerm (this=<optimized out>, term=..., position=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/document.cpp:21
#17 Baloo::Document::addPositionTerm (this=<optimized out>, term=..., position=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/document.cpp:21
#18 0x00007e52378fd5e6 in Baloo::TermGenerator::indexText (this=0x7fff92502658, text=..., prefix=...) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/termgenerator.cpp:110
#19 0x00007e52378fd6d4 in Baloo::TermGenerator::indexText (this=<optimized out>, text=...) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/termgenerator.cpp:51
#20 0x00007e5232b0d1f9 in KFileMetaData::PlainTextExtractor::extract (this=<optimized out>, result=0x7fff925025d0) at /usr/src/kf6-kfilemetadata-6.15.0-0zneon+24.04+noble+release+build23/src/extractors/plaintextextractor.cpp:119
#21 0x0000621cda18c46f in Baloo::App::index (this=this@entry=0x7fff92502e70, tr=0x621cfab6c1a0, url=..., id=id@entry=96832580523341500) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/file/extractor/app.cpp:185
#22 0x0000621cda18de6d in Baloo::App::processNextFile (this=0x7fff92502e70) at /usr/include/c++/13/bits/unique_ptr.h:199
#23 0x00007e5236c77a99 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qobjectdefs_impl.h:461
#24 doActivate<false> (sender=0x621cfac40db0, signal_index=3, argv=0x7fff92502958) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qobject.cpp:4138
#25 0x00007e5236c17d4d in QSingleShotTimer::timeout (this=0x621cfac40db0) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qsingleshottimer_p.cpp:116
#26 QSingleShotTimer::timerEvent (this=0x621cfac40db0) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qsingleshottimer.cpp:71
#27 0x00007e5236c00ae6 in QObject::event (this=0x621cfac40db0, e=0x7fff92502b00) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qobject.cpp:1406
#28 0x00007e5236cb0dd0 in QCoreApplication::notifyInternal2 (receiver=0x621cfac40db0, event=0x7fff92502b00) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qcoreapplication.cpp:1106
#29 0x00007e5236b8f087 in QTimerInfoList::activateTimers (this=0x621cfab7b230) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qtimerinfo_unix.cpp:426
#30 0x00007e5236a61dd1 in timerSourceDispatch (source=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qeventdispatcher_glib.cpp:152
#31 idleTimerSourceDispatch (source=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qeventdispatcher_glib.cpp:199
#32 0x00007e5235dd75c5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007e5235e36737 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007e5235dd6a63 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007e5236a60b3f in QEventDispatcherGlib::processEvents (this=0x621cfab5b8d0, flags=...) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#36 0x00007e5236cbb4bb in QEventLoop::exec (this=0x7fff92502d70, flags=...) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qflags.h:77
#37 0x00007e5236cb405f in QCoreApplication::exec () at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qflags.h:77
#38 0x00007e52370dd49d in QGuiApplication::exec () at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/gui/kernel/qguiapplication.cpp:1993
#39 0x0000621cda182c94 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/file/extractor/main.cpp:43

Reported using DrKonqi
Comment 1 tagwerk19 2025-07-04 19:10:32 UTC
(In reply to toni_rocha from comment #0)
> #15 0x00007e5236d100d1 in qt_assert (assertion=assertion@entry=0x7e5237911263 "!term.isEmpty()", file=file@entry=0x7e5237911231 "./src/engine/document.cpp", line=line@entry=23) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:105
> #16 0x00007e52378e75e2 in Baloo::Document::addPositionTerm (this=<optimized out>, term=..., position=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/document.cpp:21
> #17 Baloo::Document::addPositionTerm (this=<optimized out>, term=..., position=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/document.cpp:21
> #18 0x00007e52378fd5e6 in Baloo::TermGenerator::indexText (this=0x7fff92502658, text=..., prefix=...) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/termgenerator.cpp:110
We are getting a rush of these. Just being reported on Neon User at the moment. It is triggered by files encoded with UTF-16 (Bug 506187  / Bug 506516) but also UTF-32 (Bug 506570)

I'll cut and paste from https://bugs.kde.org/show_bug.cgi?id=506516#c1, it would be interesting if you've got the same root cause:

... need to find out which file is causing trouble. In 506187 a UTF-16 file was the cause (a UTF-16 file that contained Chinese/Japanese scripts but that may not be a "necessary condition").

You should be able to follow what's being indexed by running "balooctl6 monitor" or by enabling logging and following the journal.

You can set up logging by creating a "~/.config/QtProject/qtlogging.ini" file containing:

    [rules]
    kf.baloo=true
    kf.baloo.*=true
    kf.kfilemetadata=true

and then restart Baloo, you might need:

    $ pkill baloo_file
    $ systemctl start --user kde-baloo
Comment 2 tagwerk19 2025-07-06 11:58:13 UTC
Assuming here that the issue is that you are hitting a UTF-16 file, the root cause is described here:
    https://bugs.kde.org/show_bug.cgi?id=506187#c9

Will close this as a duplicate of 506187, if you find the file causing the trouble post a followup and we can reopen the bug.

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