Bug 256946 - ASSERT in akonadi imap resource
Summary: ASSERT in akonadi imap resource
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 02:17 UTC by Alex Merry
Modified: 2011-09-17 16:42 UTC (History)
2 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 Alex Merry 2010-11-15 02:17:45 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.5.76 (4.6 >= 20101111) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

KMail wasn't running, nor were any other Akonadi email clients, as far as I'm aware.  Two of the imap resources crashed at the same time, with the same assert.

Console output:

akonadi_imap_resource_3(7419) SessionPool::onConnectionLost: connection lost, clearing pools
kded(7346)/networkstatus NetworkStatusModule::status:  status:  4
akonadi_imap_resource_3(7419) ImapResource::doSetOnline: online= false
akonadi_imap_resource_3(7419) ImapResource::doSetOnline: online= true
akonadi_imap_resource_3(7419) SessionPool::onPasswordRequestDone: Logging in to session 0xd8f850
akonadi_imap_resource_2(7418) SessionPool::onConnectionLost: connection lost, clearing pools
kded(7346)/networkstatus NetworkStatusModule::status:  status:  4
akonadi_imap_resource_2(7418) ImapResource::doSetOnline: online= false
akonadi_imap_resource_2(7418) ImapResource::doSetOnline: online= true
akonadi_imap_resource_2(7418) SessionPool::onPasswordRequestDone: Logging in to session 0x1712840
akonadi_imap_resource_2(7418)/kdepimlibs (kimap) KIMAP::SessionThread::sslConnected: TLS negotiation done.
akonadi_imap_resource_2(7418)/kdepimlibs (kimap) KIMAP::LoginJob::handleResponse: Capabilities after STARTTLS:  ("IMAP4rev1",
 "UIDPLUS", "CHILDREN", "NAMESPACE", "THREAD=ORDEREDSUBJECT", "THREAD=REFERENCES", "SORT", "QUOTA", "IDLE", "AUTH=PLAIN", "AC
L", "ACL2=UNION")
akonadi_imap_resource_2(7418) SessionPool::onLoginDone: Initial connect: checking for caps
akonadi_imap_resource_3(7419)/kdepimlibs (kimap) KIMAP::SessionThread::sslConnected: TLS negotiation done.
akonadi_imap_resource_3(7419)/kdepimlibs (kimap) KIMAP::LoginJob::handleResponse: Capabilities after STARTTLS:  ("IMAP4rev1",
 "UIDPLUS", "CHILDREN", "NAMESPACE", "THREAD=ORDEREDSUBJECT", "THREAD=REFERENCES", "SORT", "QUOTA", "IDLE", "AUTH=PLAIN", "AC
L", "ACL2=UNION")
akonadi_imap_resource_3(7419) SessionPool::onLoginDone: Initial connect: checking for caps
ASSERT: "!socketTimer.isActive()" in file /home/kde-devel/src/KDE/kdepimlibs/kimap/session.cpp, line 403
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadi_imap_resource path = /home/kde-devel/kde/bin pid = 7418
KCrash: Arguments: /home/kde-devel/kde/bin/akonadi_imap_resource --nocrashhandler --identifier akonadi_imap_resource_2 
KCrash: Attempting to start /home/kde-devel/kde/lib/kde4/libexec/drkonqi from kdeinit
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
kdeinit4: Got EXEC_NEW '/home/kde-devel/kde/lib/kde4/libexec/drkonqi' from wrapper.
kdeinit4: preparing to launch /home/kde-devel/kde/lib/kde4/libexec/drkonqi
Lost connection to resource "org.freedesktop.Akonadi.Resource.akonadi_imap_resource_2" , discarding cached interface 
drkonqi(12289) KCrashBackend::constructCrashedApplication: Using /proc to determine executable path
drkonqi(12289) KCrashBackend::constructCrashedApplication: Executable is: "/home/kde-devel/kde/bin/akonadi_imap_resource"
drkonqi(12289) KCrashBackend::constructCrashedApplication: Executable exists: true
ASSERT: "!socketTimer.isActive()" in file /home/kde-devel/src/KDE/kdepimlibs/kimap/session.cpp, line 403
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadi_imap_resource path = /home/kde-devel/kde/bin pid = 7419

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

Thread 2 (Thread 0x7ff51a1de710 (LWP 12279)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007ff51a1ddae0 in ?? ()
#2  0x00007fff1c0c86e2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7ff52d45d760 (LWP 7419)):
[KCrash Handler]
#6  0x00007ff528313595 in raise () from /lib/libc.so.6
#7  0x00007ff528314a16 in abort () from /lib/libc.so.6
#8  0x00007ff52c7624ff in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007ff52c76268d in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007ff52c762825 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007ff52b2f1d5b in KIMAP::SessionPrivate::startSocketTimer (this=0xbe6a60) at /home/kde-devel/src/KDE/kdepimlibs/kimap/session.cpp:403
#12 0x00007ff52b2f0933 in KIMAP::SessionPrivate::doStartNext (this=0xbe6a60) at /home/kde-devel/src/KDE/kdepimlibs/kimap/session.cpp:159
#13 0x00007ff52b2f2020 in KIMAP::Session::qt_metacall (this=0xd8f850, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xfd1bb0) at /home/kde-devel/build/KDE/kdepimlibs/kimap/session.moc:103
#14 0x00007ff52c86719a in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007ff52b9ff2b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007ff52ba03dca in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007ff529a3c8c1 in KApplication::notify (this=0x7fff1c0332a0, receiver=0xd8f850, event=0xfe8b30) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#18 0x00007ff52c852ebc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007ff52c8566e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#20 0x00007ff52c87ddb3 in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007ff5273aabf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007ff5273ab3d0 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007ff5273ab66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007ff52c87df4f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007ff52baa423e in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007ff52c852252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007ff52c85249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007ff52c85699b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0x00007ff52cf71150 in Akonadi::ResourceBase::init (r=0xccf930) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/resourcebase.cpp:283
#30 0x0000000000427e02 in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7fff1c0333f8) at /home/kde-devel/kde/include/akonadi/resourcebase.h:188
#31 0x000000000042694b in main (argc=3, argv=0x7fff1c0333f8) at /home/kde-devel/src/KDE/kdepim/runtime/resources/imap/imapresource.cpp:579

Reported using DrKonqi
Comment 1 Kevin Ottens 2011-09-17 16:42:00 UTC
Is it still happening for you with 4.7.x? I guess it's linked to some network connectivity loss in which case it'd be another symptom of 257722. But that one should be gone I think.