Bug 389455 - Baloo crashed every time immediately after the start
Summary: Baloo crashed every time immediately after the start
Status: RESOLVED DUPLICATE of bug 367480
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.42.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-01-26 09:42 UTC by Alexander
Modified: 2018-10-12 23:09 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.62 KB, text/plain)
2018-03-01 07:34 UTC, Alexander
Details
New crash information added by DrKonqi (4.05 KB, text/plain)
2018-03-31 09:43 UTC, David Tonhofer
Details
New crash information added by DrKonqi (3.88 KB, text/plain)
2018-04-27 14:16 UTC, Dennis Andress
Details
New crash information added by DrKonqi (3.61 KB, text/plain)
2018-07-25 13:21 UTC, kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2018-01-26 09:42:32 UTC
Application: baloo_file_extractor (5.42.0)

Qt Version: 5.9.2
Frameworks Version: 5.42.0
Operating System: Linux 4.14.14-300.fc27.x86_64 x86_64
Distribution: "Fedora release 27 (Twenty Seven)"

-- Information about the crash:
- Unusual behavior I noticed:
The crash occurs every time immediately after the launch of KDE.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
27	  return SYSCALL_CANCEL (nanosleep, requested_time, remaining);
[Current thread is 1 (Thread 0x7fa6de4ad500 (LWP 1683))]

Thread 3 (Thread 0x7fa6c0197700 (LWP 1717)):
#0  0x00007fa6daa32888 in __GI___libc_read (fd=8, buf=buf@entry=0x7fa6c0196a40, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007fa6d5d290a0 in read (__nbytes=16, __buf=0x7fa6c0196a40, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x557bf2c417b0) at gwakeup.c:210
#3  0x00007fa6d5ce49a8 in g_main_context_check (context=context@entry=0x7fa6b8000bf0, max_priority=2147483647, fds=fds@entry=0x7fa6b8033da0, n_fds=n_fds@entry=1) at gmain.c:3646
#4  0x00007fa6d5ce4e40 in g_main_context_iterate (context=context@entry=0x7fa6b8000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3865
#5  0x00007fa6d5ce4fac in g_main_context_iteration (context=0x7fa6b8000bf0, may_block=may_block@entry=1) at gmain.c:3929
#6  0x00007fa6db8a235b in QEventDispatcherGlib::processEvents (this=0x7fa6b8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fa6db8500ea in QEventLoop::exec (this=this@entry=0x7fa6c0196c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007fa6db6a18ba in QThread::exec (this=this@entry=0x7fa6dd2df060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#9  0x00007fa6dd06b479 in QDBusConnectionManager::run (this=0x7fa6dd2df060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#10 0x00007fa6db6a5b92 in QThreadPrivate::start (arg=0x7fa6dd2df060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#11 0x00007fa6d991961b in start_thread (arg=0x7fa6c0197700) at pthread_create.c:465
#12 0x00007fa6daa4398f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa6c98c0700 (LWP 1684)):
#0  0x00007fa6daa373db in __GI___poll (fds=fds@entry=0x7fa6c98bfba8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa6d566dfe7 in poll (__timeout=-1, __nfds=1, __fds=0x7fa6c98bfba8) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x557bf2c149f0, cond=cond@entry=0x557bf2c14a30, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007fa6d566fdda in xcb_wait_for_event (c=0x557bf2c149f0) at xcb_in.c:693
#4  0x00007fa6cc45ea49 in QXcbEventReader::run (this=0x557bf2c1eac0) at qxcbconnection.cpp:1335
#5  0x00007fa6db6a5b92 in QThreadPrivate::start (arg=0x557bf2c1eac0) at thread/qthread_unix.cpp:368
#6  0x00007fa6d991961b in start_thread (arg=0x7fa6c98c0700) at pthread_create.c:465
#7  0x00007fa6daa4398f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa6de4ad500 (LWP 1683)):
[KCrash Handler]
#6  __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:431
#7  0x00007fa6dd71dc93 in memcpy (__len=18446744073487489520, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7ffdbe124e57, arr=...) at /usr/src/debug/kf5-baloo-5.42.0-1.fc27.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007fa6dd70f704 in Baloo::PostingDB::get (this=this@entry=0x7ffdbe124f40, term=...) at /usr/src/debug/kf5-baloo-5.42.0-1.fc27.x86_64/src/engine/postingdb.cpp:100
#10 0x00007fa6dd71b380 in Baloo::WriteTransaction::commit (this=0x557bf2c5c5d0) at /usr/src/debug/kf5-baloo-5.42.0-1.fc27.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007fa6dd714c62 in Baloo::Transaction::commit (this=0x557bf2c8b250) at /usr/src/debug/kf5-baloo-5.42.0-1.fc27.x86_64/src/engine/transaction.cpp:262
#12 0x0000557bf2278acc in Baloo::App::processNextFile (this=0x7ffdbe125620) at /usr/src/debug/kf5-baloo-5.42.0-1.fc27.x86_64/src/file/extractor/app.cpp:100
#13 0x00007fa6db886044 in QtPrivate::QSlotObjectBase::call (a=0x7ffdbe125080, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#14 QSingleShotTimer::timerEvent (this=0x557bf2ce4130) at kernel/qtimer.cpp:318
#15 0x00007fa6db87a8cb in QObject::event (this=0x557bf2ce4130, e=<optimized out>) at kernel/qobject.cpp:1268
#16 0x00007fa6dc4ba6ac in QApplicationPrivate::notify_helper (this=this@entry=0x557bf2c047d0, receiver=receiver@entry=0x557bf2ce4130, e=e@entry=0x7ffdbe125320) at kernel/qapplication.cpp:3722
#17 0x00007fa6dc4c1ef4 in QApplication::notify (this=0x7ffdbe1255f0, receiver=0x557bf2ce4130, e=0x7ffdbe125320) at kernel/qapplication.cpp:3481
#18 0x00007fa6db851367 in QCoreApplication::notifyInternal2 (receiver=0x557bf2ce4130, event=event@entry=0x7ffdbe125320) at kernel/qcoreapplication.cpp:1018
#19 0x00007fa6db8a166b in QCoreApplication::sendEvent (event=0x7ffdbe125320, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#20 QTimerInfoList::activateTimers (this=0x557bf2c3c150) at kernel/qtimerinfo_unix.cpp:643
#21 0x00007fa6db8a1f39 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#23 0x00007fa6d5ce4b77 in g_main_dispatch (context=0x7fa6c4004ff0) at gmain.c:3142
#24 g_main_context_dispatch (context=context@entry=0x7fa6c4004ff0) at gmain.c:3795
#25 0x00007fa6d5ce4f20 in g_main_context_iterate (context=context@entry=0x7fa6c4004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3868
#26 0x00007fa6d5ce4fac in g_main_context_iteration (context=0x7fa6c4004ff0, may_block=may_block@entry=1) at gmain.c:3929
#27 0x00007fa6db8a233f in QEventDispatcherGlib::processEvents (this=0x557bf2c39aa0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007fa6db8500ea in QEventLoop::exec (this=this@entry=0x7ffdbe125570, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#29 0x00007fa6db858744 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#30 0x0000557bf2277a2f in main (argc=<optimized out>, argv=0x7ffdbe125808) at /usr/src/debug/kf5-baloo-5.42.0-1.fc27.x86_64/src/file/extractor/main.cpp:57

