[Bug 312057] New: Crash when trying to retrieve email on spotty network

Rob Deker deker at slackdot.org
Fri Dec 21 22:50:34 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=312057

            Bug ID: 312057
           Summary: Crash when trying to retrieve email on spotty network
    Classification: Unclassified
           Product: Akonadi
           Version: 4.8
          Hardware: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: IMAP resource
          Assignee: ervin at kde.org
          Reporter: deker at slackdot.org
                CC: kdepim-bugs at kde.org, vkrause at kde.org

Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-34-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

Trying to force KMail to resync an IMAP account while connecting through a MiFi
in a low signal area.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dekerknives of type IMAP E-Mail Server (akonadi_imap_resource),
signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4c89eef780 (LWP 13658))]

Thread 4 (Thread 0x7f4c76813700 (LWP 13709)):
#0  0x00007f4c8588e303 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c843d9036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c843d9164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c8930c426 in QEventDispatcherGlib::processEvents
(this=0x7f4c700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f4c892dbc82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4c892dbed7 in QEventLoop::exec (this=0x7f4c76812de0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007f4c891dafa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007f4c87f11c39 in ?? () from /usr/lib/libkimap.so.4
#8  0x00007f4c891ddfcb in QThreadPrivate::start (arg=0x2446a80) at
thread/qthread_unix.cpp:298
#9  0x00007f4c84ef4e9a in start_thread (arg=0x7f4c76813700) at
pthread_create.c:308
#10 0x00007f4c85899cbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4c6ffff700 (LWP 28257)):
#0  0x00007f4c844145d1 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4c843d883b in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c843d8f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c843d9164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c8930c426 in QEventDispatcherGlib::processEvents
(this=0x7f4c640028c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4c892dbc82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c892dbed7 in QEventLoop::exec (this=0x7f4c6fffede0, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007f4c891dafa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007f4c87f11c39 in ?? () from /usr/lib/libkimap.so.4
#9  0x00007f4c891ddfcb in QThreadPrivate::start (arg=0x247d050) at
thread/qthread_unix.cpp:298
#10 0x00007f4c84ef4e9a in start_thread (arg=0x7f4c6ffff700) at
pthread_create.c:308
#11 0x00007f4c85899cbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4c76012700 (LWP 28847)):
#0  idleTimerSourcePrepare (source=<optimized out>, timeout=0x7f4c76011c7c) at
kernel/qeventdispatcher_glib.cpp:209
#1  0x00007f4c843d8846 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c843d8f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c843d9164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c8930c426 in QEventDispatcherGlib::processEvents
(this=0x7f4c6001bfc0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4c892dbc82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c892dbed7 in QEventLoop::exec (this=0x7f4c76011de0, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007f4c891dafa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007f4c87f11c39 in ?? () from /usr/lib/libkimap.so.4
#9  0x00007f4c891ddfcb in QThreadPrivate::start (arg=0x29c5ca0) at
thread/qthread_unix.cpp:298
#10 0x00007f4c84ef4e9a in start_thread (arg=0x7f4c76012700) at
pthread_create.c:308
#11 0x00007f4c85899cbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4c89eef780 (LWP 13658)):
[KCrash Handler]
#6  0x00000000027ddea0 in ?? ()
#7  0x00007f4c892f0b04 in QObject::disconnect (sender=0x270cc30,
signal=0x2846739 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)",
receiver=0x247d630, method=0x28ecdc9
"onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at
kernel/qobject.cpp:2891
#8  0x0000000000454365 in SessionPool::killSession (this=0x247d630,
session=0x270cc30, termination=SessionPool::LogoutSession) at
../../../resources/imap/sessionpool.cpp:176
#9  0x000000000045471d in SessionPool::disconnect (this=0x247d630,
termination=SessionPool::LogoutSession) at
../../../resources/imap/sessionpool.cpp:117
#10 0x00000000004181eb in ImapResource::doSetOnline (this=0x258cb20,
online=false) at ../../../resources/imap/imapresource.cpp:427
#11 0x00007f4c89936778 in Akonadi::AgentBase::setOnline(bool) () from
/usr/lib/libakonadi-kde.so.4
#12 0x0000000000416ce7 in ImapResource::onConnectDone (this=0x258cb20,
errorCode=<optimized out>, errorString=...) at
../../../resources/imap/imapresource.cpp:243
#13 0x00007f4c892f1281 in QMetaObject::activate (sender=0x247d630, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff76ab2630) at
kernel/qobject.cpp:3547
#14 0x0000000000454184 in SessionPool::connectDone (this=<optimized out>,
_t1=8, _t2=...) at ./sessionpool.moc:161
#15 0x0000000000454c51 in SessionPool::cancelSessionCreation (this=0x247d630,
session=0x28a5880, errorCode=8, errorMessage=...) at
../../../resources/imap/sessionpool.cpp:223
#16 0x0000000000456331 in SessionPool::onLoginDone (this=0x247d630,
job=0x2470450) at ../../../resources/imap/sessionpool.cpp:367
#17 0x0000000000456cec in SessionPool::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
./sessionpool.moc:95
#18 0x00007f4c892f1281 in QMetaObject::activate (sender=0x2470450, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff76ab2a00) at
kernel/qobject.cpp:3547
#19 0x00007f4c861ae152 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#20 0x00007f4c861ae190 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#21 0x00007f4c87f0406c in KIMAP::LoginJob::connectionLost() () from
/usr/lib/libkimap.so.4
#22 0x00007f4c87f0fa73 in KIMAP::SessionPrivate::clearJobQueue() () from
/usr/lib/libkimap.so.4
#23 0x00007f4c892f6446 in QObject::event (this=0x28a5880, e=<optimized out>) at
kernel/qobject.cpp:1195
#24 0x00007f4c8865f894 in notify_helper (e=0x7f4c600035b0, receiver=0x28a5880,
this=0x23e8300) at kernel/qapplication.cpp:4559
#25 QApplicationPrivate::notify_helper (this=0x23e8300, receiver=0x28a5880,
e=0x7f4c600035b0) at kernel/qapplication.cpp:4531
#26 0x00007f4c88664713 in QApplication::notify (this=0x7fff76ab3400,
receiver=0x28a5880, e=0x7f4c600035b0) at kernel/qapplication.cpp:4420
#27 0x00007f4c867893f6 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#28 0x00007f4c892dce9c in QCoreApplication::notifyInternal
(this=0x7fff76ab3400, receiver=0x28a5880, event=0x7f4c600035b0) at
kernel/qcoreapplication.cpp:876
#29 0x00007f4c892e0c6a in sendEvent (event=0x7f4c600035b0, receiver=0x28a5880)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x23bd4d0) at kernel/qcoreapplication.cpp:1500
#31 0x00007f4c8930bf93 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:279
#33 0x00007f4c843d8d53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f4c843d90a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f4c843d9164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4c8930c3bf in QEventDispatcherGlib::processEvents (this=0x23becb0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f4c88707d5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f4c892dbc82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f4c892dbed7 in QEventLoop::exec (this=0x7fff76ab3380, flags=...) at
kernel/qeventloop.cpp:204
#40 0x00007f4c892e0f67 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#41 0x00007f4c89a0b326 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*)
() from /usr/lib/libakonadi-kde.so.4
#42 0x000000000041a996 in Akonadi::ResourceBase::init<ImapResource>
(argc=<optimized out>, argv=<optimized out>) at
/usr/include/akonadi/resourcebase.h:188
#43 0x00007f4c857c776d in __libc_start_main (main=0x4151c0 <main(int, char**)>,
argc=3, ubp_av=0x7fff76ab3518, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff76ab3508) at libc-start.c:226
#44 0x0000000000415375 in _start ()

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

Possible duplicates by query: bug 308737, bug 308641, bug 308602, bug 307673,
bug 306819.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list