Bug 485019

Summary: Crash: #5 0x00007f7290ecb023 in mdb_node_search (mc=mc@entry=0x7ffce136a580, key=key@entry=0x7ffce136a960, exactp=exactp@entry=0x7ffce136a49c) at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:5367
Product: [Frameworks and Libraries] frameworks-baloo Reporter: idoitprone <monkeyboyted>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: christoph
Priority: NOR    
Version: 6.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: coredumpctl debug 2825 - bt and bt full
coredump debug 3220

Description idoitprone 2024-04-04 09:23:18 UTC
Created attachment 168138 [details]
coredumpctl debug 2825 - bt and bt full

SUMMARY

I do not know the defaults about the crash, but baloo file crashed quite often
```
#1  0x00007f7290c94a73 in __pthread_kill_internal (signo=7, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f7290c41176 in __GI_raise (sig=7) at ../sysdeps/posix/raise.c:26
#3  0x00007f7291e67b93 in KCrash::defaultCrashHandler(int) () from /lib64/libKF6Crash.so.6
#4  <signal handler called>
#5  0x00007f7290ecb023 in mdb_node_search (mc=mc@entry=0x7ffce136a580, key=key@entry=0x7ffce136a960, exactp=exactp@entry=0x7ffce136a49c) at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:5367
#6  0x00007f7290ece390 in mdb_page_search_root (mc=0x7ffce136a580, key=0x7ffce136a960, flags=0) at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:5557
#7  0x00007f7290eceb95 in mdb_cursor_set (mc=mc@entry=0x7ffce136a580, key=key@entry=0x7ffce136a960, data=data@entry=0x7ffce136a950, op=op@entry=MDB_SET, exactp=exactp@entry=0x7ffce136a57c) at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:6175
#8  0x00007f7290ecfa8f in mdb_get (txn=<optimized out>, dbi=<optimized out>, key=0x7ffce136a960, data=0x7ffce136a950) at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:5838
#9  0x00007f7291cb8f0c in Baloo::IdFilenameDB::get(unsigned long long, Baloo::IdFilenameDB::FilePath&) () from /lib64/libKF6BalooEngine.so.6
#10 0x00007f7291cb9f22 in Baloo::DocumentUrlDB::getId(unsigned long long, QByteArray const&) const () from /lib64/libKF6BalooEngine.so.6
#11 0x00007f7291cc3465 in Baloo::Transaction::documentId(QByteArray const&) const () from /lib64/libKF6BalooEngine.so.6
#12 0x0000564a70933951 in ?? ()
```