Reported using DrKonqi
Comment 1 Lusitanium 2018-02-17 14:50:22 UTC
Can confirm and reproduce on my openSUSE TW system as well, related bug report: https://bugs.kde.org/show_bug.cgi?id=390610
Comment 2 Alexander 2018-03-01 07:34:19 UTC
Created attachment 111106 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.43.0) using Qt 5.9.4

- Unusual behavior I noticed:
After the update the same symptoms

-- Backtrace (Reduced):
#6  __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:431
#7  0x00007f4844a02c93 in memcpy (__len=1787700992, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7ffea221d507, arr=...) at /usr/src/debug/kf5-baloo-5.43.0-1.fc27.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007f48449f4704 in Baloo::PostingDB::get (this=this@entry=0x7ffea221d5f0, term=...) at /usr/src/debug/kf5-baloo-5.43.0-1.fc27.x86_64/src/engine/postingdb.cpp:100
#10 0x00007f4844a00380 in Baloo::WriteTransaction::commit (this=0x55666a92f920) at /usr/src/debug/kf5-baloo-5.43.0-1.fc27.x86_64/src/engine/writetransaction.cpp:259
Comment 3 David Tonhofer 2018-03-31 09:43:03 UTC
Created attachment 111752 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.44.0) using Qt 5.9.4

KDE had just started.
This was directly after reboot.
Then segmentation fault in 
__memmove_sse2_unaligned_erms () called from Baloo::PostingCodec::decode()

-- Backtrace (Reduced):
#7  0x00007efd2338dc93 in Baloo::PostingCodec::decode(QByteArray const&) () from /lib64/libKF5BalooEngine.so.5
#8  0x00007efd2337f704 in Baloo::PostingDB::get(QByteArray const&) () from /lib64/libKF5BalooEngine.so.5
#9  0x00007efd2338b380 in Baloo::WriteTransaction::commit() () from /lib64/libKF5BalooEngine.so.5
#10 0x00007efd23384c62 in Baloo::Transaction::commit() () from /lib64/libKF5BalooEngine.so.5
#11 0x0000556107978acc in Baloo::App::processNextFile() ()
Comment 4 Dennis Andress 2018-04-27 14:16:13 UTC
Created attachment 112286 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.44.0) using Qt 5.9.4

