Bug 315584

Summary: Crash when trying to retrieve email on spotty network
Product: [Frameworks and Libraries] Akonadi Reporter: Christian <christian.winterstein>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian 2013-02-21 17:39:38 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.0.0-31-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
During the IMAP synchronization the internet connection got lost. Then I clicked on File -> Offline Mode. Then happened the crash.

-- Backtrace:
Application: Web.de of type IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fdc54b67780 (LWP 2102))]

Thread 2 (Thread 0x7fdc40937700 (LWP 15579)):
#0  0x00007fdc5058be63 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdc4eed9f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdc4eeda429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdc53fd8f3e in QEventDispatcherGlib::processEvents (this=0x24fb430, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fdc53faccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdc53facef7 in QEventLoop::exec (this=0x7fdc40936de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fdc53ec427f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fdc52beac13 in ?? () from /usr/lib/libkimap.so.4
#8  0x00007fdc53ec6d05 in QThreadPrivate::start (arg=0x2526510) at thread/qthread_unix.cpp:331
#9  0x00007fdc4fe43efc in start_thread (arg=0x7fdc40937700) at pthread_create.c:304
#10 0x00007fdc50597f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdc54b67780 (LWP 2102)):
[KCrash Handler]
#6  0x0000000000000098 in ?? ()
#7  0x00007fdc53fc0714 in QObject::disconnect (sender=0x236b400, signal=0x2352699 "connectionLost()", receiver=0x2306480, method=0x23aa4b9 "onEarlyConnectionLost()") at kernel/qobject.cpp:2728
#8  0x0000000000453931 in SessionPool::killSession (this=0x2306480, session=0x236b400, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:177
#9  0x0000000000453ef5 in SessionPool::disconnect (this=0x2306480, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:119
#10 0x00000000004168c3 in ImapResource::doSetOnline (this=0x231bc10, online=false) at ../../../resources/imap/imapresource.cpp:421
#11 0x00007fdc545d8ee8 in Akonadi::AgentBase::setOnline(bool) () from /usr/lib/libakonadi-kde.so.4
#12 0x00007fdc5470e9c0 in ?? () from /usr/lib/libakonadi-kde.so.4
#13 0x00007fdc543050e9 in QDBusConnectionPrivate::deliverCall (this=0x2247860, object=0x22e27b0, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#14 0x00007fdc5430625c in QDBusConnectionPrivate::activateCall (this=0x2247860, object=0x22e27b0, flags=273, msg=...) at qdbusintegrator.cpp:852
#15 0x00007fdc54306b22 in QDBusConnectionPrivate::activateObject (this=0x2247860, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1410
#16 0x00007fdc54306bf8 in QDBusActivateObjectEvent::placeMetaCall (this=0x2594a50) at qdbusintegrator.cpp:1524
#17 0x00007fdc53fc4a5e in QObject::event (this=0x231bc10, e=<optimized out>) at kernel/qobject.cpp:1217
#18 0x00007fdc5335d474 in notify_helper (e=0x2594a50, receiver=0x231bc10, this=0x21be640) at kernel/qapplication.cpp:4486
#19 QApplicationPrivate::notify_helper (this=0x21be640, receiver=0x231bc10, e=0x2594a50) at kernel/qapplication.cpp:4458
#20 0x00007fdc533622e1 in QApplication::notify (this=0x7fffe30d2f10, receiver=0x231bc10, e=0x2594a50) at kernel/qapplication.cpp:4365
#21 0x00007fdc51474466 in KApplication::notify (this=0x7fffe30d2f10, receiver=0x231bc10, event=0x2594a50) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fdc53fadafc in QCoreApplication::notifyInternal (this=0x7fffe30d2f10, receiver=0x231bc10, event=0x2594a50) at kernel/qcoreapplication.cpp:787
#23 0x00007fdc53fb151f in sendEvent (event=0x2594a50, receiver=0x231bc10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2195800) at kernel/qcoreapplication.cpp:1428
#25 0x00007fdc53fd8a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007fdc4eed9a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fdc4eeda258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fdc4eeda429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fdc53fd8ed6 in QEventDispatcherGlib::processEvents (this=0x2197210, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007fdc5340510e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fdc53faccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fdc53facef7 in QEventLoop::exec (this=0x7fffe30d2e90, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007fdc53fb1789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#35 0x00007fdc546a1fa6 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#36 0x000000000041a726 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#37 0x00007fdc504d430d in __libc_start_main (main=0x415050 <main(int, char**)>, argc=3, ubp_av=0x7fffe30d3028, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe30d3018) at libc-start.c:226
#38 0x0000000000415205 in _start ()

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

Possible duplicates by query: bug 312706, bug 312057, bug 308737, bug 308641, bug 308602.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-02-26 03:04:57 UTC
See https://bugs.kde.org/show_bug.cgi?id=312057#c2

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