```
coredumpctl list
Hint: You are currently not seeing messages from other users and the system.
      Users in the 'systemd-journal' group can see all messages. Pass -q to
      turn off this notice.
TIME                          PID  UID  GID SIG     COREFILE EXE                                                        SIZE
Wed 2024-03-27 04:47:20 PDT  3181 1000 1000 SIGSEGV present  /usr/bin/plasmashell                                      41.3M
Wed 2024-03-27 05:23:51 PDT  3262 1000 1000 SIGSEGV present  /usr/bin/plasmashell                                      23.9M
Wed 2024-03-27 06:39:13 PDT  4220 1000 1000 SIGABRT present  /home/doof/.local/share/Steam/ubuntu12_64/steamwebhelper  11.3M
Wed 2024-03-27 06:39:14 PDT  3097 1000 1000 SIGABRT present  /usr/bin/Xwayland                                          2.9M
Wed 2024-03-27 12:15:56 PDT  3592 1000 1000 SIGABRT present  /usr/bin/plasmashell                                      40.0M
Wed 2024-03-27 12:38:34 PDT  3496 1000 1000 SIGSEGV present  /usr/bin/plasmashell                                      24.4M
Thu 2024-03-28 10:31:52 PDT  3185 1000 1000 SIGABRT missing  /usr/bin/Xwayland                                             -
Thu 2024-03-28 10:31:52 PDT  3413 1000 1000 SIGABRT missing  /usr/bin/plasmashell                                          -
Thu 2024-03-28 13:53:46 PDT  3213 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                2.7M
Fri 2024-03-29 04:28:54 PDT  3187 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.2M
Fri 2024-03-29 06:31:02 PDT  2724 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.3M
Fri 2024-03-29 08:41:33 PDT  3018 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.5M
Fri 2024-03-29 08:54:47 PDT  2733 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.6M
Sat 2024-03-30 10:47:02 PDT  2894 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.4M
Sat 2024-03-30 11:40:22 PDT  2725 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.3M
Sat 2024-03-30 14:14:13 PDT 21377 1000 1000 SIGTRAP present  /home/doof/.local/share/Steam/ubuntu12_64/steamwebhelper   8.9M
Sat 2024-03-30 14:25:18 PDT 24501 1000 1000 SIGTRAP present  /home/doof/.local/share/Steam/ubuntu12_64/steamwebhelper  10.5M
Sat 2024-03-30 14:28:56 PDT  2922 1000 1000 SIGABRT present  /usr/bin/Xwayland                                          3.4M
Sat 2024-03-30 14:28:59 PDT  3142 1000 1000 SIGABRT missing  /usr/bin/plasmashell                                          -
Sat 2024-03-30 14:29:45 PDT  3152 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.3M
Sat 2024-03-30 14:30:01 PDT  4545 1000 1000 SIGBUS  present  /usr/libexec/baloorunner                                   2.7M
Sat 2024-03-30 14:32:48 PDT  3354 1000 1000 SIGABRT present  /usr/bin/Xwayland                                          2.9M
Sat 2024-03-30 14:32:49 PDT  5354 1000 1000 SIGABRT present  /app/bin/obs                                              17.2M
Sat 2024-03-30 14:32:51 PDT  3586 1000 1000 SIGABRT present  /usr/bin/plasmashell                                      21.9M
Sat 2024-03-30 14:34:39 PDT  3266 1000 1000 SIGABRT present  /usr/bin/maliit-keyboard                                   6.5M
Sat 2024-03-30 14:55:44 PDT  2945 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.3M
Sat 2024-03-30 17:36:16 PDT  3126 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.3M
Sat 2024-03-30 19:05:35 PDT  2827 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.3M
Sat 2024-03-30 23:04:50 PDT  3042 1000 1000 SIGABRT missing  /usr/bin/Xwayland                                             -
Sat 2024-03-30 23:04:50 PDT  4093 1000 1000 SIGABRT missing  /home/doof/.local/share/Steam/ubuntu12_64/steamwebhelper      -
Sat 2024-03-30 23:04:50 PDT  3257 1000 1000 SIGABRT missing  /usr/bin/plasmashell                                          -
Sat 2024-03-30 23:05:59 PDT  3090 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.3M
Sun 2024-03-31 07:35:57 PDT  2960 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.6M
Sun 2024-03-31 11:36:43 PDT  2970 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.2M
Mon 2024-04-01 05:12:12 PDT  2942 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.1M
Tue 2024-04-02 18:51:34 PDT  3197 1000 1000 SIGABRT present  /usr/bin/Xwayland                                          7.7K
Tue 2024-04-02 18:51:35 PDT  3414 1000 1000 SIGABRT present  /usr/bin/plasmashell                                      18.1M
Tue 2024-04-02 18:51:59 PDT  3059 1000 1000 SIGABRT present  /usr/bin/maliit-keyboard                                   6.5M
Tue 2024-04-02 18:53:25 PDT  2979 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.5M
Tue 2024-04-02 20:48:17 PDT  3235 1000 1000 SIGABRT present  /usr/bin/Xwayland                                        201.2K
Tue 2024-04-02 20:48:18 PDT  3451 1000 1000 SIGABRT present  /usr/bin/plasmashell                                      10.9M
Tue 2024-04-02 20:50:59 PDT 10312 1000 1000 SIGSEGV present  /usr/bin/plasmashell                                      28.3M
Wed 2024-04-03 10:32:32 PDT  2833 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.8M
Wed 2024-04-03 10:52:05 PDT  3172 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.6M
Wed 2024-04-03 11:04:01 PDT  3631 1000 1000 SIGABRT present  /usr/bin/plasmashell                                      12.0M
Wed 2024-04-03 11:04:01 PDT  3417 1000 1000 SIGABRT present  /usr/bin/Xwayland                                          2.9M
Wed 2024-04-03 11:09:08 PDT  3220 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.3M
Wed 2024-04-03 11:10:33 PDT  3602 1000 1000 SIGSEGV present  /usr/bin/plasmashell                                      22.1M
Thu 2024-04-04 01:44:46 PDT  2825 1000 1000 SIGBUS  present  /usr/libexec/kf6/baloo_file                                1.7M
```

STEPS TO REPRODUCE
1.  ??
2.  ??
3.  ??

OBSERVED RESULT
I only notice babloo file crashed in my coredump

EXPECTED RESULT
Not crash

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240402
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Custom APU 0405
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Custom GPU 0405
Manufacturer: Valve
Product Name: Jupiter
System Version: 1


Information for package kf6-baloo-file:
---------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : kf6-baloo-file
Version        : 6.0.0-1.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 603.3 KiB
Installed      : Yes
Status         : up-to-date
Source package : kf6-baloo-6.0.0-1.2.src
Upstream URL   : https://www.kde.org
Summary        : Filesearch components for Baloo Framework
Description    : 
    Baloo is a framework for searching and managing metadata. This
    package contains filesearch components.


ADDITIONAL INFORMATION
Comment 1 idoitprone 2024-04-04 09:26:35 UTC
Created attachment 168139 [details]
coredump debug 3220

I did not run bt full on this file unlike my other bt.
Comment 2 idoitprone 2024-04-04 09:27:19 UTC
```
Information for package plasma6-mobile:
---------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : plasma6-mobile
Version        : 6.0.3.1-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 5.8 MiB
Installed      : Yes
Status         : up-to-date
Source package : plasma6-mobile-6.0.3.1-1.1.src
Upstream URL   : https://www.kde.org/
Summary        : Plasma shell for mobile devices
Description    : 
    Plasma shell for mobile devices.
```
Running folio on plasma6-mobile
Comment 3 Christoph Cullmann 2024-04-11 19:46:16 UTC

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