Starting Baloo from the command line

-- Backtrace (Reduced):
#7  0x00007fa9a6872c93 in Baloo::PostingCodec::decode(QByteArray const&) () from /lib64/libKF5BalooEngine.so.5
#8  0x00007fa9a6864704 in Baloo::PostingDB::get(QByteArray const&) () from /lib64/libKF5BalooEngine.so.5
#9  0x00007fa9a6870380 in Baloo::WriteTransaction::commit() () from /lib64/libKF5BalooEngine.so.5
#10 0x00007fa9a6869c62 in Baloo::Transaction::commit() () from /lib64/libKF5BalooEngine.so.5
#11 0x000055b9d0e54acc in Baloo::App::processNextFile() ()
Comment 5 Matej Mrenica 2018-06-01 14:59:47 UTC

*** This bug has been marked as a duplicate of bug 389848 ***
Comment 6 Christoph Feck 2018-06-01 18:27:12 UTC
This is not a duplicate.
Comment 7 kde 2018-07-25 13:21:42 UTC
Created attachment 114113 [details]
New crash information added by DrKonqi

baloo_file (5.48.0) using Qt 5.11.1

Crashes immedeately after login

-- Backtrace (Reduced):
#7  0x00007f3b054c1a0d in memcpy (__len=18446744073374211104, __src=0x7efaec031c20, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f3afaed4a07, arr=...) at /usr/src/debug/baloo5-5.48.0-1.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007f3b054af409 in Baloo::PostingDB::get (this=this@entry=0x7f3afaed4af0, term=...) at /usr/src/debug/baloo5-5.48.0-1.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007f3b054bf4fa in Baloo::WriteTransaction::commit (this=0x55b7912022f0) at /usr/src/debug/baloo5-5.48.0-1.1.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007f3b054b5c62 in Baloo::Transaction::commit (this=this@entry=0x7f3afaed4c00) at /usr/src/debug/baloo5-5.48.0-1.1.x86_64/src/engine/transaction.cpp:269
Comment 8 teedeeus 2018-08-01 15:22:26 UTC
Application: baloo_file (5.44.0)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-29-generic x86_64
Distribution: Ubuntu 18.04.1 LTS

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

The crash does not seem to be reproducible.

-- 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".
[Current thread is 1 (Thread 0x7f99b288d200 (LWP 1593))]

Thread 3 (Thread 0x7f99a74f7700 (LWP 1739)):
#0  0x00007f99b02430b4 in __GI___libc_read (fd=13, buf=0x7f99a74f6970, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f99ac9ef960 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f99ac9aaf27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99ac9ab3e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f99ac9ab54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f99b0f3390b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f99b0ed89ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x0000562ba554d30d in ?? ()
#8  0x00007f99b0cf92a2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f99b0cfc16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f99af27a6db in start_thread (arg=0x7f99a74f7700) at pthread_create.c:463
#11 0x00007f99b025488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f99a7ef9700 (LWP 1604)):
#0  0x00007f99ac9f0cd9 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f99ac9aab81 in g_main_context_query () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f99ac9ab3b7 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99ac9ab54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f99b0f3390b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f99b0ed89ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f99b0cf722a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f99b2147d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f99b0cfc16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f99af27a6db in start_thread (arg=0x7f99a7ef9700) at pthread_create.c:463
#10 0x00007f99b025488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f99b288d200 (LWP 1593)):
[KCrash Handler]
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:427
#7  0x00007f99b1656973 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#8  0x00007f99b16483e4 in Baloo::PostingDB::get(QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#9  0x00007f99b1654060 in Baloo::WriteTransaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#10 0x00007f99b164d942 in Baloo::Transaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#11 0x0000562ba5555958 in ?? ()
#12 0x00007f99b0f096cf in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x0000562ba555e0e5 in ?? ()
#14 0x0000562ba555397e in ?? ()
#15 0x00007f99b0f096cf in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f99b0f16027 in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f99b0f16388 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f99b0f0a0db in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f99b0eda991 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f99b0f32d8e in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f99b0f33589 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f99ac9ab287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f99ac9ab4c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f99ac9ab54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f99b0f338ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f99b0ed89ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f99b0ee1a84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x0000562ba553f80c in ?? ()
#29 0x00007f99b0154b97 in __libc_start_main (main=0x562ba553f560, argc=1, argv=0x7ffd700df488, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd700df478) at ../csu/libc-start.c:310
#30 0x0000562ba553fa7a in _start ()

Report to https://bugs.kde.org/
Comment 9 Nate Graham 2018-10-12 23:04:41 UTC

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

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