Bug 362855 - Baloo File Indexing Daemon closed unexpectedly
Summary: Baloo File Indexing Daemon closed unexpectedly
Status: RESOLVED DUPLICATE of bug 367991
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.18.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-09 14:55 UTC by Mudhitha
Modified: 2016-09-11 21:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mudhitha 2016-05-09 14:55:58 UTC
Application: baloo_file (5.18.0)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.4.0-21-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
We're sorry, Baloo File Indexing Daemon closed unexpectedly
Details:
Executable: baloo_file PID: 1402 Signal: Aborted (6) Time: 2016-05-09 20:09:41

- What I was doing when the application crashed:
Downloaded file with uget download manager

Backtrace -

Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
[Current thread is 1 (Thread 0x7f65afab18c0 (LWP 1402))]

Thread 2 (Thread 0x7f64649f9700 (LWP 2580)):
[KCrash Handler]
#6  0x00007f65adaf4418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f65adaf601a in __GI_abort () at abort.c:89
#8  0x00007f65ac2f9002 in mdb_assert_fail (env=0xd03110, expr_txt=expr_txt@entry=0x7f65ac2faa5f "rc == 0", func=func@entry=0x7f65ac2fb398 <__func__.7098> "mdb_page_dirty", line=line@entry=2065, file=0x7f65ac2faa40 "mdb.c") at mdb.c:1481
#9  0x00007f65ac2ee6a5 in mdb_page_dirty (txn=0xd45460, mp=<optimized out>) at mdb.c:2065
#10 0x00007f65ac2ef863 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f64649f80d8, mc=0x7f64649f8610) at mdb.c:2246
#11 0x00007f65ac2efac9 in mdb_page_touch (mc=mc@entry=0x7f64649f8610) at mdb.c:2364
#12 0x00007f65ac2f1704 in mdb_cursor_touch (mc=mc@entry=0x7f64649f8610) at mdb.c:6267
#13 0x00007f65ac2f4805 in mdb_cursor_put (mc=0x7f64649f8610, key=0x7f64649f89f0, data=0x7f64649f8a00, flags=<optimized out>) at mdb.c:6401
#14 0x00007f65ac2f7260 in mdb_put (txn=0xd45460, dbi=2, key=key@entry=0x7f64649f89f0, data=data@entry=0x7f64649f8a00, flags=flags@entry=0) at mdb.c:8759
#15 0x00007f65aec8e71a in Baloo::PostingDB::put (this=this@entry=0x7f64649f8ad0, term=..., list=...) at ../../../src/engine/postingdb.cpp:78
#16 0x00007f65aec9fb31 in Baloo::WriteTransaction::commit (this=<optimized out>) at ../../../src/engine/writetransaction.cpp:307
#17 0x00007f65aec97032 in Baloo::Transaction::commit (this=this@entry=0x7f64649f8bd0) at ../../../src/engine/transaction.cpp:262
#18 0x000000000041c8e0 in Baloo::NewFileIndexer::run (this=0xd48990) at ../../../src/file/newfileindexer.cpp:75
#19 0x00007f65ae5b5343 in QThreadPoolThread::run (this=0xd38f40) at thread/qthreadpool.cpp:93
#20 0x00007f65ae5b884e in QThreadPrivate::start (arg=0xd38f40) at thread/qthread_unix.cpp:331
#21 0x00007f65ad21c6fa in start_thread (arg=0x7f64649f9700) at pthread_create.c:333
#22 0x00007f65adbc5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f65afab18c0 (LWP 1402)):
#0  __lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
#1  0x00007f65ad21ea28 in __pthread_mutex_lock_full (mutex=0x7f65afc58040) at ../nptl/pthread_mutex_lock.c:256
#2  0x00007f65ac2edc32 in mdb_txn_renew0 (txn=txn@entry=0xd45460) at mdb.c:2692
#3  0x00007f65ac2eef14 in mdb_txn_begin (env=0xd03110, parent=parent@entry=0x0, flags=flags@entry=0, ret=ret@entry=0x7ffff91bc808) at mdb.c:2850
#4  0x00007f65aec9699b in Baloo::Transaction::Transaction (this=0x7ffff91bc800, db=..., type=Baloo::Transaction::ReadWrite) at ../../../src/engine/transaction.cpp:53
#5  0x00000000004296bf in Baloo::MetadataMover::removeFileMetadata (this=0xc5ca50, file=...) at ../../../src/file/metadatamover.cpp:65
#6  0x00007f65ae7c7e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffff91bc950, r=0xc5ca50, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0xced9e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffff91bc950) at kernel/qobject.cpp:3698
#8  0x00007f65ae7c87d7 in QMetaObject::activate (sender=sender@entry=0xced9e0, m=m@entry=0x645940 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffff91bc950) at kernel/qobject.cpp:3578
#9  0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0xced9e0, _t1=...) at moc_pendingfilequeue.cpp:217
#10 0x0000000000427856 in Baloo::PendingFileQueue::processCache (this=0xced9e0) at ../../../src/file/pendingfilequeue.cpp:89
#11 0x00007f65ae7c7e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffff91bcad0, r=0xced9e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0xced9f8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#13 0x00007f65ae7c87d7 in QMetaObject::activate (sender=sender@entry=0xced9f8, m=m@entry=0x7f65ae9e2840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#14 0x00007f65ae8476d0 in QTimer::timeout (this=this@entry=0xced9f8) at .moc/moc_qtimer.cpp:197
#15 0x00007f65ae7d4878 in QTimer::timerEvent (this=0xced9f8, e=<optimized out>) at kernel/qtimer.cpp:247
#16 0x00007f65ae7c8e53 in QObject::event (this=0xced9f8, e=<optimized out>) at kernel/qobject.cpp:1261
#17 0x00007f65ae79960c in QCoreApplication::notify (event=0x7ffff91bcc50, receiver=0xced9f8, this=0x7ffff91bcf50) at kernel/qcoreapplication.cpp:1038
#18 QCoreApplication::notifyInternal (this=0x7ffff91bcf50, receiver=0xced9f8, event=event@entry=0x7ffff91bcc50) at kernel/qcoreapplication.cpp:965
#19 0x00007f65ae7ee89d in QCoreApplication::sendEvent (event=0x7ffff91bcc50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#20 QTimerInfoList::activateTimers (this=0xc57ee0) at kernel/qtimerinfo_unix.cpp:637
#21 0x00007f65ae7eedd9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#23 0x00007f65aad8a127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f65aad8a380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f65aad8a42c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f65ae7efa7f in QEventDispatcherGlib::processEvents (this=0xc58e80, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007f65ae796dea in QEventLoop::exec (this=this@entry=0x7ffff91bce90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007f65ae79ee8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#29 0x000000000041698c in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
[Current thread is 1 (Thread 0x7f65afab18c0 (LWP 1402))]

