Bug 483373 - baloo file extractor crashes multiple times on start up
Summary: baloo file extractor crashes multiple times on start up
Status: RESOLVED DUPLICATE of bug 475695
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.115.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-03-12 20:25 UTC by Mark Rooks
Modified: 2024-03-14 19:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rooks 2024-03-12 20:25:26 UTC
Application: baloo_file_extractor (5.115.0)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.7.7-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.10 [CoredumpBackend]

-- Information about the crash:
After starting up, every time, through many many updates, the crash happens every time.

The crash can be reproduced every time.

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

           PID: 1400 (baloo_file_extr)
           UID: 1000 (mrooks)
           GID: 1000 (mrooks)
        Signal: 6 (ABRT)
     Timestamp: Wed 2024-03-13 06:21:28 AEST (39s ago)
  Command Line: /usr/libexec/baloo_file_extractor
    Executable: /usr/libexec/baloo_file_extractor
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-baloo_file-22196.scope
          Unit: user@1000.service
     User Unit: app-gnome-baloo_file-22196.scope
         Slice: user-1000.slice
     Owner UID: 1000 (mrooks)
       Boot ID: b55fb286a6bf40d29cf8192f1e3fc5ce
    Machine ID: ae64c79858954d6fbd05339e10667247
      Hostname: rooksy
       Storage: /var/lib/systemd/coredump/core.baloo_file_extr.1000.b55fb286a6bf40d29cf8192f1e3fc5ce.1400.1710274888000000.zst (present)
  Size on Disk: 1.3M
       Message: Process 1400 (baloo_file_extr) of user 1000 dumped core.
                
                Stack trace of thread 1400:
                #0  0x00007f62344949ec __pthread_kill_implementation (libc.so.6 + 0x949ec)
                #1  0x00007f6234441176 raise (libc.so.6 + 0x41176)
                #2  0x00007f6235b15d9a _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x7d9a)
                #3  0x00007f6234441240 __restore_rt (libc.so.6 + 0x41240)
                #4  0x00007f62344949ec __pthread_kill_implementation (libc.so.6 + 0x949ec)
                #5  0x00007f6234441176 raise (libc.so.6 + 0x41176)
                #6  0x00007f6234428917 abort (libc.so.6 + 0x28917)
                #7  0x00007f6234a73d4d n/a (liblmdb-0.9.30.so + 0x5d4d)
                #8  0x00007f6234a72158 n/a (liblmdb-0.9.30.so + 0x4158)
                #9  0x00007f6234a7f8d6 n/a (liblmdb-0.9.30.so + 0x118d6)
                #10 0x00007f6234a77103 n/a (liblmdb-0.9.30.so + 0x9103)
                #11 0x00007f6234a78d07 n/a (liblmdb-0.9.30.so + 0xad07)
                #12 0x00007f6234a7b816 mdb_cursor_put (liblmdb-0.9.30.so + 0xd816)
                #13 0x00007f6234a7c757 mdb_put (liblmdb-0.9.30.so + 0xe757)
                #14 0x00007f6235b32296 _ZN5Baloo9PostingDB3putERK10QByteArrayRK7QVectorIyE (libKF5BalooEngine.so.5 + 0x18296)
                #15 0x00007f6235b3e827 _ZN5Baloo16WriteTransaction6commitEv (libKF5BalooEngine.so.5 + 0x24827)
                #16 0x00007f6235b34c69 _ZN5Baloo11Transaction6commitEv (libKF5BalooEngine.so.5 + 0x1ac69)
                #17 0x000055f81d89aeac n/a (baloo_file_extractor + 0x15eac)
                #18 0x00007f6234f29a52 _ZN9QtPrivate15QSlotObjectBase4callEP7QObjectPPv (libQt5Core.so.5 + 0x329a52)
                #19 0x00007f6234f195fb _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x3195fb)
                #20 0x00007f6234eed938 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2ed938)
                #21 0x00007f6234f45c69 _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x345c69)
                #22 0x00007f6234f4654c timerSourceDispatch (libQt5Core.so.5 + 0x34654c)
                #23 0x00007f6233b13f30 n/a (libglib-2.0.so.0 + 0x5bf30)
                #24 0x00007f6233b15b58 n/a (libglib-2.0.so.0 + 0x5db58)
                #25 0x00007f6233b1620c g_main_context_iteration (libglib-2.0.so.0 + 0x5e20c)
                #26 0x00007f6234f46876 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x346876)
                #27 0x00007f6234eec3cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ec3cb)
                #28 0x00007f6234ef4860 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2f4860)
                #29 0x000055f81d890e33 n/a (baloo_file_extractor + 0xbe33)
                #30 0x00007f623442a1f0 __libc_start_call_main (libc.so.6 + 0x2a1f0)
                #31 0x00007f623442a2b9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a2b9)
                #32 0x000055f81d890f65 n/a (baloo_file_extractor + 0xbf65)
                
                Stack trace of thread 1515:
                #0  0x00007f6234510821 pselect (libc.so.6 + 0x110821)
                #1  0x00007f623460fb37 n/a (libusbmuxd-2.0.so.6 + 0x4b37)
                #2  0x00007f62346107a3 n/a (libusbmuxd-2.0.so.6 + 0x57a3)
                #3  0x00007f6234492bb2 start_thread (libc.so.6 + 0x92bb2)
                #4  0x00007f623451400c __clone3 (libc.so.6 + 0x11400c)
                
                Stack trace of thread 1401:
                #0  0x00007f623450578f __poll (libc.so.6 + 0x10578f)
                #1  0x00007f6233b15aff n/a (libglib-2.0.so.0 + 0x5daff)
                #2  0x00007f6233b1620c g_main_context_iteration (libglib-2.0.so.0 + 0x5e20c)
                #3  0x00007f6234f46876 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x346876)
                #4  0x00007f6234eec3cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ec3cb)
                #5  0x00007f6234d0304e _ZN7QThread4execEv (libQt5Core.so.5 + 0x10304e)
                #6  0x00007f623598a517 n/a (libQt5DBus.so.5 + 0x1a517)
                #7  0x00007f6234d0427d operator() (libQt5Core.so.5 + 0x10427d)
                #8  0x00007f6234492bb2 start_thread (libc.so.6 + 0x92bb2)
                #9  0x00007f623451400c __clone3 (libc.so.6 + 0x11400c)
                ELF object binary architecture: AMD x86-64


