Bug 396218

Summary: Crash on log-in
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Aram <aramgrigoryan>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde-bugs, kde, nate, wanna860
Priority: NOR Keywords: drkonqi
Version: 5.45.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Aram 2018-07-05 19:06:00 UTC
Application: baloo_file (5.45.0)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.12.14-lp150.12.4-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:
Each time i log in to the system after fresh boot i see this crash message. After this checking if baloo is running shows that it does.

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

Thread 3 (Thread 0x7f1fe7dfe700 (LWP 3079)):
[KCrash Handler]
#6  0x00007f5ff4d5c47f in __memmove_avx_unaligned_erms () from /lib64/libc.so.6
#7  0x00007f5ff62dfa93 in memcpy (__len=65026, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f1fe7dfd997, arr=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007f5ff62d0f64 in Baloo::PostingDB::get (this=this@entry=0x7f1fe7dfda80, term=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007f5ff62dd180 in Baloo::WriteTransaction::commit (this=0x5602211ff520) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007f5ff62d64c2 in Baloo::Transaction::commit (this=this@entry=0x7f1fe7dfdb90) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:262
#12 0x0000560220c936cd in Baloo::NewFileIndexer::run (this=0x5602211ff360) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/newfileindexer.cpp:75
#13 0x00007f5ff5743372 in QThreadPoolThread::run (this=0x5602211ff7a0) at thread/qthreadpool.cpp:99
#14 0x00007f5ff57460ce in QThreadPrivate::start (arg=0x5602211ff7a0) at thread/qthread_unix.cpp:368
#15 0x00007f5ff3d51559 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f5ff4cfa82f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5fec9fc700 (LWP 2692)):
#0  0x00007f5ff4cebb78 in read () from /lib64/libc.so.6
#1  0x00007f5ff141d420 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5ff13d8bf7 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5ff13d90b0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f5ff13d921c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f5ff5969bef in QEventDispatcherGlib::processEvents (this=0x7f5fe8000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#6  0x00007f5ff591209a in QEventLoop::exec (this=this@entry=0x7f5fec9fbca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f5ff57414da in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#8  0x00007f5ff6b86985 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f5ff57460ce in QThreadPrivate::start (arg=0x7f5ff6df6d60) at thread/qthread_unix.cpp:368
#10 0x00007f5ff3d51559 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5ff4cfa82f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5ff72d6100 (LWP 2683)):
#0  0x00007f5ff4cf008b in poll () from /lib64/libc.so.6
#1  0x00007f5ff13d9109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5ff13d921c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5ff5969c0b in QEventDispatcherGlib::processEvents (this=0x560220f99d60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f5ff591209a in QEventLoop::exec (this=this@entry=0x7fffb19f1810, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f5ff591a9e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#6  0x0000560220c8b21c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/main.cpp:104

Possible duplicates by query: bug 395996, bug 394404, bug 392701, bug 391803, bug 390610.

Reported using DrKonqi
Comment 1 kde-bugs 2018-07-18 21:47:10 UTC
Created attachment 114008 [details]
New crash information added by DrKonqi

baloo_file (5.45.0) using Qt 5.9.4

- What I was doing when the application crashed:
Every time I log in - not just after a fresh boot - baloo crashes immediate.

-- Backtrace (Reduced):
#7  0x00007fb71e292a93 in memcpy (__len=2055, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f770fdfd8f7, arr=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007fb71e283f64 in Baloo::PostingDB::get (this=this@entry=0x7f770fdfd9e0, term=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007fb71e290180 in Baloo::WriteTransaction::commit (this=0x5558085cb570) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007fb71e2894c2 in Baloo::Transaction::commit (this=this@entry=0x7f770fdfdaf0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:262
Comment 2 Brett Keller 2018-08-07 21:16:23 UTC
Created attachment 114363 [details]
New crash information added by DrKonqi

baloo_file (5.44.0) using Qt 5.9.5

- What I was doing when the application crashed:

Noticed this just after untarring a file via Dolphin's context menu, but this was not long after login, so it may have simply been triggered by login.

