Bug 243133 - imap ressource crashes constantly using kmail-migrator
Summary: imap ressource crashes constantly using kmail-migrator
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: VHI crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: akonadi-ports-regression, triaged
Depends on:
Blocks: 223438
  Show dependency treegraph
 
Reported: 2010-06-29 11:00 UTC by Michael Seiwert
Modified: 2018-10-27 04:04 UTC (History)
2 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 Michael Seiwert 2010-06-29 11:00:15 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.2-desktop i686
Distribution: "openSUSE 11.2 (i586)"

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

I did a fresh akonadiserver setup and started kmail-migrator. While migrating the imap ressource constantly crashed with the attached bt.

kdepim trunk from this morning
kdepimlibs 4.5 branch

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted
[Current thread is 1 (Thread 0xb48bc920 (LWP 11687))]

Thread 4 (Thread 0xb224fb70 (LWP 11693)):
#0  0xb545fec0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#1  0xb7417454 in QEventDispatcherGlib::processEvents (this=0x8157b50, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#2  0xb73dcdfb in QEventLoop::processEvents (this=0xb224f288, flags=...) at kernel/qeventloop.cpp:149
#3  0xb73dcf40 in QEventLoop::exec (this=0xb224f288, flags=...) at kernel/qeventloop.cpp:201
#4  0xb72c6534 in QThread::exec (this=0x81eb658) at thread/qthread.cpp:487
#5  0xb63f1c9e in KIMAP::SessionThread::run() () from /home/mseiwert/kde/lib/libkimap.so.4
#6  0xb72c8e6c in QThreadPrivate::start (arg=0x81eb658) at thread/qthread_unix.cpp:248
#7  0xb71f66e5 in start_thread () from /lib/libpthread.so.0
#8  0xb71f6600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xb1a4eb70 (LWP 11694)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb71fb0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb72ca291 in QWaitConditionPrivate::wait (this=0x821e7c8, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  0xb72ca0af in QWaitCondition::wait (this=0x821e72c, mutex=0x821e728, time=30000) at thread/qwaitcondition_unix.cpp:159
#4  0xb72ba683 in QThreadPoolThread::run (this=0x821bfe0) at concurrent/qthreadpool.cpp:140
#5  0xb72c8e6c in QThreadPrivate::start (arg=0x821bfe0) at thread/qthread_unix.cpp:248
#6  0xb71f66e5 in start_thread () from /lib/libpthread.so.0
#7  0xb71f6600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xb124db70 (LWP 11696)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5647d5e in poll () from /lib/libc.so.6
#2  0xb546ccab in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb545fbc1 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb545febe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb7417454 in QEventDispatcherGlib::processEvents (this=0x81d29a8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0xb73dcdfb in QEventLoop::processEvents (this=0xb124d288, flags=...) at kernel/qeventloop.cpp:149
#7  0xb73dcf40 in QEventLoop::exec (this=0xb124d288, flags=...) at kernel/qeventloop.cpp:201
#8  0xb72c6534 in QThread::exec (this=0x81d2448) at thread/qthread.cpp:487
#9  0xb63f1c9e in KIMAP::SessionThread::run() () from /home/mseiwert/kde/lib/libkimap.so.4
#10 0xb72c8e6c in QThreadPrivate::start (arg=0x81d2448) at thread/qthread_unix.cpp:248
#11 0xb71f66e5 in start_thread () from /lib/libpthread.so.0
#12 0xb71f6600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb48bc920 (LWP 11687)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb55ab0cf in raise () from /lib/libc.so.6
#9  0xb55ac9e7 in abort () from /lib/libc.so.6
#10 0xb72bdc3f in qt_message_output (msgType=QtFatalMsg, buf=
    0x81ef518 "ASSERT: \"!set.toImapSequenceSet().trimmed().isEmpty()\" in file /home/mseiwert/src/svn/kde4/kdepimlibs/kimap/fetchjob.cpp, line 128") at global/qglobal.cpp:2250
#11 0xb72bde01 in qt_message (msgType=QtFatalMsg, msg=0xb745da24 "ASSERT: \"%s\" in file %s, line %d", ap=0xbf8746b4 "\210\222@\266L\222@\266\200") at global/qglobal.cpp:2296
#12 0xb72be21f in qFatal (msg=0xb745da24 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2479
#13 0xb72bd7d8 in qt_assert (assertion=0xb6409288 "!set.toImapSequenceSet().trimmed().isEmpty()", file=0xb640924c "/home/mseiwert/src/svn/kde4/kdepimlibs/kimap/fetchjob.cpp", line=128)
    at global/qglobal.cpp:2013
