Bug 405586 - baloo_file_extractor crashes in Baloo::DocumentIdDB::del() / mdb_node_del()
Summary: baloo_file_extractor crashes in Baloo::DocumentIdDB::del() / mdb_node_del()
Status: CONFIRMED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.59.0
Platform: openSUSE Linux
: HI crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
: 401942 417043 433605 468474 469433 472580 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-18 08:49 UTC by Daniel
Modified: 2023-08-13 15:34 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Another backtrace (4.62 KB, text/plain)
2019-06-26 14:33 UTC, Nicolas Fella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2019-03-18 08:49:28 UTC
Application: baloo_file_extractor (5.56.0)

Qt Version: 5.12.2
Frameworks Version: 5.56.0
Operating System: Linux 4.12.14-lp150.12.48-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed: Start the system

- Unusual behavior I noticed: NO

- Custom settings of the application: Default

Baloo always crash on startup. It never works on my system. I don't know what happens

The crash can be reproduced every time.

-- Backtrace:
Application: Extractor de archivos de Baloo (baloo_file_extractor), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f61cc37e900 (LWP 2955))]

Thread 3 (Thread 0x7f61bd109700 (LWP 2957)):
#0  0x00007f61c8e43b68 in read () from /lib64/libc.so.6
#1  0x00007f61c54e1a50 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f61c549cc38 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f61c549d0d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f61c549d23c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f61c978787b in QEventDispatcherGlib::processEvents (this=0x7f61b0000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f61c9728aaa in QEventLoop::exec (this=this@entry=0x7f61bd108c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f61c955003a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f61cb152d55 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f61c95517e2 in QThreadPrivate::start (arg=0x7f61cb3cad80) at thread/qthread_unix.cpp:361
#10 0x00007f61c7700559 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f61c8e5281f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f61bdf39700 (LWP 2956)):
#0  0x00007f61c8e4807b in poll () from /lib64/libc.so.6
#1  0x00007f61c49e6387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f61c49e7fba in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f61c0d2e7d8 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f61c95517e2 in QThreadPrivate::start (arg=0x5636f93c3830) at thread/qthread_unix.cpp:361
#5  0x00007f61c7700559 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f61c8e5281f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f61cc37e900 (LWP 2955)):
[KCrash Handler]
#6  0x00007f61c8d900e0 in raise () from /lib64/libc.so.6
#7  0x00007f61c8d916c1 in abort () from /lib64/libc.so.6
#8  0x00007f61c80b8922 in mdb_assert_fail (env=0x5636f947fc80, expr_txt=expr_txt@entry=0x7f61c80ba3a0 "indx < numkeys", func=func@entry=0x7f61c80babf8 <__func__.7963> "mdb_node_del", line=line@entry=7160, file=0x7f61c80ba390 "mdb.c") at mdb.c:1487
#9  0x00007f61c80add7f in mdb_node_del (mc=mc@entry=0x7ffe585e7dc0, ksize=0) at mdb.c:7160
#10 0x00007f61c80b5014 in mdb_cursor_del0 (mc=0x7ffe585e7dc0) at mdb.c:8191
#11 mdb_cursor_del (mc=0x7ffe585e7dc0, flags=<optimized out>) at mdb.c:6913
#12 0x00007f61c80b653c in mdb_del0 (txn=0x5636f94811d0, dbi=11, key=0x7ffe585e81a0, data=<optimized out>, flags=32, flags@entry=0) at mdb.c:8311
#13 0x00007f61c80b68a1 in mdb_del (txn=<optimized out>, dbi=<optimized out>, key=key@entry=0x7ffe585e81a0, data=<optimized out>, data@entry=0x0) at mdb.c:8271
#14 0x00007f61cb7f350e in Baloo::DocumentIdDB::del (this=this@entry=0x7ffe585e82d0, docId=<optimized out>, docId@entry=32647901) at /usr/src/debug/baloo5-5.56.0-lp150.195.1.x86_64/src/engine/documentiddb.cpp:102
#15 0x00007f61cb806317 in Baloo::WriteTransaction::removeDocument (this=<optimized out>, id=id@entry=32647901) at /usr/src/debug/baloo5-5.56.0-lp150.195.1.x86_64/src/engine/writetransaction.cpp:136
#16 0x00007f61cb800f19 in Baloo::Transaction::removeDocument (this=<optimized out>, id=id@entry=32647901) at /usr/src/debug/baloo5-5.56.0-lp150.195.1.x86_64/src/engine/transaction.cpp:242
#17 0x00005636f7721093 in Baloo::App::processNextFile (this=0x7ffe585e8aa0) at /usr/src/debug/baloo5-5.56.0-lp150.195.1.x86_64/src/file/extractor/app.cpp:105
#18 0x00007f61c97672c4 in QtPrivate::QSlotObjectBase::call (a=0x7ffe585e8450, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#19 QSingleShotTimer::timerEvent (this=0x5636f947fe30) at kernel/qtimer.cpp:318
#20 0x00007f61c975ae5b in QObject::event (this=0x5636f947fe30, e=<optimized out>) at kernel/qobject.cpp:1282
#21 0x00007f61ca5528fc in QApplicationPrivate::notify_helper (this=this@entry=0x5636f939f520, receiver=receiver@entry=0x5636f947fe30, e=e@entry=0x7ffe585e8790) at kernel/qapplication.cpp:3737
#22 0x00007f61ca559e60 in QApplication::notify (this=0x7ffe585e8a70, receiver=0x5636f947fe30, e=0x7ffe585e8790) at kernel/qapplication.cpp:3484
#23 0x00007f61c972a778 in QCoreApplication::notifyInternal2 (receiver=0x5636f947fe30, event=0x7ffe585e8790) at kernel/qcoreapplication.cpp:1060
#24 0x00007f61c9786cc9 in QTimerInfoList::activateTimers (this=0x5636f93ef490) at kernel/qtimerinfo_unix.cpp:643
#25 0x00007f61c9787491 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#26 0x00007f61c549ce07 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f61c549d1b0 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f61c549d23c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f61c978785f in QEventDispatcherGlib::processEvents (this=0x5636f93a81b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f61c9728aaa in QEventLoop::exec (this=this@entry=0x7ffe585e89e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#31 0x00007f61c9731cb0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#32 0x00005636f771fb3d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.56.0-lp150.195.1.x86_64/src/file/extractor/main.cpp:60
[Inferior 1 (process 2955) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2019-06-26 14:33:04 UTC
Created attachment 121162 [details]
Another backtrace
Comment 2 Nicolas Fella 2019-06-26 14:33:34 UTC
Can confirm with current master on Manjaro
Comment 3 Nate Graham 2020-02-05 19:51:01 UTC
*** Bug 417043 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2020-10-26 15:48:26 UTC
*** Bug 401942 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2021-02-25 20:29:56 UTC
*** Bug 433605 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas Fella 2023-08-13 15:13:27 UTC
*** Bug 469433 has been marked as a duplicate of this bug. ***
Comment 7 Nicolas Fella 2023-08-13 15:14:13 UTC
*** Bug 468474 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas Fella 2023-08-13 15:14:51 UTC
*** Bug 472580 has been marked as a duplicate of this bug. ***