Bug 243484 - crash aborting a sync that seems to take forever
Summary: crash aborting a sync that seems to take forever
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 2.0.89
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: akonadi-ports-regression
: 246159 (view as bug list)
Depends on:
Blocks: 223438
  Show dependency treegraph
 
Reported: 2010-07-03 09:59 UTC by Jaime Torres
Modified: 2010-12-12 20:17 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 Jaime Torres 2010-07-03 09:59:23 UTC
Application: kmail (2.0.89)
KDE Platform Version: 4.5.60 (KDE 4.5.60 (KDE 4.6 >= 20100627)) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.34-10-desktop x86_64
Distribution (Platform): openSUSE RPMs

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

I started a sync folder in the inbox (for an account with around 50.000 mails, not all fetched yet). It stalled at 63%, so I tried to abort the sync. Meanwhile, 2 or 3 fetchs for more old mails.

The last konsole output:

mail2(3732) MessageViewer::NodeHelper::setNodeUnprocessed: Node UNprocessed:  0x4bb6150
kmail2(3732) MessageViewer::NodeHelper::setNodeUnprocessed: Node UNprocessed:  0x4bb6150
kmail2(3732) MessageViewer::NodeHelper::setNodeDisplayedEmbedded: SET NODE:  0x4bb6150 true
kmail2(3732) MessageViewer::NodeHelper::setNodeProcessed: Node processed:  "" "Content-Type: text/plain; charset="us-ascii""
kmail2(3732)/kio (KIOJob) KIO::SlaveInterface::dispatch: error  109   "/g/kde4svn/kdesupport"
kmail2(3732)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x6b35130) KIO::Slave(0xe63070)
kmail2(3732) KDEPrivate::AccessManagerReply::jobDone: 109
kmail2(3732)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: Doing nothing because I don't know job KIO::TransferJob(0x6b35130)
"/opt/kde4/bin/kmail(3732)" Error in thread 140659837912928 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/opt/kde4/bin/kmail(3732)" Error in thread 140659837912928 : "Unsupported operation (2)": "Invalid model"
"/opt/kde4/bin/kmail(3732)" Error in thread 140659837912928 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/opt/kde4/bin/kmail(3732)" Error in thread 140659837912928 : "Unsupported operation (2)": "Invalid model"
"/opt/kde4/bin/kmail(3732)" Error in thread 140659837912928 : "Unsupported operation (2)": "Invalid model"
"/opt/kde4/bin/kmail(3732)" Error in thread 140659837912928 : "Invalid iterator."
kmail2(3732)/kabapi (kdelibs) KWebPage::acceptNavigationRequest: url:   QUrl( "file:///g/kde4svn/kdesupport" )  , type:  5 , frame:  QWebFrame(0xa21dc0)
kmail2(3732)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x4bc1590)
kmail2(3732)/kio (Scheduler) KIO::SchedulerPrivate::scheduleJob: KIO::TransferJob(0x4bc1590)
kmail2(3732)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0x4bc1590) 1
kmail2(3732)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: KIO::TransferJob(0x4bc1590) QObject(0x0)
kmail2(3732)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x4bc1590) QObject(0x0)
ASSERT: "proxyParent.isValid()" in file /g/kde4svn/kdelibs/kdeui/itemviews/kselectionproxymodel.cpp, line 964

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7fedebac4760 (LWP 3732))]

Thread 2 (Thread 0x7fedd01f0710 (LWP 3738)):
#0  0x00007fede5c6239c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007feddf42743b in ?? () from /usr/lib/qt4.5/lib/libQtWebKit.so.4
#2  0x00007feddf4274e9 in ?? () from /usr/lib/qt4.5/lib/libQtWebKit.so.4
#3  0x00007fede5c5da4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fede525082d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fedebac4760 (LWP 3732)):
[KCrash Handler]
#6  0x00007fede51b29e5 in raise () from /lib64/libc.so.6
#7  0x00007fede51b3ee6 in abort () from /lib64/libc.so.6
#8  0x00007fede5ef390f in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at /g/kde4svn/qt/src/corelib/global/qglobal.cpp:2271
#9  0x00007fede5ef39d0 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=<value optimized out>, ap=0x6)
    at /g/kde4svn/qt/src/corelib/global/qglobal.cpp:2317
