Bug 362224 - Baloo crashes when sending an email in Kmail
Summary: Baloo crashes when sending an email in Kmail
Status: RESOLVED DUPLICATE of bug 367991
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-04-25 09:37 UTC by Chris Samuel
Modified: 2016-09-11 21:23 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 Chris Samuel 2016-04-25 09:37:23 UTC
Application: baloo_file (5.18.0)

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

-- Information about the crash:
- What I was doing when the application crashed:

When I send an email I get an alert about baloo crashing.  This doesn't appear to be related to bug 362222 which is the only suggestion DrKonqi finds for this.

Looking at the logs in my .xsession-errors file I can see (this crash is the one corresponding to the backtrace):

 New Notification:  "E-Mail Successfully Sent" "Your E-Mail has been sent successfully." -1 & Part of: 0
log_mixedmaildir: Maildir  "/home/chris/Mail/sent-mail" "cur" directory newer than the index: cur modified at QDateTime(2016-04-23 23:16:48.000 AEST Qt::TimeSpec(LocalTime)) , index modified at QDateTime(2012-09-15 15:56:53.000 AEST Qt::TimeSpec(LocalTime))
log_mixedmaildirresource: ""
log_mixedmaildir: ItemModifyJob for item "1461576224.R226.quad:2,S" in collection "sent-mail" skipped: nothing of interest changed ( true ) or only payload changed but should be ignored ( false ). Modified parts: QSet("ATR:ErrorAttribute")
log_mixedmaildir: ItemModifyJob for item "1461576224.R226.quad:2,S" in collection "sent-mail" skipped: nothing of interest changed ( true ) or only payload changed but should be ignored ( false ). Modified parts: QSet("ATR:ErrorAttribute")
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:115:23: QML Text: Binding loop detected for property "height"
org.kde.baloo: "/home/chris/Mail/sent-mail/tmp/1461576224.R226.quad" -> "/home/chris/Mail/sent-mail/new/1461576224.R226.quad"
File moved to path which now no longer exists - "/home/chris/Mail/sent-mail/new/1461576224.R226.quad"
org.kde.baloo: "/home/chris/Mail/sent-mail/new/1461576224.R226.quad" -> "/home/chris/Mail/sent-mail/cur/1461576224.R226.quad:2,S"
mdb.c:2065: Assertion 'rc == 0' failed in mdb_page_dirty()
6002
Received:  1 Removed:  0 In total:  1  Wanted:  6002
Received:  0 Removed:  0 In total:  1  Wanted:  6002
finished
KCrash: Attempting to start /usr/bin/baloo_file from kdeinit



Here is a second example (triggered by sending myself an email for this purpose - not the one that this backtrace is for):

 New Notification:  "E-Mail Successfully Sent" "Your E-Mail has been sent successfully." -1 & Part of: 0
