Bug 301742 - kmail crashed while I deleted some emails.
Summary: kmail crashed while I deleted some emails.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.8
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 303370 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-12 16:30 UTC by Hussam Al-Tayeb
Modified: 2017-01-07 21:41 UTC (History)
0 users

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 Hussam Al-Tayeb 2012-06-12 16:30:42 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.4.2-1-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
kmail crashed when I deleted some emails that have the same subject.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xae505740 (LWP 1402))]

Thread 7 (Thread 0xabba0b40 (LWP 1407)):
#0  0xb77b2424 in __kernel_vsyscall ()
#1  0xb572379b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5d4ec6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb3223059 in WTF::double_conversion::FastDtoa(double, WTF::double_conversion::FastDtoaMode, int, WTF::double_conversion::Vector<char>, int*, int*) () from /usr/lib/libQtWebKit.so.4
#4  0xb5730ff4 in ?? () from /lib/libpthread.so.0
#5  0xb5cc63d5 in new_do_write () from /lib/libc.so.6
#6  0xb5cc7230 in _IO_new_file_xsputn () from /lib/libc.so.6
#7  0xb500e939 in ?? () from /usr/lib/libmessagecore.so.4
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xab276b40 (LWP 1408)):
#0  0xb77b2424 in __kernel_vsyscall ()
#1  0xb5723b43 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5d4ecc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb324c93e in WTF::charactersToInt64(unsigned short const*, unsigned int, bool*) () from /usr/lib/libQtWebKit.so.4
#4  0x41d3f5db in ?? ()
#5  0xa7418000 in ?? ()
#6  0xb5d4ee58 in pthread_mutex_lock () from /lib/libc.so.6
#7  0x41d3f5db in ?? ()
#8  0x00000000 in ?? ()

Thread 5 (Thread 0xaa875b40 (LWP 1409)):
#0  0xb77b2424 in __kernel_vsyscall ()
#1  0xb572379b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5d4ec6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb324c8b3 in WTF::charactersToInt64(unsigned short const*, unsigned int, bool*) () from /usr/lib/libQtWebKit.so.4
#4  0xb5d4edc0 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa90ffb40 (LWP 1411)):
#0  0xb77b2424 in __kernel_vsyscall ()
#1  0xb5d372ab in poll () from /lib/libc.so.6
#2  0xb418d17b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb417ea70 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb417ebd1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb60bf29f in QEventDispatcherGlib::processEvents (this=0x9f6c878, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb6087bec in QEventLoop::processEvents (this=this@entry=0xa90ff1c8, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6087ec1 in QEventLoop::exec (this=0xa90ff1c8, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5f64784 in QThread::exec (this=this@entry=0x9f6cd00) at thread/qthread.cpp:501
#9  0xb5f6480b in QThread::run (this=0x9f6cd00) at thread/qthread.cpp:568
#10 0xb5f67930 in QThreadPrivate::start (arg=0x9f6cd00) at thread/qthread_unix.cpp:307
#11 0xb0410a01 in ?? () from /usr/lib/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f49cae8 in ?? ()
#20 0x2fc18100 in ?? ()
#21 0x8b0016e4 in ?? ()
#22 0xffff0c89 in ?? ()
#23 0x29d231ff in ?? ()
#24 0x0d0365c2 in ?? ()
#25 0x00000000 in ?? ()

Thread 3 (Thread 0xa7c56b40 (LWP 1554)):
#0  0xb77b2424 in __kernel_vsyscall ()
#1  0xb5723b43 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5d4ecc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5f67dfd in wait (time=30000, this=0x9fdb3d8) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0x9fdb380, mutex=0x9fdb37c, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb5f5a104 in QThreadPoolThread::run (this=0x9fe6420) at concurrent/qthreadpool.cpp:141
#6  0xb5f67930 in QThreadPrivate::start (arg=0x9fe6420) at thread/qthread_unix.cpp:307
#7  0xb0410a01 in ?? () from /usr/lib/libGL.so.1
#8  0x5c8b0824 in ?? ()
#9  0xbab80424 in ?? ()
#10 0x65000000 in ?? ()
#11 0x001015ff in ?? ()
#12 0xd3890000 in ?? ()
#13 0xfff0013d in ?? ()
#14 0xc30173ff in ?? ()
#15 0x0f49cae8 in ?? ()
#16 0x2fc18100 in ?? ()
#17 0x8b0016e4 in ?? ()
#18 0xffff0c89 in ?? ()
#19 0x29d231ff in ?? ()
#20 0x0d0365c2 in ?? ()
#21 0x00000000 in ?? ()

