Bug 403107 - baloo_file crash in Baloo::PostingDB::put(QByteArray const&, QVector<unsigned long long> const&)
Summary: baloo_file crash in Baloo::PostingDB::put(QByteArray const&, QVector<unsigned...
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.51.0
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-11 16:36 UTC by zeta
Modified: 2019-01-15 19:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zeta 2019-01-11 16:36:55 UTC
SUMMARY


STEPS TO REPRODUCE
1. Start de System

Generated Crash Report:

Application: baloo_file (5.51.0)

Qt Version: 5.11.3
Frameworks Version: 5.51.0
Operating System: Linux 4.19.0-1-amd64 x86_64
Distribution (Platform): Debian stable

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced sometimes.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__pthread_mutex_lock_full (mutex=0x7f868e94f040) at ../nptl/pthread_mutex_lock.c:315
[Current thread is 1 (Thread 0x7f868936fc80 (LWP 1991))]

Thread 3 (Thread 0x7f4683fff700 (LWP 2791)):
[KCrash Handler]
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:376
#7  0x00007f868ccbf6b8 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#8  0x00007f868ccc1414 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#9  0x00007f868ccc45ce in mdb_cursor_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#10 0x00007f868ccc719b in mdb_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#11 0x00007f868e6e9a8c in Baloo::PostingDB::put(QByteArray const&, QVector<unsigned long long> const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#12 0x00007f868e6fa14d in Baloo::WriteTransaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#13 0x00007f868e6f0402 in Baloo::Transaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#14 0x00005643784d0cbd in ?? ()
#15 0x00007f868e196fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f868e19ecd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f868d53cfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#18 0x00007f868dd0e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8689087700 (LWP 2001)):
#0  0x00007f868c2ab524 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f868c26436c in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f868c264d7b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f868c264f6c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f868e39916b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f868e34614b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f868e195106 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f868e7b3545 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f868e19ecd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f868d53cfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007f868dd0e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f868936fc80 (LWP 1991)):
#0  __pthread_mutex_lock_full (mutex=0x7f868e94f040) at ../nptl/pthread_mutex_lock.c:315
#1  0x00007f868ccbd62f in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#2  0x00007f868ccbeb84 in mdb_txn_begin () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#3  0x00007f868e6efd1b in Baloo::Transaction::Transaction(Baloo::Database const&, Baloo::Transaction::TransactionType) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#4  0x00005643784e5912 in ?? ()
#5  0x00007f868e370820 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00005643784f39f5 in ?? ()
#7  0x00005643784e3706 in ?? ()
#8  0x00007f868e370820 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f868e37c407 in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f868e370f3b in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f868e347456 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f868e398568 in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f868e398dfc in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f868c264c3e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f868c264ed8 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f868c264f6c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f868e399153 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f868e34614b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f868e34e2c2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00005643784cb917 in ?? ()
#21 0x00007f868dc3909b in __libc_start_main (main=0x5643784cb590, argc=1, argv=0x7ffdf0f73a48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdf0f73a38) at ../csu/libc-start.c:308
#22 0x00005643784cbaba in _start ()
[Inferior 1 (process 1991) detached]



SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 
KDE Plasma Version: 5.14.3
Qt Version: 5.11.3
KDE Frameworks Version: 5.51.0
Kernel Version: 4.19.0-1-amd64
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 31.3 GiB of RAM
Comment 1 Nate Graham 2019-01-15 19:57:28 UTC

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