Database "akonadi" opened using driver "QMYSQL"
log_mixedmaildirresource: ""
org.kde.baloo: "/home/chris/Mail/sent-mail/tmp/1461576841.R287.quad" -> "/home/chris/Mail/sent-mail/new/1461576841.R287.quad"
log_mixedmaildir: ItemModifyJob for item "1461576841.R287.quad:2,S" in collection "sent-mail" skipped: nothing of interest changed ( true ) or only payload changed but should be ignored ( false ). Modified parts: QSet("ATR:ErrorAttribut
e")
log_mixedmaildir: ItemModifyJob for item "1461576841.R287.quad:2,S" in collection "sent-mail" skipped: nothing of interest changed ( true ) or only payload changed but should be ignored ( false ). Modified parts: QSet("ATR:ErrorAttribut
e")
mdb.c:2065: Assertion 'rc == 0' failed in mdb_page_dirty()
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:115:23: QML Text: Binding loop detected for property "height"
KCrash: Attempting to start /usr/bin/baloo_file from kdeinit

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".
[Current thread is 1 (Thread 0x7f9cc2df38c0 (LWP 2053))]

Thread 2 (Thread 0x7f9b77d3d700 (LWP 2626)):
#0  0x00007f9cbe112a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9cbe0cd930 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9cbe0ce24b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9cbe0ce42c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9cc1b33a9b in QEventDispatcherGlib::processEvents (this=0x7f9b700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f9cc1adadea in QEventLoop::exec (this=this@entry=0x7f9b77d3cbc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x0000000000420cd8 in Baloo::FileContentIndexer::run (this=0xbc00c0) at ../../../src/file/filecontentindexer.cpp:71
#7  0x00007f9cc18f9343 in QThreadPoolThread::run (this=0xe536d0) at thread/qthreadpool.cpp:93
#8  0x00007f9cc18fc84e in QThreadPrivate::start (arg=0xe536d0) at thread/qthread_unix.cpp:331
#9  0x00007f9cc05606fa in start_thread (arg=0x7f9b77d3d700) at pthread_create.c:333
#10 0x00007f9cc0f09b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9cc2df38c0 (LWP 2053)):
[KCrash Handler]
#6  0x00007f9cc0e38418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f9cc0e3a01a in __GI_abort () at abort.c:89
#8  0x00007f9cbf63d002 in mdb_assert_fail (env=0xc27640, expr_txt=expr_txt@entry=0x7f9cbf63ea5f "rc == 0", func=func@entry=0x7f9cbf63f398 <__func__.7098> "mdb_page_dirty", line=line@entry=2065, file=0x7f9cbf63ea40 "mdb.c") at mdb.c:1481
#9  0x00007f9cbf6326a5 in mdb_page_dirty (txn=0xc39960, mp=<optimized out>) at mdb.c:2065
#10 0x00007f9cbf633863 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7fff6433b4d8, mc=0x7fff6433ba10) at mdb.c:2246
#11 0x00007f9cbf633ac9 in mdb_page_touch (mc=mc@entry=0x7fff6433ba10) at mdb.c:2364
#12 0x00007f9cbf635704 in mdb_cursor_touch (mc=mc@entry=0x7fff6433ba10) at mdb.c:6267
#13 0x00007f9cbf638805 in mdb_cursor_put (mc=0x7fff6433ba10, key=0x7fff6433bdf0, data=0x7fff6433be00, flags=<optimized out>) at mdb.c:6401
#14 0x00007f9cbf63b260 in mdb_put (txn=0xc39960, dbi=2, key=key@entry=0x7fff6433bdf0, data=data@entry=0x7fff6433be00, flags=flags@entry=0) at mdb.c:8759
#15 0x00007f9cc1fd271a in Baloo::PostingDB::put (this=this@entry=0x7fff6433bed0, term=..., list=...) at ../../../src/engine/postingdb.cpp:78
#16 0x00007f9cc1fe3b31 in Baloo::WriteTransaction::commit (this=<optimized out>) at ../../../src/engine/writetransaction.cpp:307
#17 0x00007f9cc1fdb032 in Baloo::Transaction::commit (this=this@entry=0x7fff6433bf70) at ../../../src/engine/transaction.cpp:262
#18 0x000000000042a02b in Baloo::MetadataMover::moveFileMetadata (this=0xc106d0, from=..., to=...) at ../../../src/file/metadatamover.cpp:58
#19 0x00007f9cc1b0be4f in QtPrivate::QSlotObjectBase::call (a=0x7fff6433c0d0, r=0x7fff6433c790, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#20 QMetaObject::activate (sender=sender@entry=0xc14ee0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff6433c0d0) at kernel/qobject.cpp:3698
#21 0x00007f9cc1b0c7d7 in QMetaObject::activate (sender=sender@entry=0xc14ee0, m=m@entry=0x644cc0 <KInotify::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff6433c0d0) at kernel/qobject.cpp:3578
#22 0x000000000042aaba in KInotify::moved (this=this@entry=0xc14ee0, _t1=..., _t2=...) at ./moc_kinotify.cpp:330
#23 0x000000000042cbff in KInotify::slotEvent (this=<optimized out>, socket=<optimized out>) at ../../../src/file/kinotify.cpp:421
#24 0x00007f9cc1b0be4f in QtPrivate::QSlotObjectBase::call (a=0x7fff6433c360, r=0xc14ee0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#25 QMetaObject::activate (sender=sender@entry=0xb61510, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff6433c360) at kernel/qobject.cpp:3698
#26 0x00007f9cc1b0c7d7 in QMetaObject::activate (sender=sender@entry=0xb61510, m=m@entry=0x7f9cc1d26780 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff6433c360) at kernel/qobject.cpp:3578
#27 0x00007f9cc1b8b51e in QSocketNotifier::activated (this=this@entry=0xb61510, _t1=13) at .moc/moc_qsocketnotifier.cpp:134
#28 0x00007f9cc1b1847b in QSocketNotifier::event (this=0xb61510, e=<optimized out>) at kernel/qsocketnotifier.cpp:260
#29 0x00007f9cc1add60c in QCoreApplication::notify (event=0x7fff6433c420, receiver=0xb61510, this=0x7fff6433c6f0) at kernel/qcoreapplication.cpp:1038
#30 QCoreApplication::notifyInternal (this=0x7fff6433c6f0, receiver=0xb61510, event=event@entry=0x7fff6433c420) at kernel/qcoreapplication.cpp:965
#31 0x00007f9cc1b33f45 in QCoreApplication::sendEvent (event=0x7fff6433c420, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#32 socketNotifierSourceDispatch (source=0xa92430) at kernel/qeventdispatcher_glib.cpp:101
#33 0x00007f9cbe0ce127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f9cbe0ce380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f9cbe0ce42c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9cc1b33a7f in QEventDispatcherGlib::processEvents (this=0xa93f30, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#37 0x00007f9cc1adadea in QEventLoop::exec (this=this@entry=0x7fff6433c630, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#38 0x00007f9cc1ae2e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#39 0x000000000041698c in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Possible duplicates by query: bug 362222.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2016-09-11 21:23:59 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 ***