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

mnd999 at gmail.com mnd999 at gmail.com
Mon Apr 1 22:52:10 BST 2013


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

mnd999 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mnd999 at gmail.com

--- Comment #7 from mnd999 at gmail.com ---
Application: akonadi_imap_resource (4.10)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.0-15-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

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

IMAP had for some reason gone into offline mode. The only way to prise it out
was with akonadiconsole but that just seemed to cause this crash (in 4.10.1
where it's supposed to be fixed).

- Unusual behavior I noticed:

IMAP went offline and could not be persuaded to come online again from KMail.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Google Mail 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 0x7f55224be7c0 (LWP 13380))]

Thread 5 (Thread 0x7f550d855700 (LWP 16976)):
#0  0x00007f551deff3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f551cc4b1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f551cc4b304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55218f5036 in QEventDispatcherGlib::processEvents
(this=0x7f550400ca40, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f55218c538f in QEventLoop::processEvents
(this=this at entry=0x7f550d854da0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f55218c5618 in QEventLoop::exec (this=0x7f550d854da0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007f55217c7410 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:542
#7  0x00007f552052ab4a in KIMAP::SessionThread::run (this=0x18a4a80) at
../../kimap/sessionthread.cpp:184
#8  0x00007f55217c9bec in QThreadPrivate::start (arg=0x18a4a80) at
thread/qthread_unix.cpp:338
#9  0x00007f551d564f8e in start_thread (arg=0x7f550d855700) at
pthread_create.c:311
#10 0x00007f551df0be1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f550e67a700 (LWP 17737)):
#0  0x00007f551cc8a35c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f551cc8a5b9 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f551cc4ade6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f551cc4b248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f551cc4b304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f55218f5036 in QEventDispatcherGlib::processEvents
(this=0x7f5500009120, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f55218c538f in QEventLoop::processEvents
(this=this at entry=0x7f550e679da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f55218c5618 in QEventLoop::exec (this=0x7f550e679da0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007f55217c7410 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:542
#9  0x00007f552052ab4a in KIMAP::SessionThread::run (this=0x1962580) at
../../kimap/sessionthread.cpp:184
#10 0x00007f55217c9bec in QThreadPrivate::start (arg=0x1962580) at
thread/qthread_unix.cpp:338
#11 0x00007f551d564f8e in start_thread (arg=0x7f550e67a700) at
pthread_create.c:311
#12 0x00007f551df0be1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f550d054700 (LWP 2844)):
#0  0x00007f551deff3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f551cc4b1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f551cc4b304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55218f5036 in QEventDispatcherGlib::processEvents
(this=0x7f54f800b510, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f55218c538f in QEventLoop::processEvents
(this=this at entry=0x7f550d053d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f55218c5618 in QEventLoop::exec (this=0x7f550d053d90, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007f55217c7410 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:542
#7  0x00007f55218a6edf in QInotifyFileSystemWatcherEngine::run (this=0x199d4e0)
at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f55217c9bec in QThreadPrivate::start (arg=0x199d4e0) at
thread/qthread_unix.cpp:338
#9  0x00007f551d564f8e in start_thread (arg=0x7f550d054700) at
pthread_create.c:311
#10 0x00007f551df0be1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f550ee7b700 (LWP 2845)):
#0  0x00007fff1777eac9 in ?? ()
#1  0x00007f550ee7ab00 in ?? ()
#2  0x00000001176bee70 in ?? ()
#3  0x00007f54fc006280 in ?? ()
#4  0x00007f550ee7ab90 in ?? ()
#5  0x00007f550ee7ac48 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f55224be7c0 (LWP 13380)):
[KCrash Handler]
#6  0x00000000017db480 in ?? ()
#7  0x00007f55218dce51 in QObject::disconnect (sender=0x17bc7f0,
signal=0x1d12a19 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)",
receiver=0x1910250, method=0x19b6cc9
"onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at
kernel/qobject.cpp:2887
#8  0x0000000000454c15 in SessionPool::killSession (this=this at entry=0x1910250,
session=0x17bc7f0, termination=termination at entry=SessionPool::LogoutSession) at
../../../resources/imap/sessionpool.cpp:177
#9  0x0000000000454ff5 in SessionPool::disconnect (this=0x1910250,
termination=SessionPool::LogoutSession) at
../../../resources/imap/sessionpool.cpp:117
#10 0x000000000041aec3 in ImapResource::doSetOnline (this=0x18f0300,
online=<optimized out>) at ../../../resources/imap/imapresource.cpp:490
#11 0x00007f5521f23b59 in Akonadi::AgentBase::setOnlineInternal
(this=this at entry=0x18f0300, state=state at entry=false) at
../../akonadi/agentbase.cpp:659
#12 0x00007f5521f23c78 in Akonadi::AgentBase::setOnline (this=0x18f0300,
state=false) at ../../akonadi/agentbase.cpp:646
#13 0x000000000041a7d7 in ImapResource::onConnectDone (this=0x18f0300,
errorCode=392945008, errorString=...) at
../../../resources/imap/imapresource.cpp:280
#14 0x000000000041ac0f in ImapResource::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
./imapresource.moc:118
#15 0x00007f55218db0ef in QMetaObject::activate (sender=0x1910250, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff176be160) at
kernel/qobject.cpp:3539
#16 0x0000000000454a24 in SessionPool::connectDone (this=this at entry=0x1910250,
_t1=_t1 at entry=8, _t2=...) at ./sessionpool.moc:161
#17 0x000000000045553f in SessionPool::cancelSessionCreation
(this=this at entry=0x1910250, session=0x190a800, errorCode=errorCode at entry=8,
errorMessage=...) at ../../../resources/imap/sessionpool.cpp:224
#18 0x00000000004561b4 in SessionPool::onLoginDone (this=0x1910250,
job=0x1909aa0) at ../../../resources/imap/sessionpool.cpp:367
#19 0x000000000045750c in SessionPool::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
./sessionpool.moc:95
#20 0x00007f55218db0ef in QMetaObject::activate (sender=0x1909aa0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff176be470) at
kernel/qobject.cpp:3539
#21 0x00007f551e817112 in KJob::result (this=this at entry=0x1909aa0,
_t1=_t1 at entry=0x1909aa0) at ./kjob.moc:208
#22 0x00007f551e817150 in KJob::emitResult (this=0x1909aa0) at
../../kdecore/jobs/kjob.cpp:318
#23 0x00007f552051a76c in KIMAP::LoginJob::connectionLost (this=0x1909aa0) at
../../kimap/loginjob.cpp:584
#24 0x00007f5520526661 in KIMAP::SessionPrivate::clearJobQueue (this=0x1befc20)
at ../../kimap/session.cpp:401
#25 0x00007f55218e05be in QObject::event (this=0x190a800, e=<optimized out>) at
kernel/qobject.cpp:1194
#26 0x00007f5520c6c8ec in QApplicationPrivate::notify_helper
(this=this at entry=0x17222b0, receiver=receiver at entry=0x190a800,
e=e at entry=0x7f54fc023290) at kernel/qapplication.cpp:4567
#27 0x00007f5520c6f25b in QApplication::notify (this=0x7fff176bee70,
receiver=0x190a800, e=0x7f54fc023290) at kernel/qapplication.cpp:4428
#28 0x00007f551edddaf6 in KApplication::notify (this=0x7fff176bee70,
receiver=0x190a800, event=0x7f54fc023290) at
../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f55218c663e in QCoreApplication::notifyInternal
(this=0x7fff176bee70, receiver=receiver at entry=0x190a800,
event=event at entry=0x7f54fc023290) at kernel/qcoreapplication.cpp:946
#30 0x00007f55218ca171 in sendEvent (event=0x7f54fc023290, receiver=0x190a800)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x16f1f60) at kernel/qcoreapplication.cpp:1570
#32 0x00007f55218f4e83 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x17238f0) at
kernel/qeventdispatcher_glib.cpp:279
#34 0x00007f551cc4af05 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f551cc4b248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f551cc4b304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f55218f5016 in QEventDispatcherGlib::processEvents (this=0x16f3c20,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f5520d121ae in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f55218c538f in QEventLoop::processEvents
(this=this at entry=0x7fff176bedf0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f55218c5618 in QEventLoop::exec (this=0x7fff176bedf0, flags=...) at
kernel/qeventloop.cpp:204
#41 0x00007f55218cacf6 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#42 0x00007f5521feada3 in Akonadi::ResourceBase::init (r=0x18f0300) at
../../akonadi/resourcebase.cpp:451
#43 0x000000000041c5d3 in Akonadi::ResourceBase::init<ImapResource>
(argc=<optimized out>, argv=<optimized out>) at
/usr/include/akonadi/resourcebase.h:188
#44 0x00007f551de33ea5 in __libc_start_main (main=0x415590 <main(int, char**)>,
argc=3, ubp_av=0x7fff176bef88, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff176bef78) at libc-start.c:260
#45 0x0000000000415715 in _start ()

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

Report to https://bugs.kde.org/

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



More information about the Kdepim-bugs mailing list