#10 0x00007fede5ef3aa5 in qFatal (msg=0xe94 <Address 0xe94 out of bounds>) at /g/kde4svn/qt/src/corelib/global/qglobal.cpp:2500
#11 0x00007fedeb4e89c4 in KSelectionProxyModelPrivate::endInsertRows (this=0x5f3c8c0, parent=..., start=0, end=0) at /g/kde4svn/kdelibs/kdeui/itemviews/kselectionproxymodel.cpp:964
#12 0x00007fedeb4e8afd in KSelectionProxyModelPrivate::sourceRowsInserted (this=0x5f3c8c0, parent=..., start=0, end=0) at /g/kde4svn/kdelibs/kdeui/itemviews/kselectionproxymodel.cpp:982
#13 0x00007fedeb4e98b3 in KSelectionProxyModel::qt_metacall (this=0x888d90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff530fd910)
    at /g/build/kdelibs/kdeui/moc_kselectionproxymodel.cpp:124
#14 0x00007fede84702d5 in Akonadi::SelectionProxyModel::qt_metacall (this=0xe94, _c=3732, _id=6, _a=0xffffffffffffffff) at /g/build/kdepimlibs/akonadi/selectionproxymodel.moc:70
#15 0x00007fede5fecfdf in QMetaObject::activate (sender=0x6c2b20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3269
#16 0x00007fede60303d4 in QAbstractItemModel::rowsInserted (this=0xe94, _t1=<value optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#17 0x00007fede5fd3670 in QAbstractItemModel::endInsertRows (this=0x6c2b20) at /g/kde4svn/qt/src/corelib/kernel/qabstractitemmodel.cpp:2413
#18 0x00007fede8425603 in Akonadi::EntityTreeModelPrivate::insertCollection (this=0x7464b0, collection=<value optimized out>, parent=...) at /g/kde4svn/kdepimlibs/akonadi/entitytreemodel_p.cpp:561
#19 0x00007fede842882e in Akonadi::EntityTreeModelPrivate::monitoredCollectionAdded (this=0x7464b0, collection=..., parent=...) at /g/kde4svn/kdepimlibs/akonadi/entitytreemodel_p.cpp:605
#20 0x00007fede841e880 in Akonadi::EntityTreeModel::qt_metacall (this=0x6c2b20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff530fdc10)
    at /g/build/kdepimlibs/akonadi/entitytreemodel.moc:135
#21 0x00007fede5fecfdf in QMetaObject::activate (sender=0x8e67d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3269
#22 0x00007fede845a91a in Akonadi::Monitor::collectionAdded (this=0xe94, _t1=<value optimized out>, _t2=<value optimized out>) at /g/build/kdepimlibs/akonadi/monitor.moc:202
#23 0x00007fede845bdf1 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x8e7450, msg=..., col=<value optimized out>, par=..., dest=<value optimized out>)
    at /g/kde4svn/kdepimlibs/akonadi/monitor_p.cpp:423
#24 0x00007fede845c788 in Akonadi::MonitorPrivate::emitNotification (this=0x8e7450, msg=...) at /g/kde4svn/kdepimlibs/akonadi/monitor_p.cpp:211
#25 0x00007fede845d140 in Akonadi::MonitorPrivate::dataAvailable (this=0x8e7450) at /g/kde4svn/kdepimlibs/akonadi/monitor_p.cpp:226
#26 0x00007fede845ad01 in Akonadi::Monitor::qt_metacall (this=0x8e67d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff530fdf70) at /g/build/kdepimlibs/akonadi/monitor.moc:148
#27 0x00007fede83edb68 in Akonadi::ChangeRecorder::qt_metacall (this=0xe94, _c=3732, _id=6, _a=0xffffffffffffffff) at /g/build/kdepimlibs/akonadi/changerecorder.moc:72
#28 0x00007fede5fecfdf in QMetaObject::activate (sender=0x8e74b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3269
#29 0x00007fede83f178e in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::fetchResult (this=0x8e74b0, job=0x72bf6c0)
    at /g/kde4svn/kdepimlibs/akonadi/entitycache_p.h:189
