Application: baloo_file_extractor (6.1.0) Qt Version: 6.7.0 Frameworks Version: 6.1.0 Operating System: Linux 6.8.8-surface-1 x86_64 Windowing System: Wayland Distribution: KDE neon 6.0 DrKonqi: 6.0.4 [KCrashBackend] -- Information about the crash: Sometimes, when I compile my program with MAKE, Baloo crashes. I think it might get out of RAM? It doesn't always happen when I compile something, but with a big project, it happens very regularly. The crash can be reproduced sometimes. -- Backtrace: Application: Baloo-Dateiinfosammler (baloo_file_extractor), signal: Aborted [KCrash Handler] #4 __pthread_kill_implementation (no_tid=0, signo=6, threadid=131024388332096) at ./nptl/pthread_kill.c:44 #5 __pthread_kill_internal (signo=6, threadid=131024388332096) at ./nptl/pthread_kill.c:78 #6 __GI___pthread_kill (threadid=131024388332096, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #7 0x0000772a81c42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #8 0x0000772a81c287f3 in __GI_abort () at ./stdlib/abort.c:79 #9 0x0000772a828fdb6e in qAbort () at ./src/corelib/global/qglobal.cpp:161 #10 0x0000772a828f820a in qt_message_fatal<QString&> (message=..., context=...) at ./src/corelib/global/qlogging.cpp:2025 #11 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=<optimized out>, ap=ap@entry=0x7fff33b73a00) at ./src/corelib/global/qlogging.cpp:374 #12 0x0000772a828fe511 in QMessageLogger::fatal (this=<optimized out>, msg=<optimized out>) at ./src/corelib/global/qlogging.cpp:889 #13 0x0000772a828c2ac2 in qt_assert (assertion=assertion@entry=0x772a82c41201 "id > 0", file=file@entry=0x772a82c41193 "./src/engine/transaction.cpp", line=line@entry=83) at ./src/corelib/global/qassert.cpp:68 #14 0x0000772a82c19cf8 in Baloo::Transaction::hasDocument (this=<optimized out>, id=<optimized out>) at ./src/engine/transaction.cpp:83 #15 Baloo::Transaction::hasDocument (this=this@entry=0x648a29f02870, id=<optimized out>) at ./src/engine/transaction.cpp:81 #16 0x0000648a2875c5c6 in Baloo::App::index (this=0x7fff33b74700, tr=0x648a29f02870, url=..., id=136238477228829418) at ./src/file/extractor/app.cpp:187 #17 0x0000648a2875d3ee in Baloo::App::processNextFile (this=0x7fff33b74700) at /usr/include/c++/11/bits/unique_ptr.h:173 #18 0x0000772a8286355e in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:469 #19 doActivate<false> (sender=0x648a29efd180, signal_index=3, argv=0x7fff33b74228) at ./src/corelib/kernel/qobject.cpp:4078 #20 0x0000772a8281655e in QSingleShotTimer::timeout (this=0x648a29efd180) at ./obj-x86_64-linux-gnu/src/corelib/Core_autogen/7GB2EGQPHR/moc_qsingleshottimer_p.cpp:139 #21 QSingleShotTimer::timerEvent (this=0x648a29efd180) at ./src/corelib/kernel/qsingleshottimer_p.h:116 #22 0x0000772a827fa1ce in QObject::event (this=0x648a29efd180, e=0x7fff33b743b0) at ./src/corelib/kernel/qobject.cpp:1423 #23 0x0000772a828a1c13 in doNotify (event=<optimized out>, receiver=<optimized out>) at ./src/corelib/kernel/qcoreapplication.cpp:1235 #24 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at ./src/corelib/kernel/qcoreapplication.cpp:1218 #25 QCoreApplication::notifyInternal2 (receiver=0x648a29efd180, event=0x7fff33b743b0) at ./src/corelib/kernel/qcoreapplication.cpp:1134 #26 0x0000772a82782dda in QTimerInfoList::activateTimers (this=<optimized out>) at ./src/corelib/kernel/qtimerinfo_unix.cpp:436 #27 0x0000772a8266f52c in timerSourceDispatch (source=<optimized out>) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:150 #28 0x0000772a80b20d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #29 0x0000772a80b762b8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #30 0x0000772a80b1e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x0000772a82676591 in QEventDispatcherGlib::processEvents (this=0x648a29ecdff0, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:396 #32 0x0000772a828a3e3b in QEventLoop::exec (this=this@entry=0x7fff33b74610, flags=..., flags@entry=...) at ./src/corelib/global/qflags.h:34 #33 0x0000772a828a5a6c in QCoreApplication::exec () at ./src/corelib/global/qflags.h:74 #34 0x0000648a28751c8a in main (argc=<optimized out>, argv=<optimized out>) at ./src/file/extractor/main.cpp:33 [Inferior 1 (process 33565) detached] Reported using DrKonqi
(In reply to niklas312 from comment #0) > Sometimes, when I compile my program with MAKE, Baloo crashes. I think it > might get out of RAM? It doesn't always happen when I compile something, but > with a big project, it happens very regularly. If you watch with balooctl monitor do you see Baloo starting to index something? In the middle of a "make" there might be many files touched and waiting to be reindexed. > #13 0x0000772a828c2ac2 in qt_assert > (assertion=assertion@entry=0x772a82c41201 "id > 0", > file=file@entry=0x772a82c41193 "./src/engine/transaction.cpp", > line=line@entry=83) at ./src/corelib/global/qassert.cpp:68 An Assert but I'm not sure what it means 8-) Possibly that the file has been flagged for indexing but has been deleted before the indexing is done. If you were on Neon Testing, an assert should crash you. On Neon User, I'm not so sure... There's a faint chance that you are hitting the (relatively recent) limit on the amount of RAM Baloo can use. This is now set in the kde-baloo unit file to 512 MB. You could try giving it more space (this might speed up Baloo) systemctl --user edit kde-baloo and changing the MemoryHigh=512MB to a percentage depending on how much RAM you've got, 25% would allow Baloo more room but not steal too much from the rest of the system. Baloo only really depends on "a lot" of RAM when it is indexing, it can happily use RAM to cache its database in normal use but will release it when needed.
Cross ref: https://www.reddit.com/r/kde/comments/1ciig2l/ram_usage_shoots_way_up_when_kde_app_is_starting/