This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 1400]
[New LWP 1515]
[New LWP 1401]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/baloo_file_extractor'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f62344949ec in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f6233f50980 (LWP 1400))]
[Current thread is 1 (Thread 0x7f6233f50980 (LWP 1400))]

Thread 3 (Thread 0x7f62308006c0 (LWP 1401)):
#0  0x00007f623450578f in poll () from /lib64/libc.so.6
#1  0x00007f6233b15aff in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f6233b1620c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f6234f46876 in QEventDispatcherGlib::processEvents (this=0x7f6228000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f6234eec3cb in QEventLoop::exec (this=this@entry=0x7f62307ffbd0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f6234d0304e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f623598a517 in ?? () from /lib64/libQt5DBus.so.5
#7  0x00007f6234d0427d in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#9  QThreadPrivate::start (arg=0x7f6235a03060) at thread/qthread_unix.cpp:310
#10 0x00007f6234492bb2 in start_thread () from /lib64/libc.so.6
#11 0x00007f623451400c in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f622f0006c0 (LWP 1515)):
#0  0x00007f6234510821 in pselect () from /lib64/libc.so.6
#1  0x00007f623460fb37 in ?? () from /lib64/libusbmuxd-2.0.so.6
#2  0x00007f62346107a3 in ?? () from /lib64/libusbmuxd-2.0.so.6
#3  0x00007f6234492bb2 in start_thread () from /lib64/libc.so.6
#4  0x00007f623451400c in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6233f50980 (LWP 1400)):
[KCrash Handler]
#4  0x00007f62344949ec in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007f6234441176 in raise () from /lib64/libc.so.6
#6  0x00007f6234428917 in abort () from /lib64/libc.so.6
#7  0x00007f6234a73d4d in ?? () from /lib64/liblmdb-0.9.30.so
#8  0x00007f6234a72158 in ?? () from /lib64/liblmdb-0.9.30.so
#9  0x00007f6234a7f8d6 in ?? () from /lib64/liblmdb-0.9.30.so
#10 0x00007f6234a77103 in ?? () from /lib64/liblmdb-0.9.30.so
#11 0x00007f6234a78d07 in ?? () from /lib64/liblmdb-0.9.30.so
#12 0x00007f6234a7b816 in mdb_cursor_put () from /lib64/liblmdb-0.9.30.so
#13 0x00007f6234a7c757 in mdb_put () from /lib64/liblmdb-0.9.30.so
#14 0x00007f6235b32296 in Baloo::PostingDB::put(QByteArray const&, QVector<unsigned long long> const&) () from /lib64/libKF5BalooEngine.so.5
#15 0x00007f6235b3e827 in Baloo::WriteTransaction::commit() () from /lib64/libKF5BalooEngine.so.5
#16 0x00007f6235b34c69 in Baloo::Transaction::commit() () from /lib64/libKF5BalooEngine.so.5
#17 0x000055f81d89aeac in ?? ()
#18 0x00007f6234f29a52 in QtPrivate::QSlotObjectBase::call (a=0x7fffdf8f7ad0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 QSingleShotTimer::timerEvent (this=0x55f81e3b3410) at kernel/qtimer.cpp:322
#20 0x00007f6234f195fb in QObject::event (this=0x55f81e3b3410, e=0x7fffdf8f7be0) at kernel/qobject.cpp:1369
#21 0x00007f6234eed938 in QCoreApplication::notifyInternal2 (receiver=0x55f81e3b3410, event=0x7fffdf8f7be0) at kernel/qcoreapplication.cpp:1064
#22 0x00007f6234eedafe in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#23 0x00007f6234f45c69 in QTimerInfoList::activateTimers (this=0x55f81e2b18f0) at kernel/qtimerinfo_unix.cpp:643
#24 0x00007f6234f4654c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#25 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#26 0x00007f6233b13f30 in ?? () from /lib64/libglib-2.0.so.0
#27 0x00007f6233b15b58 in ?? () from /lib64/libglib-2.0.so.0
#28 0x00007f6233b1620c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#29 0x00007f6234f46876 in QEventDispatcherGlib::processEvents (this=0x55f81e2aaab0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f6234eec3cb in QEventLoop::exec (this=this@entry=0x7fffdf8f7e20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007f6234ef4860 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x000055f81d890e33 in ?? ()
#33 0x00007f623442a1f0 in __libc_start_call_main () from /lib64/libc.so.6
#34 0x00007f623442a2b9 in __libc_start_main_impl () from /lib64/libc.so.6
#35 0x000055f81d890f65 in ?? ()

The reporter indicates this bug may be a duplicate of or related to bug 465529.

Reported using DrKonqi
Comment 1 tagwerk19 2024-03-12 22:51:59 UTC
Maybe you can get something from Igor Poboiko's "baloo-checkdb.py" script, it would tell you at least if the index was corrupted. There's a pointer here:
    https://bugs.kde.org/show_bug.cgi?id=465529#c1
although I'm not sure what you'd need to do to install on tumbleweed.
Comment 2 tagwerk19 2024-03-13 18:24:05 UTC
(In reply to tagwerk19 from comment #1)
> ... I'm not sure what you'd need to do to install on tumbleweed ...
You can try:

        sudo ln -s /usr/bin/python3 /usr/bin/python
        sudo pkcon install python311-lmdb
        wget https://invent.kde.org/frameworks/baloo/uploads/bdc9f5f17fc96490b7bd4a22ac664843/baloo-checkdb.py
        chmod 700 baloo-checkdb.py
Comment 3 Christoph Cullmann 2024-03-14 19:33:29 UTC
That is all the same, if the db is broken, all stuff crashes, no good idea how to fix that.

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