#30 0x00007fede841a208 in Akonadi::EntityCacheBase::qt_metacall (this=0x8e74b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff530fe120)
    at /g/build/kdepimlibs/akonadi/entitycache_p.moc:77
#31 0x00007fede5fecfdf in QMetaObject::activate (sender=0x72bf6c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3269
#32 0x00007fedeaf37022 in KJob::result (this=0xe94, _t1=0x72bf6c0) at /g/build/kdelibs/kdecore/kjob.moc:194
#33 0x00007fedeaf37371 in KJob::emitResult (this=0x72bf6c0) at /g/kde4svn/kdelibs/kdecore/jobs/kjob.cpp:312
#34 0x00007fede8451e60 in Akonadi::Job::qt_metacall (this=0x72bf6c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x627b110) at /g/build/kdepimlibs/akonadi/job.moc:91
#35 0x00007fede83fa5f5 in Akonadi::CollectionFetchJob::qt_metacall (this=0xe94, _c=3732, _id=6, _a=0xffffffffffffffff) at /g/build/kdepimlibs/akonadi/collectionfetchjob.moc:73
#36 0x00007fede5fe8136 in QObject::event (this=0x72bf6c0, e=0xe94) at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:1208
#37 0x00007fede72313cc in QApplicationPrivate::notify_helper (this=0x65b390, receiver=0x72bf6c0, e=0x7597940) at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:4389
#38 0x00007fede7236c18 in QApplication::notify (this=0x7fff530fed90, receiver=<value optimized out>, e=0x7597940) at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:3791
#39 0x00007fedeb4fc79e in KApplication::notify (this=0x7fff530fed90, receiver=0x72bf6c0, event=0x7597940) at /g/kde4svn/kdelibs/kdeui/kernel/kapplication.cpp:309
#40 0x00007fede5fd8213 in QCoreApplication::notifyInternal (this=0x7fff530fed90, receiver=0x72bf6c0, event=0x7597940) at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:732
#41 0x00007fede5fd8bbc in sendEvent (receiver=0x0, event_type=0, data=0x612390) at ../../include/QtCore/../../../../kde4svn/qt/src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x612390) at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:1370
#43 0x00007fede72d0325 in sendPostedEvents (this=<value optimized out>, flags=<value optimized out>) at ../../include/QtCore/../../../../kde4svn/qt/src/corelib/kernel/qcoreapplication.h:220
#44 QEventDispatcherX11::processEvents (this=<value optimized out>, flags=<value optimized out>) at /g/kde4svn/qt/src/gui/kernel/qeventdispatcher_x11.cpp:75
#45 0x00007fede5fd6e72 in QEventLoop::processEvents (this=<value optimized out>, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:149
#46 0x00007fede5fd701d in QEventLoop::exec (this=0x7fff530fec40, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:197
#47 0x00007fede5fd8deb in QCoreApplication::exec () at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:1009
#48 0x0000000000402fe3 in main (argc=<value optimized out>, argv=<value optimized out>) at /g/kde4svn/kdepim/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-08-07 18:37:30 UTC
*** Bug 246159 has been marked as a duplicate of this bug. ***
Comment 2 Tobias Koenig 2010-12-12 00:18:19 UTC
Hej Jaime,

is this crash still reproducable with current version (4.6beta)?

Ciao,
Tobias
Comment 3 Jaime Torres 2010-12-12 20:17:06 UTC
No, it is fixed. In two ways:
The sync is not stalled.
kmail does not crash when aborting any sync.

Thank you. I can almost use kmail again for bug triaging  ;-)