Bug 364006 - Baloo file indexing crashes when deleting file inside Dolphin
Summary: Baloo file indexing crashes when deleting file inside Dolphin
Status: RESOLVED DUPLICATE of bug 362566
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Engine (show other bugs)
Version: 5.18.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-06-05 22:36 UTC by Tiago Bello Torres
Modified: 2016-09-11 20:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Bello Torres 2016-06-05 22:36:44 UTC
Application: baloo_file (5.18.0)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-22-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was deleting a couple of files inside Dolphin.

- Unusual behavior I noticed:
A crash message appeared to me indicating that de application Baloo had crashed.

The crash can be reproduced sometimes.

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

Thread 2 (Thread 0x7f10a02bf700 (LWP 2420)):
#0  0x00007f11e9481e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f11e665231c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f11e665242c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f11ea0b7a9b in QEventDispatcherGlib::processEvents (this=0x7f10980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f11ea05edea in QEventLoop::exec (this=0x7f10a02bebc0, flags=...) at kernel/qeventloop.cpp:204
#5  0x0000000000420cd8 in Baloo::FileContentIndexer::run() ()
#6  0x00007f11e9e7d343 in QThreadPoolThread::run (this=0xc29f90) at thread/qthreadpool.cpp:93
#7  0x00007f11e9e8084e in QThreadPrivate::start (arg=0xc29f90) at thread/qthread_unix.cpp:331
#8  0x00007f11e8ae46fa in start_thread (arg=0x7f10a02bf700) at pthread_create.c:333
#9  0x00007f11e948db5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f11eb37c8c0 (LWP 1947)):
[KCrash Handler]
#6  0x00007f11ea56b17d in Baloo::getDifferentialVarInt32(char*, char*, QVector<unsigned int>*) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#7  0x00007f11ea56a6b5 in Baloo::PositionCodec::decode(QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#8  0x00007f11ea554fb4 in Baloo::PositionDB::get(QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#9  0x00007f11ea5679a4 in Baloo::WriteTransaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#10 0x00007f11ea55f032 in Baloo::Transaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#11 0x00000000004296d5 in Baloo::MetadataMover::removeFileMetadata(QString const&) ()
#12 0x00007f11ea08fe4f in QtPrivate::QSlotObjectBase::call (a=0x7ffe0d24f5b0, r=0xad1f60, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#13 QMetaObject::activate (sender=0xae9420, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698
#14 0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex(QString const&) ()
#15 0x0000000000427856 in Baloo::PendingFileQueue::processCache() ()
#16 0x00007f11ea08fe4f in QtPrivate::QSlotObjectBase::call (a=0x7ffe0d24f730, r=0xae9420, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#17 QMetaObject::activate (sender=sender@entry=0xae9438, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#18 0x00007f11ea0907d7 in QMetaObject::activate (sender=sender@entry=0xae9438, m=m@entry=0x7f11ea2aa840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#19 0x00007f11ea10f6d0 in QTimer::timeout (this=this@entry=0xae9438) at .moc/moc_qtimer.cpp:197
#20 0x00007f11ea09c878 in QTimer::timerEvent (this=0xae9438, e=<optimized out>) at kernel/qtimer.cpp:247
#21 0x00007f11ea090e53 in QObject::event (this=0xae9438, e=<optimized out>) at kernel/qobject.cpp:1261
#22 0x00007f11ea06160c in QCoreApplication::notify (event=0x7ffe0d24f8b0, receiver=0xae9438, this=0x7ffe0d24fbb0) at kernel/qcoreapplication.cpp:1038
#23 QCoreApplication::notifyInternal (this=0x7ffe0d24fbb0, receiver=0xae9438, event=event@entry=0x7ffe0d24f8b0) at kernel/qcoreapplication.cpp:965
#24 0x00007f11ea0b689d in QCoreApplication::sendEvent (event=0x7ffe0d24f8b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#25 QTimerInfoList::activateTimers (this=0xaa3630) at kernel/qtimerinfo_unix.cpp:637
#26 0x00007f11ea0b6dd9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#27 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#28 0x00007f11e6652127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f11e6652380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f11e665242c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f11ea0b7a7f in QEventDispatcherGlib::processEvents (this=0xaa5750, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#32 0x00007f11ea05edea in QEventLoop::exec (this=this@entry=0x7ffe0d24faf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#33 0x00007f11ea066e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#34 0x000000000041698c in main ()

Possible duplicates by query: bug 355280.

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-09-11 20:44:06 UTC

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