Bug 401688

Summary: Baloo crash on boot
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Alex Ball <a.j.ball>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.52.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Ball 2018-12-03 12:39:48 UTC
Application: baloo_file_extractor (5.52.0)

Qt Version: 5.11.2
Frameworks Version: 5.52.0
Operating System: Linux 4.15.0-39-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
- What I was doing when the application crashed:
I had shut down my computer while baloo was consuming a lot of system resources indexing things. This crash happened during the next boot sequence.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7245f10e80 (LWP 2229))]

Thread 3 (Thread 0x7f722a9ee700 (LWP 2231)):
#0  0x00007f723fb39049 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f723faf2554 in g_main_context_release () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f723faf34f6 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f723faf364c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f72435d904b in QEventDispatcherGlib::processEvents (this=0x7f7224000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f724357d30a in QEventLoop::exec (this=this@entry=0x7f722a9edd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f72433a8bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007f7244efce45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f72433b3adb in QThreadPrivate::start (arg=0x7f7245174d60) at thread/qthread_unix.cpp:367
#9  0x00007f724202d6db in start_thread (arg=0x7f722a9ee700) at pthread_create.c:463
#10 0x00007f7242cab88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7238259700 (LWP 2230)):
#0  0x00007f7242c9ebf9 in __GI___poll (fds=0x7f7238258ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f723bf71747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f723bf7336a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f723b41ced9 in QXcbEventReader::run (this=0x55a46a5300e0) at qxcbconnection.cpp:1391
#4  0x00007f72433b3adb in QThreadPrivate::start (arg=0x55a46a5300e0) at thread/qthread_unix.cpp:367
#5  0x00007f724202d6db in start_thread (arg=0x7f7238259700) at pthread_create.c:463
#6  0x00007f7242cab88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7245f10e80 (LWP 2229)):
[KCrash Handler]
#6  0x00007f72453aa370 in QByteArray::operator[] (i=0, this=0x7ffc3abc1740) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:476
#7  Baloo::DocTermsCodec::decode (this=this@entry=0x7ffc3abc173f, full=...) at ./src/codecs/doctermscodec.cpp:60
#8  0x00007f724538d341 in Baloo::DocumentDB::get (this=this@entry=0x7ffc3abc1890, docId=<optimized out>, docId@entry=36059987071469569) at ./src/engine/documentdb.cpp:99
#9  0x00007f72453a6823 in Baloo::WriteTransaction::removeDocument (this=0x55a46a638d80, id=id@entry=36059987071469569) at ./src/engine/writetransaction.cpp:123
#10 0x00007f72453a1a59 in Baloo::Transaction::removeDocument (this=<optimized out>, id=id@entry=36059987071469569) at ./src/engine/transaction.cpp:242
#11 0x000055a46833918b in Baloo::App::processNextFile (this=0x7ffc3abc2050) at ./src/file/extractor/app.cpp:87
#12 0x00007f72435baef4 in QtPrivate::QSlotObjectBase::call (a=0x7ffc3abc1a60, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#13 QSingleShotTimer::timerEvent (this=0x55a46a7081b0) at kernel/qtimer.cpp:318
#14 0x00007f72435aeb9b in QObject::event (this=0x55a46a7081b0, e=<optimized out>) at kernel/qobject.cpp:1273
#15 0x00007f724430be1c in QApplicationPrivate::notify_helper (this=this@entry=0x55a46a514200, receiver=receiver@entry=0x55a46a7081b0, e=e@entry=0x7ffc3abc1d30) at kernel/qapplication.cpp:3727
#16 0x00007f72443133ef in QApplication::notify (this=0x7ffc3abc2020, receiver=0x55a46a7081b0, e=0x7ffc3abc1d30) at kernel/qapplication.cpp:3486
#17 0x00007f724357efe8 in QCoreApplication::notifyInternal2 (receiver=0x55a46a7081b0, event=event@entry=0x7ffc3abc1d30) at kernel/qcoreapplication.cpp:1048
#18 0x00007f72435d84be in QCoreApplication::sendEvent (event=0x7ffc3abc1d30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#19 QTimerInfoList::activateTimers (this=0x55a46a5163b0) at kernel/qtimerinfo_unix.cpp:643
#20 0x00007f72435d8cb9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#21 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#22 0x00007f723faf3387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f723faf35c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f723faf364c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f72435d902f in QEventDispatcherGlib::processEvents (this=0x55a46a570b30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007f723b4a8761 in QPAEventDispatcherGlib::processEvents (this=0x55a46a570b30, flags=...) at qeventdispatcher_glib.cpp:69
#27 0x00007f724357d30a in QEventLoop::exec (this=this@entry=0x7ffc3abc1fa0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#28 0x00007f72435864d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#29 0x000055a468337dcf in main (argc=<optimized out>, argv=0x7ffc3abc2248) at ./src/file/extractor/main.cpp:57

The reporter indicates this bug may be a duplicate of or related to bug 395888.

Possible duplicates by query: bug 395888.

Reported using DrKonqi
Comment 1 Nate Graham 2018-12-07 23:01:41 UTC

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