Thread 2 (Thread 0x7f64649f9700 (LWP 2580)):
[KCrash Handler]
#6  0x00007f65adaf4418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f65adaf601a in __GI_abort () at abort.c:89
#8  0x00007f65ac2f9002 in mdb_assert_fail (env=0xd03110, expr_txt=expr_txt@entry=0x7f65ac2faa5f "rc == 0", func=func@entry=0x7f65ac2fb398 <__func__.7098> "mdb_page_dirty", line=line@entry=2065, file=0x7f65ac2faa40 "mdb.c") at mdb.c:1481
#9  0x00007f65ac2ee6a5 in mdb_page_dirty (txn=0xd45460, mp=<optimized out>) at mdb.c:2065
#10 0x00007f65ac2ef863 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f64649f80d8, mc=0x7f64649f8610) at mdb.c:2246
#11 0x00007f65ac2efac9 in mdb_page_touch (mc=mc@entry=0x7f64649f8610) at mdb.c:2364
#12 0x00007f65ac2f1704 in mdb_cursor_touch (mc=mc@entry=0x7f64649f8610) at mdb.c:6267
#13 0x00007f65ac2f4805 in mdb_cursor_put (mc=0x7f64649f8610, key=0x7f64649f89f0, data=0x7f64649f8a00, flags=<optimized out>) at mdb.c:6401
#14 0x00007f65ac2f7260 in mdb_put (txn=0xd45460, dbi=2, key=key@entry=0x7f64649f89f0, data=data@entry=0x7f64649f8a00, flags=flags@entry=0) at mdb.c:8759
#15 0x00007f65aec8e71a in Baloo::PostingDB::put (this=this@entry=0x7f64649f8ad0, term=..., list=...) at ../../../src/engine/postingdb.cpp:78
#16 0x00007f65aec9fb31 in Baloo::WriteTransaction::commit (this=<optimized out>) at ../../../src/engine/writetransaction.cpp:307
#17 0x00007f65aec97032 in Baloo::Transaction::commit (this=this@entry=0x7f64649f8bd0) at ../../../src/engine/transaction.cpp:262
#18 0x000000000041c8e0 in Baloo::NewFileIndexer::run (this=0xd48990) at ../../../src/file/newfileindexer.cpp:75
#19 0x00007f65ae5b5343 in QThreadPoolThread::run (this=0xd38f40) at thread/qthreadpool.cpp:93
#20 0x00007f65ae5b884e in QThreadPrivate::start (arg=0xd38f40) at thread/qthread_unix.cpp:331
#21 0x00007f65ad21c6fa in start_thread (arg=0x7f64649f9700) at pthread_create.c:333
#22 0x00007f65adbc5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f65afab18c0 (LWP 1402)):
#0  __lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
#1  0x00007f65ad21ea28 in __pthread_mutex_lock_full (mutex=0x7f65afc58040) at ../nptl/pthread_mutex_lock.c:256
#2  0x00007f65ac2edc32 in mdb_txn_renew0 (txn=txn@entry=0xd45460) at mdb.c:2692
#3  0x00007f65ac2eef14 in mdb_txn_begin (env=0xd03110, parent=parent@entry=0x0, flags=flags@entry=0, ret=ret@entry=0x7ffff91bc808) at mdb.c:2850
#4  0x00007f65aec9699b in Baloo::Transaction::Transaction (this=0x7ffff91bc800, db=..., type=Baloo::Transaction::ReadWrite) at ../../../src/engine/transaction.cpp:53
#5  0x00000000004296bf in Baloo::MetadataMover::removeFileMetadata (this=0xc5ca50, file=...) at ../../../src/file/metadatamover.cpp:65
#6  0x00007f65ae7c7e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffff91bc950, r=0xc5ca50, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0xced9e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffff91bc950) at kernel/qobject.cpp:3698
#8  0x00007f65ae7c87d7 in QMetaObject::activate (sender=sender@entry=0xced9e0, m=m@entry=0x645940 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffff91bc950) at kernel/qobject.cpp:3578
#9  0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0xced9e0, _t1=...) at moc_pendingfilequeue.cpp:217
#10 0x0000000000427856 in Baloo::PendingFileQueue::processCache (this=0xced9e0) at ../../../src/file/pendingfilequeue.cpp:89
#11 0x00007f65ae7c7e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffff91bcad0, r=0xced9e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0xced9f8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#13 0x00007f65ae7c87d7 in QMetaObject::activate (sender=sender@entry=0xced9f8, m=m@entry=0x7f65ae9e2840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#14 0x00007f65ae8476d0 in QTimer::timeout (this=this@entry=0xced9f8) at .moc/moc_qtimer.cpp:197
#15 0x00007f65ae7d4878 in QTimer::timerEvent (this=0xced9f8, e=<optimized out>) at kernel/qtimer.cpp:247
#16 0x00007f65ae7c8e53 in QObject::event (this=0xced9f8, e=<optimized out>) at kernel/qobject.cpp:1261
#17 0x00007f65ae79960c in QCoreApplication::notify (event=0x7ffff91bcc50, receiver=0xced9f8, this=0x7ffff91bcf50) at kernel/qcoreapplication.cpp:1038
#18 QCoreApplication::notifyInternal (this=0x7ffff91bcf50, receiver=0xced9f8, event=event@entry=0x7ffff91bcc50) at kernel/qcoreapplication.cpp:965
#19 0x00007f65ae7ee89d in QCoreApplication::sendEvent (event=0x7ffff91bcc50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#20 QTimerInfoList::activateTimers (this=0xc57ee0) at kernel/qtimerinfo_unix.cpp:637
#21 0x00007f65ae7eedd9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#23 0x00007f65aad8a127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f65aad8a380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f65aad8a42c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f65ae7efa7f in QEventDispatcherGlib::processEvents (this=0xc58e80, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007f65ae796dea in QEventLoop::exec (this=this@entry=0x7ffff91bce90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007f65ae79ee8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#29 0x000000000041698c in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Reported using DrKonqi
Comment 1 Christoph Cullmann 2016-09-11 21:24:14 UTC
Guess thats a follow up of corruption of the vector because of wrong insert.

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