Bug 498517 - baloo_file_extractor regularly crashes with SIGSEGV
Summary: baloo_file_extractor regularly crashes with SIGSEGV
Status: REPORTED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.102.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-11 05:35 UTC by Igor Zhuravlov
Modified: 2025-01-21 01:49 UTC (History)
1 user (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 Igor Zhuravlov 2025-01-11 05:35:03 UTC
SUMMARY
baloo_file_extractor regularly crashes with SIGSEGV and core dump.

STEPS TO REPRODUCE
1. Configure Baloo to index file contents.
2. Start Baloo.

OBSERVED RESULT
> corecumpctl list
[...]
Wed 2025-01-08 08:51:03 +10  7958 1000 100 SIGSEGV present  /usr/lib/baloo_file_extractor    1.0M
Wed 2025-01-08 08:51:34 +10  7980 1000 100 SIGSEGV present  /usr/lib/baloo_file_extractor    1.1M
Wed 2025-01-08 08:53:36 +10  8032 1000 100 SIGSEGV present  /usr/lib/baloo_file_extractor  848.9K
Wed 2025-01-08 08:54:05 +10  8050 1000 100 SIGSEGV present  /usr/lib/baloo_file_extractor    1.1M
Wed 2025-01-08 08:54:28 +10  8069 1000 100 SIGSEGV present  /usr/lib/baloo_file_extractor  993.1K
Wed 2025-01-08 08:54:56 +10  8090 1000 100 SIGSEGV present  /usr/lib/baloo_file_extractor  898.1K
Wed 2025-01-08 08:55:21 +10  8107 1000 100 SIGSEGV present  /usr/lib/baloo_file_extractor  834.2K
Wed 2025-01-08 08:55:25 +10  8120 1000 100 SIGSEGV present  /usr/lib/baloo_file_extractor 1023.9K
[...]

EXPECTED RESULT
No core dumps from baloo_file_extractor .

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.14.21-150500.55.88-default #1 SMP PREEMPT_DYNAMIC x86_64
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
# coredumpctl debug --debugger-arguments="--batch --nh --quiet --eval-command='bt'" 2106
[...]
[New LWP 2106]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/lib/baloo_file_extractor'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fdf350ddd2b in raise () from /lib64/libc.so.6
#0  0x00007fdf350ddd2b in raise () from /lib64/libc.so.6
#1  0x00007fdf361c80d6 in KCrash::defaultCrashHandler(int) () from /usr/lib64/libKF5Crash.so.5
#2  <signal handler called>
#3  0x00007fdf34457d51 in ?? () from /usr/lib64/libwayland-client.so.0
#4  0x00007fdf344530c3 in ?? () from /usr/lib64/libwayland-client.so.0
#5  0x00007fdf3445374d in wl_proxy_marshal_array_flags () from /usr/lib64/libwayland-client.so.0
#6  0x00007fdf3445394f in wl_proxy_marshal_flags () from /usr/lib64/libwayland-client.so.0
#7  0x00007fdf3363227b in ?? () from /usr/lib64/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeWaylandPlugin.so
#8  0x00007fdf33631787 in ?? () from /usr/lib64/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeWaylandPlugin.so
#9  0x00007fdf336319a7 in ?? () from /usr/lib64/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeWaylandPlugin.so
#10 0x00007fdf355f8459 in QHashData::free_helper(void (*)(QHashData::Node*)) () from /usr/lib64/libQt5Core.so.5
#11 0x00007fdf33630634 in ?? () from /usr/lib64/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeWaylandPlugin.so
#12 0x00007fdf33630659 in ?? () from /usr/lib64/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeWaylandPlugin.so
#13 0x00007fdf357a9811 in ?? () from /usr/lib64/libQt5Core.so.5
#14 0x00007fdf357abac6 in ?? () from /usr/lib64/libQt5Core.so.5
#15 0x00007fdf350e121e in __cxa_finalize () from /lib64/libc.so.6
#16 0x00007fdf35598bd3 in ?? () from /usr/lib64/libQt5Core.so.5
#17 0x00007fffde2ef990 in ?? ()
#18 0x00007fdf363f59b3 in _dl_fini () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: frame did not save the PC
Comment 1 tagwerk19 2025-01-11 08:17:39 UTC
(In reply to Igor Zhuravlov from comment #0)
> #7  0x00007fdf3363227b in ?? () from /usr/lib64/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeWaylandPlugin.so
This is perhaps a bit old...

... and while I don't normally follow crash dumps, it looks as if this is failing while looking to see if the system is idle

There is a old Bug 433783 that may be related and there have been some work (and reversions) in the area:
     https://invent.kde.org/frameworks/baloo/-/merge_requests/200
Comment 2 tagwerk19 2025-01-20 10:19:33 UTC
(In reply to tagwerk19 from comment #1)
> There is a old Bug 433783 that may be related and there have been some work
> (and reversions) in the area:
>      https://invent.kde.org/frameworks/baloo/-/merge_requests/200
Did this make sense?

I'm guessing you are stuck on Plasma 5 but it would be interesting to know if you have a Plasma 6 system available and see the same behaviour.
Comment 3 Igor Zhuravlov 2025-01-21 01:49:12 UTC
Sorry, I have no Plasma 6 system available.