-- Backtrace (Reduced):
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:370
#7  0x00007f4dbd4d7973 in memcpy (__len=2050, __src=<optimized out>, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f4db3377a77, arr=...) at ./src/codecs/postingcodec.cpp:42
#9  0x00007f4dbd4c93e4 in Baloo::PostingDB::get (this=this@entry=0x7f4db3377b60, term=...) at ./src/engine/postingdb.cpp:100
#10 0x00007f4dbd4d5060 in Baloo::WriteTransaction::commit (this=0x7f4dac035160) at ./src/engine/writetransaction.cpp:259
Comment 3 Brett Keller 2018-08-07 21:16:23 UTC
Created attachment 114365 [details]
New crash information added by DrKonqi

baloo_file (5.44.0) using Qt 5.9.5

- What I was doing when the application crashed:

Noticed this just after untarring a file via Dolphin's context menu, but this was not long after login, so it may have simply been triggered by login.

-- Backtrace (Reduced):
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:370
#7  0x00007f4dbd4d7973 in memcpy (__len=2050, __src=<optimized out>, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f4db3377a77, arr=...) at ./src/codecs/postingcodec.cpp:42
#9  0x00007f4dbd4c93e4 in Baloo::PostingDB::get (this=this@entry=0x7f4db3377b60, term=...) at ./src/engine/postingdb.cpp:100
#10 0x00007f4dbd4d5060 in Baloo::WriteTransaction::commit (this=0x7f4dac035160) at ./src/engine/writetransaction.cpp:259
Comment 4 Woods Wannamaker 2018-10-02 12:10:53 UTC
I've been getting this at login after boot-up since I upgraded from Kubuntu 16.04.5 to Kubuntu 18.04.1. I tried installing -dbg tools to capture more useful info but that failed when trying to install baloo-dbg. I have diabled baloo completely and did not experience crash after restart and login. 

Here is the crash report.

Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f760f3e3200 (LWP 1861))]

Thread 3 (Thread 0x7f35fffff700 (LWP 2159)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f760ccda801 in __GI_abort () at abort.c:79
#8  0x00007f760aa974d2 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#9  0x00007f760aa8c5d5 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#10 0x00007f760aa8d803 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#11 0x00007f760aa8da79 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#12 0x00007f760aa8f764 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#13 0x00007f760aa92992 in mdb_cursor_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#14 0x00007f760aa955a0 in mdb_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#15 0x00007f760e19b49f in Baloo::DocumentDB::put(unsigned long long, QVector<QByteArray> const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#16 0x00007f760e1b3e80 in Baloo::WriteTransaction::addDocument(Baloo::Document const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#17 0x0000560dbb93eb69 in ?? ()
#18 0x00007f760d85b2a2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f760d85e16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f760bde16db in start_thread (arg=0x7f35fffff700) at pthread_create.c:463
#21 0x00007f760cdbb88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7604a61700 (LWP 1875)):
#0  0x00007ffd8e980a44 in clock_gettime ()
#1  0x00007f760cdcaea6 in __GI___clock_gettime (clock_id=1, tp=0x7f7604a60ae0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f760da95221 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f760da93a59 in QTimerInfoList::updateCurrentTime() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f760da94035 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f760da9567e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7609512998 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f760951336b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f760951354c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f760da9590b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f760da3a9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f760d85922a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f760eca9d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#13 0x00007f760d85e16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f760bde16db in start_thread (arg=0x7f7604a61700) at pthread_create.c:463
#15 0x00007f760cdbb88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f760f3e3200 (LWP 1861)):
#0  0x00007f760cdaa0b4 in __GI___libc_read (fd=3, buf=0x7ffd8e87aa80, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f7609557a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7609512f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f76095133e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f760951354c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f760da958ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f760da3a9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f760da43a84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x0000560dbb93980c in ?? ()
#9  0x00007f760ccbbb97 in __libc_start_main (main=0x560dbb939560, argc=1, argv=0x7ffd8e87aff8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd8e87afe8) at ../csu/libc-start.c:310
#10 0x0000560dbb939a7a in _start ()
Comment 5 Nate Graham 2018-10-12 23:00:37 UTC

*** This bug has been marked as a duplicate of bug 394404 ***
Comment 6 Nate Graham 2018-10-12 23:03:52 UTC

*** This bug has been marked as a duplicate of bug 357206 ***
Comment 7 Nate Graham 2018-10-12 23:10:03 UTC

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