Bug 364356

Summary: Baloo crashes at startup
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Jean-Paul Lambrechts <jlambrec>
Component: EngineAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aspotashev, klier.daniel.19, matejm98mthw, nate, pinak.ahuja
Priority: NOR Keywords: drkonqi
Version: 5.22.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jean-Paul Lambrechts 2016-06-15 18:00:58 UTC
Application: baloo_file_extractor (5.22.0)

Qt Version: 5.6.0
Frameworks Version: 5.22.0
Operating System: Linux 4.5.6-200.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
- What I was doing when the application crashed: Baloo crashes every time this system starts up when KDE window shows up

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

Thread 3 (Thread 0x7f6beab7f700 (LWP 2739)):
#0  0x00007f6bfdf02b1d in poll () at /lib64/libc.so.6
#1  0x00007f6bf87eb272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f6bf87ecee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f6bed81a349 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f6bfeb14d48 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f6bfd45161a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f6bfdf0e59d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6be2b02700 (LWP 2745)):
#0  0x00007f6bfdf02b1d in poll () at /lib64/libc.so.6
#1  0x00007f6bfcab018c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f6bfcab029c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f6bfed3da4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f6bfece64ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f6bfeb0ff34 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f6c011924b5 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f6bfeb14d48 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f6bfd45161a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f6bfdf0e59d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f6c010728c0 (LWP 2738)):
[KCrash Handler]
#5  0x00007f6c00445f51 in Baloo::DocTermsCodec::decode(QByteArray const&) () at /lib64/libKF5BalooEngine.so.5
#6  0x00007f6c004121d7 in Baloo::DocumentDB::get(unsigned long long) () at /lib64/libKF5BalooEngine.so.5
#7  0x00007f6c00441dff in Baloo::WriteTransaction::replaceDocument(Baloo::Document const&, QFlags<Baloo::DocumentOperation>) () at /lib64/libKF5BalooEngine.so.5
#8  0x00005581e571b720 in Baloo::App::index(Baloo::Transaction*, QString const&, unsigned long long) ()
#9  0x00005581e571ba0e in Baloo::App::processNextFile() ()
#10 0x00007f6bfed21396 in QSingleShotTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#11 0x00007f6bfed15be3 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#12 0x00007f6bff61cc0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x00007f6bff621e76 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007f6bfece8748 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007f6bfed3c91e in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#16 0x00007f6bfed3ce51 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#17 0x00007f6bfcaafe5a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#18 0x00007f6bfcab01f0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#19 0x00007f6bfcab029c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#20 0x00007f6bfed3da2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#21 0x00007f6bfece64ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#22 0x00007f6bfeceeb8c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#23 0x00005581e571aa35 in main ()

Reported using DrKonqi
Comment 1 klier.daniel.19 2018-06-01 11:30:31 UTC
Created attachment 112995 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.46.0) using Qt 5.9.4

- What I was doing when the application crashed:

KDE was starting after reboot. It crashes, when Desktop becomes visible.

-- Backtrace (Reduced):
#6  0x00007f35d9c0c626 in QVector<QByteArray>::reallocData(int, int, QFlags<QArrayData::AllocationOption>) () from /lib64/libKF5BalooEngine.so.5
#7  0x00007f35d9c0c9c3 in QVector<QByteArray>::append(QByteArray const&) () from /lib64/libKF5BalooEngine.so.5
#8  0x00007f35d9c197f3 in Baloo::DocTermsCodec::decode(QByteArray const&) () from /lib64/libKF5BalooEngine.so.5
#9  0x00007f35d9bfc683 in Baloo::DocumentDB::get(unsigned long long) () from /lib64/libKF5BalooEngine.so.5
#10 0x00007f35d9c16e1f in Baloo::WriteTransaction::replaceDocument(Baloo::Document const&, QFlags<Baloo::DocumentOperation>) () from /lib64/libKF5BalooEngine.so.5
Comment 2 Matej Mrenica 2018-06-01 14:56:21 UTC

*** This bug has been marked as a duplicate of bug 389848 ***
Comment 3 Christoph Feck 2018-06-01 18:46:14 UTC
Not a duplicate.
Comment 4 Nate Graham 2018-11-26 19:30:22 UTC
Even though this bug is older, I'm marking it as a dupe of Bug 395888 rather than the other way around because that one has a fully symbolicated backtrace.

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