Bug 477404 - Baloo File Extractor crashes on login
Summary: Baloo File Extractor crashes on login
Status: RESOLVED DUPLICATE of bug 475695
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.112.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
: 477405 477410 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-23 08:34 UTC by bartiffic
Modified: 2024-03-14 18:50 UTC (History)
2 users (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 bartiffic 2023-11-23 08:34:04 UTC
Application: baloo_file_extractor (5.112.0)

Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 6.6.2-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
I logged out of KDE and logged in again. Then I got the crash message of baloo_file_extractor in the taskbar. This happens every time. I first noticed it yesterday.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  __memcpy_evex_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:271
#7  0x00007f1bec955266 in memcpy (__len=<optimized out>, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:29
#8  mdb_cursor_put (mc=mc@entry=0x7ffcf2be8ff0, key=key@entry=0x7ffcf2be9400, data=data@entry=0x7ffcf2be93f0, flags=<optimized out>, flags@entry=0) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:6950
#9  0x00007f1bec9553c8 in mdb_put (txn=0x55df60b91b80, dbi=3, key=0x7ffcf2be9400, data=0x7ffcf2be93f0, flags=0) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:9076
#10 0x00007f1bed8d70bf in Baloo::PositionDB::put (this=<optimized out>, term=..., list=...) at /usr/src/debug/baloo5/baloo-5.112.0/src/engine/positiondb.cpp:68
#11 0x00007f1bed8e5d43 in Baloo::WriteTransaction::commit (this=<optimized out>) at /usr/src/debug/baloo5/baloo-5.112.0/src/engine/writetransaction.cpp:336
#12 0x00007f1bed8dad3e in Baloo::Transaction::commit (this=0x7f1be400c360) at /usr/src/debug/baloo5/baloo-5.112.0/src/engine/transaction.cpp:285
#13 0x000055df607daebd in Baloo::App::processNextFile (this=0x7ffcf2be9b60) at /usr/src/debug/baloo5/baloo-5.112.0/src/file/extractor/app.cpp:109
#14 0x00007f1beccc3bd4 in QObject::event (this=0x7ffcf2be9b60, e=0x55df618ad9f0) at kernel/qobject.cpp:1347
#15 0x00007f1becc9c168 in QCoreApplication::notifyInternal2 (receiver=0x7ffcf2be9b60, event=0x55df618ad9f0) at kernel/qcoreapplication.cpp:1064
#16 0x00007f1becca10cb in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55df60a8dbf0) at kernel/qcoreapplication.cpp:1821
#17 0x00007f1becce7138 in postEventSourceDispatch (s=0x55df60b5d500) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007f1beb70df69 in g_main_dispatch (context=0x7f1be4000ec0) at ../glib/glib/gmain.c:3476
#19 0x00007f1beb76c327 in g_main_context_dispatch_unlocked (context=0x7f1be4000ec0) at ../glib/glib/gmain.c:4284
#20 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f1be4000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#21 0x00007f1beb70c162 in g_main_context_iteration (context=0x7f1be4000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#22 0x00007f1becceaf7c in QEventDispatcherGlib::processEvents (this=0x55df60b573b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007f1becc9ae74 in QEventLoop::exec (this=this@entry=0x7ffcf2be9a50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007f1becc9c313 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00007f1bed13bf12 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#26 0x000055df607d0d4e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5/baloo-5.112.0/src/file/extractor/main.cpp:43
[Inferior 1 (process 8302) detached]

The reporter indicates this bug may be a duplicate of or related to bug 428123, bug 450988, bug 471206, bug 475695, bug 474840.

Reported using DrKonqi
Comment 1 tagwerk19 2023-11-23 17:02:57 UTC
Any clues about which file is being indexed?

There might possibly be something in the journal or maybe you can run "balooctl monitor" (and restart baloo) and see what files are being indexed.
Comment 2 Ben Bonacci 2023-11-24 09:01:23 UTC
*** Bug 477405 has been marked as a duplicate of this bug. ***
Comment 3 Ben Bonacci 2023-11-24 09:01:33 UTC
*** Bug 477410 has been marked as a duplicate of this bug. ***
Comment 4 bartiffic 2023-11-30 10:05:55 UTC
(In reply to tagwerk19 from comment #1)
> Any clues about which file is being indexed?
> 
> There might possibly be something in the journal or maybe you can run
> "balooctl monitor" (and restart baloo) and see what files are being indexed.

I'm sorry that I cannot reproduce this bug, because I've made my KDE desktop more lightweight to save some energy. Below I show you what packages I've originally installed and what is left now. It is just an overview I can give out of my .histfile, but maybe it helps a little.

# originally installed KDE
yay -S kde-applications-meta kde-accessibility-meta kde-education-meta kde-graphics-meta kde-multimedia-meta kde-network-meta kde-office-meta kde-pim-meta kde-sdk-meta kde-system-meta kde-utilities-meta kdevelop-meta tesseract-data-eng tesseract-data-deu

# made KDE lightweight
yay -Rns kde-accessibility-meta kde-network-meta kde-system-meta tesseract-data-eng tesseract-data-deu kde-education-meta kde-graphics-meta kde-multimedia-meta kde-office-meta kde-pim-meta kde-sdk-meta kde-utilities-meta kdevelop-meta breeze-plymouth discover drkonqi flatpak-kcm plasma-firewall plasma-vault plasma-welcome
yay -S plasma-desktop plasma-pa dolphin konsole kdeplasma-addons breeze powerdevil kscreen kactivitymanagerd kscreenlocker ksshaskpass kwallet5 kde-cli-tools breeze-gtk sddm-kcm xdg-desktop-portal-kde libkscreen plasma-workspace-wallpapers

# current installed packages on lightweight system
yay -Qqett -g plasma          
bluedevil
breeze-gtk
kde-gtk-config
kdeplasma-addons
kgamma5
khotkeys
kscreen
kwallet-pam
kwrited
oxygen
plasma-browser-integration
plasma-desktop
plasma-disks
plasma-nm
plasma-pa
plasma-sdk
plasma-systemmonitor
plasma-thunderbolt
plasma-workspace-wallpapers
plymouth-kcm
sddm-kcm

yay -Qqett -g kde-applications
ark
dolphin
kate
kcalc
kdegraphics-thumbnailers
kompare
konsole
kwalletmanager
okular
spectacle
Comment 5 Christoph Cullmann 2024-03-14 18:50:11 UTC

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