Bug 480081 - Crashes multiple times at boot giving me a horribly annoying popup
Summary: Crashes multiple times at boot giving me a horribly annoying popup
Status: REPORTED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (other bugs)
Version First Reported In: 5.114.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-01-20 03:19 UTC by udumbutt
Modified: 2024-01-20 12:46 UTC (History)
1 user (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 udumbutt 2024-01-20 03:19:37 UTC
Application: baloo_file_extractor (5.114.0)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.6.10-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Crashes multiple times at boot giving me a horribly annoying popup

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fbd9310ce3c in mdb_midl_xmerge () from /usr/lib/liblmdb.so
#5  0x00007fbd9310d719 in ?? () from /usr/lib/liblmdb.so
#6  0x00007fbd93104fa3 in ?? () from /usr/lib/liblmdb.so
#7  0x00007fbd93106bec in ?? () from /usr/lib/liblmdb.so
#8  0x00007fbd9310af3d in mdb_cursor_del () from /usr/lib/liblmdb.so
#9  0x00007fbd9310c745 in ?? () from /usr/lib/liblmdb.so
#10 0x00007fbd940887f7 in Baloo::DocumentDB::del(unsigned long long) () from /usr/lib/libKF5BalooEngine.so.5
#11 0x00007fbd9409ecd0 in Baloo::WriteTransaction::removeDocument(unsigned long long) () from /usr/lib/libKF5BalooEngine.so.5
#12 0x000055df2304ef19 in ?? ()
#13 0x00007fbd934d30a7 in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007fbd934c38de in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007fbd9349bef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007fbd934ea55b in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#17 0x00007fbd934eab4a in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007fbd91f0df69 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0x00007fbd91f6c367 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007fbd91f0c162 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007fbd934ead0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#22 0x00007fbd9349ac04 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007fbd9349c0a3 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#24 0x000055df23044d4e in ?? ()
#25 0x00007fbd92c45cd0 in ?? () from /usr/lib/libc.so.6
#26 0x00007fbd92c45d8a in __libc_start_main () from /usr/lib/libc.so.6
#27 0x000055df23044e75 in ?? ()
[Inferior 1 (process 3269) detached]

The reporter indicates this bug may be a duplicate of or related to bug 413449, bug 472197, bug 472540, bug 473132, bug 473658, bug 475589.

Reported using DrKonqi
Comment 1 tagwerk19 2024-01-20 12:46:13 UTC
(In reply to udumbutt from comment #0)
> #10 0x00007fbd940887f7 in Baloo::DocumentDB::del(unsigned long long) () from
> /usr/lib/libKF5BalooEngine.so.5
> #11 0x00007fbd9409ecd0 in Baloo::WriteTransaction::removeDocument(unsigned
> long long) () from /usr/lib/libKF5BalooEngine.so.5
I can see that Baloo is trying to remove the entry for a deleted file, but the trace does not show what file.

It *might* be possible to see more with debugging, you can turn on debugging by creating a qtlogging.ini file:

    mkdir -p ~/.config/QtProject
    vi ~/.config/QtProject/qtlogging.ini

and adding

    [rules]
    kf.baloo=true
    kf.baloo.engine=true

You can also ensure that any log or error messages sent to stderr get copied to the journal by editing the kde-baloo unit file:

    systemctl edit --user kde-baloo

and add line:

    [Service]
    StandardError=journal

and saving the override.