Bug 468474

Summary: baloo file extractor crashes after a few mins after logging into KDE Plasma
Product: [Frameworks and Libraries] frameworks-baloo Reporter: zephyrsnuts <zephyrsnuts>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: majhoul, nicolas.fella, rayza8891
Priority: NOR Keywords: drkonqi
Version: 5.105.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description zephyrsnuts 2023-04-13 16:44:26 UTC
Application: baloo_file_extractor (5.105.0)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.2.10-zen1-1-zen x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Baloo file extractor crashes after a few mins of logging into KDE Plasma Desktop, and it keeps trying to restart and crashes over and over.
It also seems to slow down the system everything becomes sluggish, i have to go into KSysGuard and kill all processes related to Baloo

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007f9d0ba9e953 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007f9d0ba4fea8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007f9d0ba3953d in __GI_abort () at abort.c:79
#10 0x00007f9d0becc91e in mdb_assert_fail.constprop.0 (env=0x55c669cea720, expr_txt=<optimized out>, func=<optimized out>, line=<optimized out>, file=0x7f9d0bed99e0 "mdb.c") at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:1571
#11 0x00007f9d0becac2a in mdb_page_dirty (txn=<optimized out>, mp=<optimized out>) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:2143
#12 mdb_page_dirty (txn=0x55c669cebb50, mp=<optimized out>) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:2143
#13 0x00007f9d0bed8646 in mdb_page_alloc.isra.0 (num=<optimized out>, mp=0x7ffdd4c1d5e8, mc=<optimized out>) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:2337
#14 0x00007f9d0becfd53 in mdb_page_touch (mc=mc@entry=0x7ffdd4c1da70) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:2457
#15 0x00007f9d0bed19ac in mdb_cursor_touch (mc=mc@entry=0x7ffdd4c1da70) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:6563
#16 0x00007f9d0bed5c8d in mdb_cursor_del (flags=32, mc=0x7ffdd4c1da70) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:7121
#17 mdb_cursor_del (mc=mc@entry=0x7ffdd4c1da70, flags=flags@entry=32) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:7103
#18 0x00007f9d0bed7485 in mdb_del0 (txn=0x55c669cebb50, dbi=<optimized out>, key=0x7ffdd4c1de60, data=<optimized out>, flags=32) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:8621
#19 0x00007f9d0ce2edf7 in Baloo::DocumentIdDB::del (this=<optimized out>, docId=<optimized out>) at /usr/src/debug/baloo/baloo-5.105.0/src/engine/documentiddb.cpp:95
#20 0x00007f9d0ce3dc5f in Baloo::Transaction::removePhaseOne (this=this@entry=0x55c669ce7160, id=79956794809518080) at /usr/src/debug/baloo/baloo-5.105.0/src/engine/transaction.cpp:198
#21 0x000055c66993a0ee in Baloo::App::index (this=this@entry=0x7ffdd4c1e790, tr=0x55c669ce7160, url=..., id=id@entry=79956794809518080) at /usr/src/debug/baloo/baloo-5.105.0/src/file/extractor/app.cpp:185
#22 0x000055c66993b1e6 in Baloo::App::processNextFile (this=0x7ffdd4c1e790) at /usr/src/debug/baloo/baloo-5.105.0/src/file/extractor/app.cpp:102
#23 0x00007f9d0c2c1457 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#24 QSingleShotTimer::timerEvent (this=0x55c669ce91f0) at kernel/qtimer.cpp:320
#25 0x00007f9d0c2b1c26 in QObject::event (this=0x55c669ce91f0, e=0x7ffdd4c1e3c0) at kernel/qobject.cpp:1324
#26 0x00007f9d0c28e028 in QCoreApplication::notifyInternal2 (receiver=0x55c669ce91f0, event=0x7ffdd4c1e3c0) at kernel/qcoreapplication.cpp:1064
#27 0x00007f9d0c2d8583 in QTimerInfoList::activateTimers (this=0x55c669cc4b20) at kernel/qtimerinfo_unix.cpp:643
#28 0x00007f9d0c2d8b7a in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#29 0x00007f9d0ad0953b in g_main_dispatch (context=0x7f9d00000ee0) at ../glib/glib/gmain.c:3460
#30 g_main_context_dispatch (context=0x7f9d00000ee0) at ../glib/glib/gmain.c:4200
#31 0x00007f9d0ad66219 in g_main_context_iterate.constprop.0 (context=0x7f9d00000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#32 0x00007f9d0ad081a2 in g_main_context_iteration (context=0x7f9d00000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#33 0x00007f9d0c2d8d3c in QEventDispatcherGlib::processEvents (this=0x55c669cbcf80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f9d0c28668c in QEventLoop::exec (this=0x7ffdd4c1e670, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#35 0x00007f9d0c2912f9 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x00007f9d0c73b052 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#37 0x000055c669930d99 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo/baloo-5.105.0/src/file/extractor/main.cpp:43
[Inferior 1 (process 1313) detached]

The reporter indicates this bug may be a duplicate of or related to bug 460763, bug 430455, bug 428123, bug 427224, bug 426275, bug 425266, bug 465529.

Reported using DrKonqi
Comment 1 rayza8891 2023-04-15 09:41:53 UTC
Created attachment 158125 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.105.0) using Qt 5.15.8

Baloo file extractor crashes every time after I log into my user

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140369595775296) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140369595775296) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140369595775296, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007faa58a42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007faa58a287f3 in __GI_abort () at ./stdlib/abort.c:79
Comment 2 majhoul 2023-05-12 12:15:51 UTC
Created attachment 158889 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.105.0) using Qt 5.15.9

crash right after start, same with a restart

-- Backtrace (Reduced):
#7  0x00007f0fcf13177a in mdb_assert_fail.constprop () from /lib64/liblmdb.so.0.0.0
#8  0x00007f0fcf12f833 in mdb_page_dirty.lto_priv[cold] () from /lib64/liblmdb.so.0.0.0
#9  0x00007f0fcf13dd5e in mdb_page_alloc.isra () from /lib64/liblmdb.so.0.0.0
#10 0x00007f0fcf134e22 in mdb_page_touch () from /lib64/liblmdb.so.0.0.0
#11 0x00007f0fcf136abc in mdb_cursor_touch () from /lib64/liblmdb.so.0.0.0
Comment 3 majhoul 2023-05-17 07:25:53 UTC
Created attachment 159025 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.105.0) using Qt 5.15.9

baloo file extractor crashes after a few mins after logging into KDE Plasma

-- Backtrace (Reduced):
#7  0x00007fb1efc7777a in mdb_assert_fail.constprop () from /lib64/liblmdb.so.0.0.0
#8  0x00007fb1efc75833 in mdb_page_dirty.lto_priv[cold] () from /lib64/liblmdb.so.0.0.0
#9  0x00007fb1efc83d5e in mdb_page_alloc.isra () from /lib64/liblmdb.so.0.0.0
#10 0x00007fb1efc7ae22 in mdb_page_touch () from /lib64/liblmdb.so.0.0.0
#11 0x00007fb1efc7cabc in mdb_cursor_touch () from /lib64/liblmdb.so.0.0.0
Comment 4 Nicolas Fella 2023-08-13 15:14:13 UTC

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