Bug 296519 - Kontact crashed upon exit after spooling hundrets of IMAP errors in the notification area
Summary: Kontact crashed upon exit after spooling hundrets of IMAP errors in the notif...
Status: RESOLVED DUPLICATE of bug 294401
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.7
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 19:06 UTC by Kai Krakow
Modified: 2012-03-31 13:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.68 KB, text/plain)
2012-03-30 14:45 UTC, Ekkehard Blanz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Krakow 2012-03-21 19:06:46 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.2.5-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

I closed Kontact by clicking the window close button.

- Unusual behavior I noticed:

Kontact spooled hundrets of IMAP errors every few minutes to the notification area which itself is pretty annoying behaviour. Having just one more persistent error message would be enough.

The crash can be reproduced some of the time.

-- Backtrace:
Application: IMAP kai@kaishome.de vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff0b3f89780 (LWP 13145))]

Thread 3 (Thread 0x7ff0a0efa700 (LWP 14163)):
#0  0x00007ff0af97c093 in poll () from /lib64/libc.so.6
#1  0x00007ff0ae6b67b3 in g_main_context_poll (n_fds=1, fds=0x2ba62e0, timeout=-1, context=0x299d120, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x299d120, block=1, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007ff0ae6b6c81 in g_main_context_iteration (context=0x299d120, may_block=1) at gmain.c:3152
#4  0x00007ff0b340da76 in QEventDispatcherGlib::processEvents (this=0x2a18ed0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007ff0b33e1d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff0b33e1f9c in QEventLoop::exec (this=0x7ff0a0ef9de0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007ff0b32f7794 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007ff0b2055463 in KIMAP::SessionThread::run (this=0x273f7c0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/kimap/sessionthread.cpp:169
#9  0x00007ff0b32f9ff5 in QThreadPrivate::start (arg=0x273f7c0) at thread/qthread_unix.cpp:331
#10 0x00007ff0af22ad2c in start_thread () from /lib64/libpthread.so.0
#11 0x00007ff0af98677d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7ff09dab9700 (LWP 17570)):
#0  0x00007ff0af97c093 in poll () from /lib64/libc.so.6
#1  0x00007ff0ae6b67b3 in g_main_context_poll (n_fds=1, fds=0x2951c10, timeout=-1, context=0x2733c90, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x2733c90, block=1, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007ff0ae6b6c81 in g_main_context_iteration (context=0x2733c90, may_block=1) at gmain.c:3152
#4  0x00007ff0b340da76 in QEventDispatcherGlib::processEvents (this=0x277d840, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007ff0b33e1d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff0b33e1f9c in QEventLoop::exec (this=0x7ff09dab8de0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007ff0b32f7794 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007ff0b2055463 in KIMAP::SessionThread::run (this=0x2991560) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/kimap/sessionthread.cpp:169
#9  0x00007ff0b32f9ff5 in QThreadPrivate::start (arg=0x2991560) at thread/qthread_unix.cpp:331
#10 0x00007ff0af22ad2c in start_thread () from /lib64/libpthread.so.0
#11 0x00007ff0af98677d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7ff0b3f89780 (LWP 13145)):
[KCrash Handler]
#6  0x00007ff0b33f81d3 in QObject::disconnect (sender=0x29975c0, signal=0x295d399 "connectionLost()", receiver=0x2785d40, method=0x293b569 "onEarlyConnectionLost()") at kernel/qobject.cpp:2728
#7  0x00000000004540b1 in SessionPool::killSession (this=0x2785d40, session=0x29975c0, termination=SessionPool::LogoutSession) at /var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4/resources/imap/sessionpool.cpp:177
#8  0x0000000000454695 in SessionPool::disconnect (this=0x2785d40, termination=SessionPool::LogoutSession) at /var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4/resources/imap/sessionpool.cpp:119
#9  0x00000000004188cb in ImapResource::doSetOnline (this=0x26e5150, online=false) at /var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4/resources/imap/imapresource.cpp:421
#10 0x00007ff0b3a17355 in Akonadi::AgentBase::setOnline (this=0x26e5150, state=false) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/agentbase.cpp:630
#11 0x00007ff0b3b48d70 in Akonadi__StatusAdaptor::qt_metacall (this=0x2763e80, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff5eab3c40) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4_build/akonadi/statusadaptor.moc:129
#12 0x00007ff0b373999a in QDBusConnectionPrivate::deliverCall (this=0x25db170, object=0x2763e80, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#13 0x00007ff0b373ab45 in QDBusConnectionPrivate::activateCall (this=0x25db170, object=0x2763e80, flags=273, msg=...) at qdbusintegrator.cpp:852
#14 0x00007ff0b373b2de in QDBusConnectionPrivate::activateObject (this=0x25db170, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1410
#15 0x00007ff0b373b518 in QDBusActivateObjectEvent::placeMetaCall (this=0x2995120) at qdbusintegrator.cpp:1524
#16 0x00007ff0b33f6d2a in QObject::event (this=0x26e5150, e=<optimized out>) at kernel/qobject.cpp:1217
#17 0x00007ff0b278c374 in QApplicationPrivate::notify_helper (this=0x257c330, receiver=0x26e5150, e=0x2995120) at kernel/qapplication.cpp:4481
#18 0x00007ff0b2790f28 in QApplication::notify (this=<optimized out>, receiver=0x26e5150, e=0x2995120) at kernel/qapplication.cpp:4360
#19 0x00007ff0b08a4e86 in KApplication::notify (this=0x7fff5eab4b20, receiver=0x26e5150, event=0x2995120) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#20 0x00007ff0b33e29bc in QCoreApplication::notifyInternal (this=0x7fff5eab4b20, receiver=0x26e5150, event=0x2995120) at kernel/qcoreapplication.cpp:787
#21 0x00007ff0b33e617d in sendEvent (event=0x2995120, receiver=0x26e5150) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2555df0) at kernel/qcoreapplication.cpp:1428
#23 0x00007ff0b340d883 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007ff0ae6b629f in g_main_dispatch (context=0x25785e0) at gmain.c:2441
#26 g_main_context_dispatch (context=0x25785e0) at gmain.c:3011
#27 0x00007ff0ae6b6aa8 in g_main_context_iterate (context=0x25785e0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#28 0x00007ff0ae6b6c81 in g_main_context_iteration (context=0x25785e0, may_block=1) at gmain.c:3152
#29 0x00007ff0b340da1f in QEventDispatcherGlib::processEvents (this=0x25555d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007ff0b283286e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007ff0b33e1d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007ff0b33e1f9c in QEventLoop::exec (this=0x7fff5eab4a90, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007ff0b33e642b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#34 0x00007ff0b3add626 in Akonadi::ResourceBase::init (r=0x26e5150) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/resourcebase.cpp:393
#35 0x0000000000419c98 in init<ImapResource> (argv=<optimized out>, argc=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#36 main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4/resources/imap/imapresource.cpp:599

