Bug 368442 - Baloo is crashed when user deleted file
Summary: Baloo is crashed when user deleted file
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
: 367636 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-08 08:41 UTC by Yaroslav Gorbunov
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 Yaroslav Gorbunov 2016-09-08 08:41:39 UTC
Application: baloo_file (5.18.0)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-36-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
1. Open Dolphin
2. Delete file from $HOME with shift + del
3. Baloo is crashed

-- 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 0x7fd69d49a8c0 (LWP 4095))]

Thread 2 (Thread 0x7fd552219700 (LWP 4815)):
#0  0x00007fd69b5ade8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd69877e39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd69877e4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd69c1e3a9b in QEventDispatcherGlib::processEvents (this=0x7fd54c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fd69c18adea in QEventLoop::exec (this=this@entry=0x7fd552218bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x0000000000420cd8 in Baloo::FileContentIndexer::run (this=0x1a0deb0) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/filecontentindexer.cpp:71
#6  0x00007fd69bfa9343 in QThreadPoolThread::run (this=0x1dfd050) at thread/qthreadpool.cpp:93
#7  0x00007fd69bfac84e in QThreadPrivate::start (arg=0x1dfd050) at thread/qthread_unix.cpp:331
#8  0x00007fd69ac106fa in start_thread (arg=0x7fd552219700) at pthread_create.c:333
#9  0x00007fd69b5b9b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd69d49a8c0 (LWP 4095)):
[KCrash Handler]
#6  0x00007fd69b4e8418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fd69b4ea01a in __GI_abort () at abort.c:89
#8  0x00007fd699ced002 in mdb_assert_fail (env=0x19d7150, expr_txt=expr_txt@entry=0x7fd699ceea9c "mp->mp_pgno != pgno", func=func@entry=0x7fd699cef3a8 <__func__.7174> "mdb_page_touch", line=line@entry=2370, file=0x7fd699ceea40 "mdb.c") at mdb.c:1481
#9  0x00007fd699ce3caa in mdb_page_touch (mc=mc@entry=0x7fffbdc61b40) at mdb.c:2370
#10 0x00007fd699ce7913 in mdb_node_move (fromleft=0, cdst=0x7fffbdc62190, csrc=0x7fffbdc61b40) at mdb.c:7595
#11 mdb_rebalance (mc=mc@entry=0x7fffbdc62190) at mdb.c:8150
#12 0x00007fd699ce9948 in mdb_cursor_del0 (mc=0x7fffbdc62190) at mdb.c:8211
#13 mdb_cursor_del (mc=0x7fffbdc62190, flags=<optimized out>) at mdb.c:6907
#14 0x00007fd699cea621 in mdb_freelist_save (txn=0x198a5c0) at mdb.c:3068
#15 mdb_txn_commit (txn=0x198a5c0) at mdb.c:3555
#16 0x00007fd69c68b070 in Baloo::Transaction::commit (this=this@entry=0x7fffbdc62380) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:266
#17 0x00000000004296d5 in Baloo::MetadataMover::removeFileMetadata (this=0x1969550, file=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/metadatamover.cpp:67
#18 0x00007fd69c1bbe4f in QtPrivate::QSlotObjectBase::call (a=0x7fffbdc624d0, r=0x1969550, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#19 QMetaObject::activate (sender=sender@entry=0x197b180, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffbdc624d0) at kernel/qobject.cpp:3698
#20 0x00007fd69c1bc7d7 in QMetaObject::activate (sender=sender@entry=0x197b180, m=m@entry=0x645940 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffbdc624d0) at kernel/qobject.cpp:3578
#21 0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x197b180, _t1=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/obj-x86_64-linux-gnu/src/file/moc_pendingfilequeue.cpp:217
#22 0x0000000000427856 in Baloo::PendingFileQueue::processCache (this=0x197b180) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/pendingfilequeue.cpp:89
#23 0x00007fd69c1bbe4f in QtPrivate::QSlotObjectBase::call (a=0x7fffbdc62650, r=0x197b180, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#24 QMetaObject::activate (sender=sender@entry=0x197b198, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#25 0x00007fd69c1bc7d7 in QMetaObject::activate (sender=sender@entry=0x197b198, m=m@entry=0x7fd69c3d6840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#26 0x00007fd69c23b6d0 in QTimer::timeout (this=this@entry=0x197b198) at .moc/moc_qtimer.cpp:197
#27 0x00007fd69c1c8878 in QTimer::timerEvent (this=0x197b198, e=<optimized out>) at kernel/qtimer.cpp:247
#28 0x00007fd69c1bce53 in QObject::event (this=0x197b198, e=<optimized out>) at kernel/qobject.cpp:1261
#29 0x00007fd69c18d60c in QCoreApplication::notify (event=0x7fffbdc627d0, receiver=0x197b198, this=0x7fffbdc62ad0) at kernel/qcoreapplication.cpp:1038
#30 QCoreApplication::notifyInternal (this=0x7fffbdc62ad0, receiver=0x197b198, event=event@entry=0x7fffbdc627d0) at kernel/qcoreapplication.cpp:965
#31 0x00007fd69c1e289d in QCoreApplication::sendEvent (event=0x7fffbdc627d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#32 QTimerInfoList::activateTimers (this=0x194c110) at kernel/qtimerinfo_unix.cpp:637
#33 0x00007fd69c1e2dd9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#34 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#35 0x00007fd69877e1a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fd69877e400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fd69877e4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fd69c1e3a7f in QEventDispatcherGlib::processEvents (this=0x194bfa0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#39 0x00007fd69c18adea in QEventLoop::exec (this=this@entry=0x7fffbdc62a10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#40 0x00007fd69c192e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#41 0x000000000041698c in main (argc=1, argv=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/main.cpp:88

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-09-11 21:01:23 UTC
*** Bug 367636 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2017-10-27 17:21:17 UTC

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