Bug 405183

Summary: baloo crashed after I save an ODB file to /home/documents
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Patrick Silva <bugseforuns>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.55.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2019-03-07 16:37:53 UTC
Application: baloo_file (5.55.0)

Qt Version: 5.12.1
Frameworks Version: 5.55.0
Operating System: Linux 5.0.0-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I saved an ODB file with libreoffice base to /home/documents

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9ec779ec80 (LWP 26052))]

Thread 3 (Thread 0x7f9ec6992700 (LWP 27488)):
[KCrash Handler]
#6  0x00007f9ecbbd3ae3 in __memcpy_ssse3 () from /usr/lib/libc.so.6
#7  0x00007f9ecc5c69bf in Baloo::PostingCodec::decode (this=this@entry=0x7f9ec6991a67, arr=...) at /usr/include/qt/QtCore/qarraydata.h:211
#8  0x00007f9ecc5b3b64 in Baloo::PostingDB::get (this=this@entry=0x7f9ec6991b50, term=...) at /usr/src/debug/baloo-5.55.0/src/engine/postingdb.cpp:100
#9  0x00007f9ecc5c41d1 in Baloo::WriteTransaction::commit (this=0x7f5eb8003680) at /usr/src/debug/baloo-5.55.0/src/engine/writetransaction.cpp:275
#10 0x00007f9ecc5ba523 in Baloo::Transaction::commit (this=this@entry=0x7f9ec6991c70) at /usr/src/debug/baloo-5.55.0/src/engine/transaction.cpp:269
#11 0x0000559825016f8a in Baloo::NewFileIndexer::run (this=0x559826059f60) at /usr/src/debug/baloo-5.55.0/src/file/newfileindexer.cpp:75
#12 0x00007f9ecc031a11 in QThreadPoolThread::run (this=0x559825fc34a0) at thread/qthreadpool.cpp:99
#13 0x00007f9ecc02d96c in QThreadPrivate::start (arg=0x559825fc34a0) at thread/qthread_unix.cpp:361
#14 0x00007f9ecab52a9d in start_thread () from /usr/lib/libpthread.so.0
#15 0x00007f9ecbb90b23 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f9ec74b5700 (LWP 26055)):
#0  0x00007f9ec87cc3b9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f9ec881dc68 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f9ec881e466 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f9ec881e62e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f9ecc23fd04 in QEventDispatcherGlib::processEvents (this=0x7f9ec0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9ecc1e8b2c in QEventLoop::exec (this=this@entry=0x7f9ec74b4d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f9ecc02c569 in QThread::exec (this=this@entry=0x7f9ecc65f080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f9ecc5e3ba6 in QDBusConnectionManager::run (this=0x7f9ecc65f080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f9ecc02d96c in QThreadPrivate::start (arg=0x7f9ecc65f080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#9  0x00007f9ecab52a9d in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f9ecbb90b23 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f9ec779ec80 (LWP 26052)):
#0  0x00007f9ecbb85c21 in poll () from /usr/lib/libc.so.6
#1  0x00007f9ec881e540 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f9ec881e62e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f9ecc23fd04 in QEventDispatcherGlib::processEvents (this=0x559825f9d0e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f9ecc1e8b2c in QEventLoop::exec (this=this@entry=0x7ffcbbe6b0e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f9ecc1f0e36 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x000055982500e3f4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo-5.55.0/src/file/main.cpp:104
[Inferior 1 (process 26052) detached]

Possible duplicates by query: bug 404729, bug 404140, bug 404107, bug 404097, bug 403967.

Reported using DrKonqi
Comment 1 Nate Graham 2019-03-07 23:53:20 UTC
Can you attach the file in question to Bug 367480? Thanks!

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