This bug may be a duplicate of or related to bug 294401.

Possible duplicates by query: bug 295001, bug 294401, bug 293165, bug 290773, bug 289767.

Reported using DrKonqi
Comment 1 Ekkehard Blanz 2012-03-30 14:45:41 UTC
Created attachment 70019 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.7) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:
I was  restarting the whole computer because the IMAP error messages kept popping up even after I had shut down Kmail.

- Unusual behavior I noticed:
literally hundreds of IMAP error messages saying that the connection to the server was lost.

-- Backtrace (Reduced):
#6  0x00007f551efef712 in QObject::disconnect (sender=0x1e2d7c0, signal=0x19f5f69 "connectionLost()", receiver=0x19f76b0, method=0x19f5dd9 "onEarlyConnectionLost()") at kernel/qobject.cpp:2728
#7  0x0000000000453931 in SessionPool::killSession (this=0x19f76b0, session=0x1e2d7c0, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:177
#8  0x0000000000453ef5 in SessionPool::disconnect (this=0x19f76b0, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:119
#9  0x0000000000453ff7 in SessionPool::~SessionPool (this=0x19f76b0, __in_chrg=<optimized out>) at ../../../resources/imap/sessionpool.cpp:56
#10 0x00000000004540e9 in SessionPool::~SessionPool (this=0x19f76b0, __in_chrg=<optimized out>) at ../../../resources/imap/sessionpool.cpp:57
Comment 2 Christophe Marin 2012-03-31 13:43:39 UTC

*** This bug has been marked as a duplicate of bug 294401 ***