Bug 363511 - baloo_file process crashes when a file is deleted using the Dolphin File Manager
Summary: baloo_file process crashes when a file is deleted using the Dolphin File Manager
Status: RESOLVED DUPLICATE of bug 360946
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-05-25 15:28 UTC by phani.vajjha
Modified: 2017-10-27 17:21 UTC (History)
3 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 phani.vajjha 2016-05-25 15:28:07 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:
Moved a file to trash from the GUI (Dolphin), baloo seg faults. Does not happen always, but occurs pretty frequently. Always on a delete of a file.

The crash can be reproduced sometimes.

-- Backtrace:
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 0x7fbc79c0c8c0 (LWP 1908))]

Thread 2 (Thread 0x7fbb2eb53700 (LWP 1978)):
#0  0x00007fbc77d13e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fbc74ee431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbc74ee442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbc78949a9b in QEventDispatcherGlib::processEvents (this=0x7fbb280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fbc788f0dea in QEventLoop::exec (this=this@entry=0x7fbb2eb52bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x0000000000420cd8 in Baloo::FileContentIndexer::run (this=0x2057950) at ../../../src/file/filecontentindexer.cpp:71
#6  0x00007fbc7870f343 in QThreadPoolThread::run (this=0x231f960) at thread/qthreadpool.cpp:93
#7  0x00007fbc7871284e in QThreadPrivate::start (arg=0x231f960) at thread/qthread_unix.cpp:331
#8  0x00007fbc773766fa in start_thread (arg=0x7fbb2eb53700) at pthread_create.c:333
#9  0x00007fbc77d1fb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fbc79c0c8c0 (LWP 1908)):
[KCrash Handler]
#6  0x00007fbc77c4e418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fbc77c5001a in __GI_abort () at abort.c:89
#8  0x00007fbc76453002 in mdb_assert_fail (env=0x20c5d20, expr_txt=expr_txt@entry=0x7fbc76454a5f "rc == 0", func=func@entry=0x7fbc76455398 <__func__.7098> "mdb_page_dirty", line=line@entry=2065, file=0x7fbc76454a40 "mdb.c") at mdb.c:1481
#9  0x00007fbc764486a5 in mdb_page_dirty (txn=0x211e4a0, mp=<optimized out>) at mdb.c:2065
#10 0x00007fbc76449863 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7ffdd7b0f678, mc=0x7ffdd7b0fbb0) at mdb.c:2246
#11 0x00007fbc76449ac9 in mdb_page_touch (mc=mc@entry=0x7ffdd7b0fbb0) at mdb.c:2364
#12 0x00007fbc7644b704 in mdb_cursor_touch (mc=mc@entry=0x7ffdd7b0fbb0) at mdb.c:6267
#13 0x00007fbc7644e805 in mdb_cursor_put (mc=0x7ffdd7b0fbb0, key=0x7ffdd7b0ff90, data=0x7ffdd7b0ffa0, flags=<optimized out>) at mdb.c:6401
#14 0x00007fbc76451260 in mdb_put (txn=0x211e4a0, dbi=2, key=key@entry=0x7ffdd7b0ff90, data=data@entry=0x7ffdd7b0ffa0, flags=flags@entry=0) at mdb.c:8759
#15 0x00007fbc78de871a in Baloo::PostingDB::put (this=this@entry=0x7ffdd7b10070, term=..., list=...) at ../../../src/engine/postingdb.cpp:78
#16 0x00007fbc78df9b31 in Baloo::WriteTransaction::commit (this=<optimized out>) at ../../../src/engine/writetransaction.cpp:307
#17 0x00007fbc78df1032 in Baloo::Transaction::commit (this=this@entry=0x7ffdd7b10110) at ../../../src/engine/transaction.cpp:262
#18 0x00000000004296d5 in Baloo::MetadataMover::removeFileMetadata (this=0x21475b0, file=...) at ../../../src/file/metadatamover.cpp:67
#19 0x00007fbc78921e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffdd7b10260, r=0x21475b0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#20 QMetaObject::activate (sender=sender@entry=0x2100960, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdd7b10260) at kernel/qobject.cpp:3698
#21 0x00007fbc789227d7 in QMetaObject::activate (sender=sender@entry=0x2100960, m=m@entry=0x645940 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdd7b10260) at kernel/qobject.cpp:3578
#22 0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x2100960, _t1=...) at moc_pendingfilequeue.cpp:217
#23 0x0000000000427856 in Baloo::PendingFileQueue::processCache (this=0x2100960) at ../../../src/file/pendingfilequeue.cpp:89
#24 0x00007fbc78921e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffdd7b103e0, r=0x2100960, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#25 QMetaObject::activate (sender=sender@entry=0x2100978, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#26 0x00007fbc789227d7 in QMetaObject::activate (sender=sender@entry=0x2100978, m=m@entry=0x7fbc78b3c840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#27 0x00007fbc789a16d0 in QTimer::timeout (this=this@entry=0x2100978) at .moc/moc_qtimer.cpp:197
#28 0x00007fbc7892e878 in QTimer::timerEvent (this=0x2100978, e=<optimized out>) at kernel/qtimer.cpp:247
#29 0x00007fbc78922e53 in QObject::event (this=0x2100978, e=<optimized out>) at kernel/qobject.cpp:1261
#30 0x00007fbc788f360c in QCoreApplication::notify (event=0x7ffdd7b10560, receiver=0x2100978, this=0x7ffdd7b10860) at kernel/qcoreapplication.cpp:1038
#31 QCoreApplication::notifyInternal (this=0x7ffdd7b10860, receiver=0x2100978, event=event@entry=0x7ffdd7b10560) at kernel/qcoreapplication.cpp:965
#32 0x00007fbc7894889d in QCoreApplication::sendEvent (event=0x7ffdd7b10560, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#33 QTimerInfoList::activateTimers (this=0x20476d0) at kernel/qtimerinfo_unix.cpp:637
#34 0x00007fbc78948dd9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#35 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#36 0x00007fbc74ee4127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fbc74ee4380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fbc74ee442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fbc78949a7f in QEventDispatcherGlib::processEvents (this=0x2047520, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#40 0x00007fbc788f0dea in QEventLoop::exec (this=this@entry=0x7ffdd7b107a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#41 0x00007fbc788f8e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#42 0x000000000041698c in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Reported using DrKonqi
Comment 1 Nate Graham 2017-10-27 17:21:31 UTC

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