Thread 2 (Thread 0xa9affb40 (LWP 1557)):
#0  0xb77b2424 in __kernel_vsyscall ()
#1  0xb5723b43 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5d4ecc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5f67dfd in wait (time=30000, this=0xa1eb7d0) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0xa1ef860, mutex=0xa1ef85c, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb5f5a104 in QThreadPoolThread::run (this=0xa1ba1a8) at concurrent/qthreadpool.cpp:141
#6  0xb5f67930 in QThreadPrivate::start (arg=0xa1ba1a8) at thread/qthread_unix.cpp:307
#7  0xb0410a01 in ?? () from /usr/lib/libGL.so.1
#8  0x5c8b0824 in ?? ()
#9  0xbab80424 in ?? ()
#10 0x65000000 in ?? ()
#11 0x001015ff in ?? ()
#12 0xd3890000 in ?? ()
#13 0xfff0013d in ?? ()
#14 0xc30173ff in ?? ()
#15 0x0f49cae8 in ?? ()
#16 0x2fc18100 in ?? ()
#17 0x8b0016e4 in ?? ()
#18 0xffff0c89 in ?? ()
#19 0x29d231ff in ?? ()
#20 0x0d0365c2 in ?? ()
#21 0x00000000 in ?? ()

Thread 1 (Thread 0xae505740 (LWP 1402)):
[KCrash Handler]
#7  0xb77b2424 in __kernel_vsyscall ()
#8  0xb5c8724f in raise () from /lib/libc.so.6
#9  0xb5c88b53 in abort () from /lib/libc.so.6
#10 0xb5f5c39e in qt_message_output (msgType=QtFatalMsg, buf=0xa59a980 "ASSERT: \"first >= 0\" in file kernel/qabstractitemmodel.cpp, line 2466") at global/qglobal.cpp:2260
#11 0xb5f5c599 in qt_message (msgType=QtFatalMsg, msg=0xb60fe5a8 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfd16044 "56\027\266\365\065\027\266\242\t") at global/qglobal.cpp:2306
#12 0xb5f5c6b8 in qFatal (msg=msg@entry=0xb60fe5a8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2489
#13 0xb5f5c745 in qt_assert (assertion=0xb6173635 "first >= 0", file=0xb61735f5 "kernel/qabstractitemmodel.cpp", line=2466) at global/qglobal.cpp:2007
#14 0xb607f5c8 in QAbstractItemModel::beginRemoveRows (this=0x9d97478, parent=..., first=-1, last=-1) at kernel/qabstractitemmodel.cpp:2466
#15 0xb5143448 in Akonadi::EntityTreeModelPrivate::monitoredItemUnlinked (this=0x9e02c48, item=..., collection=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitytreemodel_p.cpp:1198
#16 0xb5138365 in Akonadi::EntityTreeModel::qt_static_metacall (_o=0x9d97478, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd16244) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitytreemodel.moc:149
#17 0xb60a2f1f in QMetaObject::activate (sender=0x9c28f10, m=0xb52d02b8, local_signal_index=5, argv=0xbfd16244) at kernel/qobject.cpp:3547
#18 0xb518415d in Akonadi::Monitor::itemUnlinked (this=0x9c28f10, _t1=..., _t2=...) at /home/hussam/packages/kdepimlibs/src/build/akonadi/monitor.moc:224
#19 0xb5188792 in Akonadi::MonitorPrivate::emitItemNotification (this=0x9df1fd8, msg=..., item=..., collection=..., collectionDest=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:545
#20 0xb51899ee in Akonadi::MonitorPrivate::emitNotification (this=0x9df1fd8, msg=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:288
#21 0xb50f21f7 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x9df1fd8, msg=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/changerecorder_p.h:60
#22 0xb518918c in Akonadi::MonitorPrivate::dispatchNotifications (this=this@entry=0x9df1fd8) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:447
#23 0xb5189b94 in Akonadi::MonitorPrivate::slotNotify (this=0x9df1fd8, msgs=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:418
#24 0xb50f5bab in Akonadi::ChangeRecorderPrivate::slotNotify (this=0x9df1fd8, msgs=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/changerecorder_p.h:51
#25 0xb51849b6 in Akonadi::Monitor::qt_static_metacall (_o=0x9c28f10, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xbfd16658) at /home/hussam/packages/kdepimlibs/src/build/akonadi/monitor.moc:136
#26 0xb60a2f1f in QMetaObject::activate (sender=0x9d21d98, m=0xb52d26b8, local_signal_index=0, argv=0xbfd16658) at kernel/qobject.cpp:3547
#27 0xb51ff025 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=this@entry=0x9d21d98, _t1=...) at /home/hussam/packages/kdepimlibs/src/build/akonadi/notificationsourceinterface.moc:105
#28 0xb51ff11f in OrgFreedesktopAkonadiNotificationSourceInterface::qt_static_metacall (_o=_o@entry=0x9d21d98, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=0, _a=_a@entry=0xbfd167bc) at /home/hussam/packages/kdepimlibs/src/build/akonadi/notificationsourceinterface.moc:54
#29 0xb51ff1fe in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x9d21d98, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfd167bc) at /home/hussam/packages/kdepimlibs/src/build/akonadi/notificationsourceinterface.moc:95
#30 0xb57546ac in QDBusConnectionPrivate::deliverCall (this=0x9bf1160, object=0x9d21d98, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:947
#31 0xb575fc7d in QDBusCallDeliveryEvent::placeMetaCall (this=0xa4a0840, object=0x9d21d98) at qdbusintegrator_p.h:103
#32 0xb60a24eb in QObject::event (this=0x9d21d98, e=0xa4a0840) at kernel/qobject.cpp:1195
#33 0xb633a1d8 in QApplicationPrivate::notify_helper (this=0x9c1f488, receiver=0x9d21d98, e=0xa4a0840) at kernel/qapplication.cpp:4551
#34 0xb633f879 in QApplication::notify (this=0x9c1f488, receiver=0x9d21d98, e=0xa4a0840) at kernel/qapplication.cpp:4412
#35 0xb74b4908 in KApplication::notify (this=0xbfd16fdc, receiver=0x9d21d98, event=0xa4a0840) at /home/hussam/packages/kdelibs/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#36 0xb608998e in QCoreApplication::notifyInternal (this=0xbfd16fdc, receiver=0x9d21d98, event=0xa4a0840) at kernel/qcoreapplication.cpp:915
#37 0xb608d781 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9b4c130) at kernel/qcoreapplication.cpp:1539
#39 0xb608db0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#40 0xb60bf104 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=0x9c16070) at kernel/qeventdispatcher_glib.cpp:279
#42 0xb417e753 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb417eaf0 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0xb417ebd1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb60bf281 in QEventDispatcherGlib::processEvents (this=0x9b4cea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0xb63fa85a in QGuiEventDispatcherGlib::processEvents (this=0x9b4cea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0xb6087bec in QEventLoop::processEvents (this=this@entry=0xbfd16f58, flags=...) at kernel/qeventloop.cpp:149
#48 0xb6087ec1 in QEventLoop::exec (this=0xbfd16f58, flags=...) at kernel/qeventloop.cpp:204
#49 0xb608dbba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#50 0xb6338044 in QApplication::exec () at kernel/qapplication.cpp:3812
#51 0x08049ccc in main (argc=3, argv=0xbfd17114) at /home/hussam/packages/kdepim/src/kdepim/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Hussam Al-Tayeb 2012-06-13 20:41:17 UTC
I'm using soprano 2.7.57 to work around bug 301453.
Comment 2 Jekyll Wu 2012-07-11 21:23:23 UTC
*** Bug 303370 has been marked as a duplicate of this bug. ***
Comment 3 Denis Kurz 2016-09-24 20:33:30 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 21:41:32 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.