Bug 469699

Summary: SIGABRT in libldap
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Hans-Peter Jansen <hpj>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED FIXED    
Severity: crash CC: stefan.bruens
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.105.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.108.0
Sentry Crash Report:

Description Hans-Peter Jansen 2023-05-13 14:48:38 UTC
Application: baloo_file_extractor (5.105.0)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.3.1-2-preempt x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
The SIGABRT was triggered during indexing.
One specific difference to usual setups is indexing an nfs share.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Baloo-Dateiinfosammler (baloo_file_extractor), signal: Aborted

[KCrash Handler]
#4  0x00007fdfc409490c in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007fdfc4043196 in raise () from /lib64/libc.so.6
#6  0x00007fdfc402b897 in abort () from /lib64/libc.so.6
#7  0x00007fdfc448dd4d in mdb_assert_fail.constprop.0 (env=0x55cba060a920, expr_txt=<optimized out>, func=<optimized out>, line=<optimized out>, file=0x7fdfc449a9d0 "mdb.c") at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:1571
#8  0x00007fdfc448c4bd in mdb_page_search_root (mc=0x7ffe661a3950, key=0x7ffe661a3d30, flags=0) at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:5563
#9  0x00007fdfc4491b95 in mdb_cursor_set (mc=0x7ffe661a3950, key=0x7ffe661a3d30, data=0x7ffe661a3d20, op=MDB_SET, exactp=0x7ffe661a394c) at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:6175
#10 0x00007fdfc4492a8f in mdb_get (txn=<optimized out>, dbi=<optimized out>, key=0x7ffe661a3d30, data=0x7ffe661a3d20) at /usr/src/debug/openldap-LMDB_0.9.30/libraries/liblmdb/mdb.c:5838
#11 0x00007fdfc554d0f0 in Baloo::IdFilenameDB::get (this=this@entry=0x7ffe661a3dd0, docId=<optimized out>, docId@entry=4611769388037570618) at /usr/src/debug/baloo-5.105.0/src/engine/idfilenamedb.cpp:83
#12 0x00007fdfc554d6df in Baloo::DocumentUrlDB::get (this=<optimized out>, docId=<optimized out>) at /usr/src/debug/baloo-5.105.0/src/engine/documenturldb.cpp:184
#13 0x00007fdfc5559bf2 in Baloo::Transaction::documentUrl (this=<optimized out>, id=id@entry=2471620637941039162) at /usr/src/debug/baloo-5.105.0/src/engine/transaction.cpp:102
#14 0x000055cb9f706ea3 in Baloo::App::processNextFile (this=0x7ffe661a4360) at /usr/src/debug/baloo-5.105.0/src/file/extractor/app.cpp:94
#15 0x00007fdfc4918c50 in QObject::event (this=0x7ffe661a4360, e=0x7fdfb8010300) at kernel/qobject.cpp:1347
#16 0x00007fdfc48ec978 in QCoreApplication::notifyInternal2 (receiver=0x7ffe661a4360, event=0x7fdfb8010300) at kernel/qcoreapplication.cpp:1064
#17 0x00007fdfc48eff71 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55cba04a3f50) at kernel/qcoreapplication.cpp:1821
#18 0x00007fdfc4946713 in postEventSourceDispatch (s=0x55cba05e7920) at kernel/qeventdispatcher_glib.cpp:277
#19 0x00007fdfc36698d8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x00007fdfc3669ce8 in ?? () from /lib64/libglib-2.0.so.0
#21 0x00007fdfc3669d7c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x00007fdfc4945f26 in QEventDispatcherGlib::processEvents (this=0x55cba05e00d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007fdfc48eb40b in QEventLoop::exec (this=this@entry=0x7ffe661a4250, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007fdfc48f38a0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x000055cb9f6fce23 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo-5.105.0/src/file/extractor/main.cpp:43
[Inferior 1 (process 14811) detached]

Reported using DrKonqi
Comment 1 Stefan BrĂ¼ns 2023-11-13 08:12:19 UTC
(Untested) Memory constraints interfering with regular operation, fixed.
Comment 2 Hans-Peter Jansen 2023-11-13 09:53:51 UTC
Thanks for the hint, Stefan!