#14 0xb63da5fd in KIMAP::FetchJob::setSequenceSet(KIMAP::ImapSet const&) () from /home/mseiwert/kde/lib/libkimap.so.4
#15 0x0805a8c0 in ImapResource::retrieveItem(Akonadi::Item const&, QSet<QByteArray> const&) ()
#16 0xb76f534a in Akonadi::ResourceBasePrivate::slotPrepareItemRetrievalResult(KJob*) () from /home/mseiwert/kde/lib/libakonadi-kde.so.4
#17 0xb76f6723 in Akonadi::ResourceBase::qt_metacall(QMetaObject::Call, int, void**) () from /home/mseiwert/kde/lib/libakonadi-kde.so.4
#18 0x0806964a in ImapResource::qt_metacall(QMetaObject::Call, int, void**) ()
#19 0xb73e6fc8 in QMetaObject::metacall (object=0x8212030, cl=InvokeMetaMethod, idx=37, argv=0xbf874998) at kernel/qmetaobject.cpp:237
#20 0xb73fb0b4 in QMetaObject::activate (sender=0x8249cc0, m=0xb5a8fae8, local_signal_index=3, argv=0xbf874998) at kernel/qobject.cpp:3293
#21 0xb5941044 in KJob::result(KJob*) () from /home/mseiwert/kde/lib/libkdecore.so.5
#22 0xb5940653 in KJob::emitResult() () from /home/mseiwert/kde/lib/libkdecore.so.5
#23 0xb76d7237 in Akonadi::JobPrivate::delayedEmitResult() () from /home/mseiwert/kde/lib/libakonadi-kde.so.4
#24 0xb76d87fd in Akonadi::Job::qt_metacall(QMetaObject::Call, int, void**) () from /home/mseiwert/kde/lib/libakonadi-kde.so.4
#25 0xb76c5b69 in Akonadi::ItemFetchJob::qt_metacall(QMetaObject::Call, int, void**) () from /home/mseiwert/kde/lib/libakonadi-kde.so.4
#26 0xb73e6fc8 in QMetaObject::metacall (object=0x8249cc0, cl=InvokeMetaMethod, idx=34, argv=0xbf874ab0) at kernel/qmetaobject.cpp:237
#27 0xb73fb0b4 in QMetaObject::activate (sender=0x8258180, m=0xb7542164, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#28 0xb7403edd in QSingleShotTimer::timeout (this=0x8258180) at .moc/debug-shared/qtimer.moc:82
#29 0xb7403d92 in QSingleShotTimer::timerEvent (this=0x8258180) at kernel/qtimer.cpp:308
#30 0xb73f7112 in QObject::event (this=0x8258180, e=0xbf875114) at kernel/qobject.cpp:1212
#31 0xb66fbcac in QApplicationPrivate::notify_helper (this=0x80d6e58, receiver=0x8258180, e=0xbf875114) at kernel/qapplication.cpp:4304
#32 0xb66f93ee in QApplication::notify (this=0xbf875478, receiver=0x8258180, e=0xbf875114) at kernel/qapplication.cpp:3708
#33 0xb5d4d502 in KApplication::notify(QObject*, QEvent*) () from /home/mseiwert/kde/lib/libkdeui.so.5
#34 0xb73dfa21 in QCoreApplication::notifyInternal (this=0xbf875478, receiver=0x8258180, event=0xbf875114) at kernel/qcoreapplication.cpp:704
#35 0xb73e34ed in QCoreApplication::sendEvent (receiver=0x8258180, event=0xbf875114) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 0xb741a3a2 in QTimerInfoList::activateTimers (this=0x80da034) at kernel/qeventdispatcher_unix.cpp:603
#37 0xb7416288 in timerSourceDispatch (source=0x80da000) at kernel/qeventdispatcher_glib.cpp:184
#38 0xb7416341 in idleTimerSourceDispatch (source=0x80da070) at kernel/qeventdispatcher_glib.cpp:231
#39 0xb545c4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb545fd98 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0xb545febe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0xb7417434 in QEventDispatcherGlib::processEvents (this=0x80d6e38, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#43 0xb67d1896 in QGuiEventDispatcherGlib::processEvents (this=0x80d6e38, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb73dcdfb in QEventLoop::processEvents (this=0xbf8753dc, flags=...) at kernel/qeventloop.cpp:149
#45 0xb73dcf40 in QEventLoop::exec (this=0xbf8753dc, flags=...) at kernel/qeventloop.cpp:201
#46 0xb73e00fd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0xb66f8ffc in QApplication::exec () at kernel/qapplication.cpp:3583
#48 0xb76f304c in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /home/mseiwert/kde/lib/libakonadi-kde.so.4
#49 0x0806f20d in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#50 0x08069587 in main ()

Reported using DrKonqi
Comment 1 Kevin Ottens 2010-06-29 15:20:15 UTC
Didn't manage to reproduce it. What would help is to attach to the resource with a debugger and give me the remoteId() of the item passed as parameter to ImapResource::retriveItem(). It's likely to be wrong (<=0) in which case that would probably be an issue in the migration tool I guess.
Comment 2 Kevin Ottens 2013-11-16 07:28:19 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 3 Andrew Crouthamel 2018-09-25 03:35:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 04:04:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!