Bug 358962

Summary: baloo crash on various occasions
Product: [Frameworks and Libraries] frameworks-baloo Reporter: david.holec <david.holec>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aspotashev, christoph, gerben.jansen, pinak.ahuja
Priority: NOR Keywords: drkonqi
Version: 5.16.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description david.holec@unileoben.ac.at 2016-02-03 19:40:02 UTC
Application: baloo_file (5.16.0)

Qt Version: 5.5.1
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Baloo crashes on several occasions, mostly when I plug in an external drive (external HDD, flashdisk, SD card). Sometimes it crashes also on system boot, such as now.

The crash can be reproduced every time.

-- 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 0x2b1434186b80 (LWP 1461))]

Thread 2 (Thread 0x2b157f341700 (LWP 1548)):
#0  0x00002b1436437c1d in poll () at /lib64/libc.so.6
#1  0x00002b143996de64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00002b143996df7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00002b14358d9d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00002b1435880d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x0000000000422845 in Baloo::FileContentIndexer::run() ()
#6  0x00002b14356a4382 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00002b14356a732f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00002b14373de0a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00002b143644004d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x2b1434186b80 (LWP 1461)):
[KCrash Handler]
#6  0x00002b14386f425c in mdb_get () at /usr/lib64/liblmdb-0.9.14.so
#7  0x00002b143515092d in Baloo::IdTreeDB::get(unsigned long long) () at /usr/lib64/libKF5BalooEngine.so.5
#8  0x00002b143514dca0 in Baloo::DocumentUrlDB::getId(unsigned long long, QByteArray const&) const () at /usr/lib64/libKF5BalooEngine.so.5
#9  0x00002b143515f3e9 in Baloo::Transaction::documentId(QByteArray const&) const () at /usr/lib64/libKF5BalooEngine.so.5
#10 0x000000000042a923 in Baloo::MetadataMover::removeMetadata(Baloo::Transaction*, QString const&) ()
#11 0x000000000042a9dd in Baloo::MetadataMover::removeFileMetadata(QString const&) ()
#12 0x00002b14358b273f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#13 0x0000000000434405 in Baloo::PendingFileQueue::removeFileIndex(QString const&) ()
#14 0x0000000000428bc6 in Baloo::PendingFileQueue::processCache() ()
#15 0x00002b14358b273f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#16 0x00002b14358bff22 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5
#17 0x00002b14358b38bc in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00002b143588318d in QCoreApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00002b1435882e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#20 0x00002b14358d977d in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#21 0x00002b14358d9ad9 in  () at /usr/lib64/libQt5Core.so.5
#22 0x00002b143996dc84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#23 0x00002b143996ded8 in  () at /usr/lib64/libglib-2.0.so.0
#24 0x00002b143996df7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#25 0x00002b14358d9d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00002b1435880d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00002b14358888f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#28 0x0000000000417d92 in main ()

Possible duplicates by query: bug 358585, bug 356913, bug 355927, bug 355881, bug 355210.

Reported using DrKonqi
Comment 1 gerben.jansen 2016-06-30 06:57:19 UTC
Same happens to me, same stack trace.
I happens when I somehow create a new file, just now i (ftp) downloaded a file and this Baloo window appeared.

I'm also runnig OpenSuSE Leap 42.1 at latest patch level.
Comment 2 Christoph Cullmann 2016-09-11 19:27:46 UTC

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