Bug 412006

Summary: Dolphin crashes in Baloo::DocumentDataDB::get() moving files between split windows
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Diogo Gomes <kde>
Component: EngineAssignee: Stefan Brüns <stefan.bruens>
Status: RESOLVED UPSTREAM    
Severity: crash CC: elvis.angelaccio, nate
Priority: NOR Keywords: drkonqi
Version: 5.61.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Diogo Gomes 2019-09-18 04:28:57 UTC
Application: dolphin (19.08.1)

Qt Version: 5.13.1
Frameworks Version: 5.61.0
Operating System: Linux 5.2.14-1-default x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to move a big quantity of  files/folders with ctrl+a and then moving them between split windows.

- Unusual behavior I noticed:
Dolphin closes or clicking ctrl+a or when moving the selected files/folders to the split window.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2dd4c1d080 (LWP 2816))]

Thread 11 (Thread 0x7f2da3571700 (LWP 2827)):
#0  0x00007f2dd97f6cbf in poll () from /lib64/libc.so.6
#1  0x00007f2dd581d3ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2dd581d49f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2dd78d499b in QEventDispatcherGlib::processEvents (this=0x7f2d9c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2dd787d0db in QEventLoop::exec (this=this@entry=0x7f2da3570da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2dd76b5021 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2dd76b61a2 in QThreadPrivate::start (arg=0x560ca49197f0) at thread/qthread_unix.cpp:360
#7  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f2da3fff700 (LWP 2826)):
#0  0x00007f2dd61b3e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dcb36ea5b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f2dcb36e907 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f2dc8f69700 (LWP 2825)):
#0  0x00007f2dd61b3e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dcb36ea5b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f2dcb36e907 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f2dc976a700 (LWP 2824)):
#0  0x00007f2dd61b3e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dcb36ea5b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f2dcb36e907 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f2dc9f6b700 (LWP 2823)):
#0  0x00007f2dd61b3e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dcb36ea5b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f2dcb36e907 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f2dca76c700 (LWP 2822)):
#0  0x00007f2dd61b3e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dcb36ea5b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f2dcb36e907 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2dcaf6d700 (LWP 2821)):
#0  0x00007f2dd61b3e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dcb36ea5b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f2dcb36e907 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2dd09fb700 (LWP 2820)):
#0  0x00007f2dd61b3e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dcb36ea5b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f2dcb36e907 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2dd1fcc700 (LWP 2819)):
#0  0x00007f2dd97f6cbf in poll () from /lib64/libc.so.6
#1  0x00007f2dd581d3ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2dd581d49f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2dd78d499b in QEventDispatcherGlib::processEvents (this=0x7f2dc4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2dd787d0db in QEventLoop::exec (this=this@entry=0x7f2dd1fcbd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2dd76b5021 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2dd7b5d4f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f2dd76b61a2 in QThreadPrivate::start (arg=0x7f2dd7bdfd80) at thread/qthread_unix.cpp:360
#8  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2dd2bb0700 (LWP 2818)):
#0  0x00007f2dd97f6cbf in poll () from /lib64/libc.so.6
#1  0x00007f2dd61ea742 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f2dd61eb3fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f2dd2dcdf90 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f2dd76b61a2 in QThreadPrivate::start (arg=0x560ca412ca70) at thread/qthread_unix.cpp:360
#5  0x00007f2dd61adfaa in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2dd980173f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2dd4c1d080 (LWP 2816)):
[KCrash Handler]
#6  0x00007f2dd52e690a in mdb_node_search () from /usr/lib64/liblmdb-0.9.23.so
#7  0x00007f2dd52e9db1 in mdb_cursor_set () from /usr/lib64/liblmdb-0.9.23.so
#8  0x00007f2dd52f0460 in mdb_get () from /usr/lib64/liblmdb-0.9.23.so
#9  0x00007f2dd6dcdb00 in Baloo::DocumentDataDB::get (this=<optimized out>, docId=<optimized out>) at /usr/src/debug/baloo5-5.61.0-1.1.x86_64/src/engine/documentdatadb.cpp:89
#10 0x00007f2dd6dbfa92 in Baloo::Transaction::documentData (this=this@entry=0x7ffee6e8e8d0, id=id@entry=72083277942423045) at /usr/src/debug/baloo5-5.61.0-1.1.x86_64/src/engine/transaction.cpp:163
#11 0x00007f2dd903055c in Baloo::File::load (this=0x7ffee6e8ea20) at /usr/src/debug/baloo5-5.61.0-1.1.x86_64/src/lib/file.cpp:113
#12 Baloo::File::load (this=this@entry=0x7ffee6e8ea20) at /usr/src/debug/baloo5-5.61.0-1.1.x86_64/src/lib/file.cpp:93
#13 0x00007f2dd91b4d3e in Baloo::FileFetchJob::doStart (this=0x560ca52b3fb0) at /usr/src/debug/baloo5-widgets-19.08.1-1.1.x86_64/src/filefetchjob.cpp:48
#14 0x00007f2dd78a9eea in QObject::event (this=0x560ca52b3fb0, e=<optimized out>) at kernel/qobject.cpp:1260
#15 0x00007f2dd837ec62 in QApplicationPrivate::notify_helper (this=this@entry=0x560ca4101070, receiver=receiver@entry=0x560ca52b3fb0, e=e@entry=0x7f2dcc007c60) at kernel/qapplication.cpp:3703
#16 0x00007f2dd83881e0 in QApplication::notify (this=0x7ffee6e8f100, receiver=0x560ca52b3fb0, e=0x7f2dcc007c60) at kernel/qapplication.cpp:3449
#17 0x00007f2dd787e572 in QCoreApplication::notifyInternal2 (receiver=0x560ca52b3fb0, event=0x7f2dcc007c60) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#18 0x00007f2dd7881208 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x560ca40f6c50) at kernel/qcoreapplication.cpp:1840
#19 0x00007f2dd78d5343 in postEventSourceDispatch (s=0x560ca41ca200) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007f2dd581b6b3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f2dd581d460 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f2dd581d49f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f2dd78d4981 in QEventDispatcherGlib::processEvents (this=0x560ca41d7710, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x00007f2dd787d0db in QEventLoop::exec (this=this@entry=0x7ffee6e8f000, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#25 0x00007f2dd7884d42 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#26 0x00007f2dd96cb363 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-19.08.1-1.1.x86_64/src/main.cpp:166
#27 0x00007f2dd972abcb in __libc_start_main () from /lib64/libc.so.6
#28 0x0000560ca329208a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 2816) detached]

Possible duplicates by query: bug 368753.

Reported using DrKonqi
Comment 1 Nate Graham 2019-09-18 17:35:34 UTC
Crashing in Baloo or LMDB.
Comment 2 Stefan Brüns 2019-09-18 22:12:17 UTC
This is either a corrupted DB, or a bug in LMDB.

If it is a corrupted DB, only deleting the DB will help:

$> balooctl purge

If it is a bug in LMDB, so be it.
Comment 3 Diogo Gomes 2019-09-19 03:27:11 UTC
Thanks for your reply.

I think it was a corrupted database because after the issue disappeared after purge the db.

I should also mention that baloo5-file was not installed and could also been related.

Thank you again.