[Bug 272660] New: akonadi imap resource crashes when network fails
Luis Silva
lacsilva at gmail.com
Fri May 6 23:22:34 BST 2011
https://bugs.kde.org/show_bug.cgi?id=272660
Summary: akonadi imap resource crashes when network fails
Product: Akonadi
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: IMAP resource
AssignedTo: ervin at kde.org
ReportedBy: lacsilva at gmail.com
CC: vkrause at kde.org, kdepim-bugs at kde.org
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04
-- Information about the crash:
- What I was doing when the application crashed:
This crash happens randomly. For the most part, I see it after resuming from
suspend to RAM is the network connection fails when akonadi is updating.
The crash can be reproduced some of the time.
-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation
fault
[Current thread is 1 (Thread 0xb7750930 (LWP 11202))]
Thread 4 (Thread 0xb574bb70 (LWP 11286)):
#0 0x00802d41 in clock_gettime (clock_id=1, tp=0xb574b020) at
../sysdeps/unix/clock_gettime.c:116
#1 0x0046ddd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2 qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3 0x0053a4f2 in updateCurrentTime (this=0x84aa6d4, tm=...) at
kernel/qeventdispatcher_unix.cpp:339
#4 QTimerInfoList::timerWait (this=0x84aa6d4, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5 0x00538d32 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xb574b0fc) at kernel/qeventdispatcher_glib.cpp:136
#6 0x00538dcd in timerSourcePrepare (source=0x84aa6a0, timeout=<value
optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7 0x05d63fd4 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#8 0x05d64e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9 0x05d65524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00539577 in QEventDispatcherGlib::processEvents (this=0x8485928,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0050b289 in QEventLoop::processEvents (this=0xb574b2b0, flags=...) at
kernel/qeventloop.cpp:149
#12 0x0050b522 in QEventLoop::exec (this=0xb574b2b0, flags=...) at
kernel/qeventloop.cpp:201
#13 0x004152a0 in QThread::exec (this=0x84b6668) at thread/qthread.cpp:492
#14 0x00cd78c2 in KIMAP::SessionThread::run (this=0x84b6668) at
/home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/sessionthread.cpp:166
#15 0x00417da2 in QThreadPrivate::start (arg=0x84b6668) at
thread/qthread_unix.cpp:320
#16 0x007ebe99 in start_thread (arg=0xb574bb70) at pthread_create.c:304
#17 0x03dd273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 3 (Thread 0xb4bffb70 (LWP 31515)):
#0 0x0075ed5c in ?? () from /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
#1 0x05d8f482 in g_thread_self () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2 0x05d65513 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#3 0x00539577 in QEventDispatcherGlib::processEvents (this=0x85a97c8,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4 0x0050b289 in QEventLoop::processEvents (this=0xb4bff2b0, flags=...) at
kernel/qeventloop.cpp:149
#5 0x0050b522 in QEventLoop::exec (this=0xb4bff2b0, flags=...) at
kernel/qeventloop.cpp:201
#6 0x004152a0 in QThread::exec (this=0x8482ea8) at thread/qthread.cpp:492
#7 0x00cd78c2 in KIMAP::SessionThread::run (this=0x8482ea8) at
/home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/sessionthread.cpp:166
#8 0x00417da2 in QThreadPrivate::start (arg=0x8482ea8) at
thread/qthread_unix.cpp:320
#9 0x007ebe99 in start_thread (arg=0xb4bffb70) at pthread_create.c:304
#10 0x03dd273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 2 (Thread 0xb43feb70 (LWP 31516)):
#0 0x00764416 in __kernel_vsyscall ()
#1 0x007f0834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2 0x03de0454 in __pthread_cond_timedwait (cond=0x8497de0, mutex=0x8497dc8,
abstime=0xb43fe2a0) at forward.c:152
#3 0x004183e5 in wait (this=0x8497d2c, mutex=0x8497d28, time=30000) at
thread/qwaitcondition_unix.cpp:86
#4 QWaitCondition::wait (this=0x8497d2c, mutex=0x8497d28, time=30000) at
thread/qwaitcondition_unix.cpp:160
#5 0x0040b8f1 in QThreadPoolThread::run (this=0x84b7440) at
concurrent/qthreadpool.cpp:140
#6 0x00417da2 in QThreadPrivate::start (arg=0x84b7440) at
thread/qthread_unix.cpp:320
#7 0x007ebe99 in start_thread (arg=0xb43feb70) at pthread_create.c:304
#8 0x03dd273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 1 (Thread 0xb7750930 (LWP 11202)):
[KCrash Handler]
#7 0x080a1604 in takeFirst (this=0x848da08, session=0x85af950, errorCode=4,
errorMessage=...) at /usr/include/qt4/QtCore/qlist.h:477
#8 SessionPool::cancelSessionCreation (this=0x848da08, session=0x85af950,
errorCode=4, errorMessage=...) at
/home/lacsilva/Development/kdepim.d/kdepim-runtime/resources/imap/sessionpool.cpp:227
#9 0x080a1864 in SessionPool::onEarlyConnectionLost (this=0x848da08) at
/home/lacsilva/Development/kdepim.d/kdepim-runtime/resources/imap/sessionpool.cpp:339
#10 0x080a2c98 in SessionPool::qt_metacall (this=0x848da08,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfa724bc) at
/home/lacsilva/Development/kdepim.d/kdepim-runtime/BUILD/resources/imap/sessionpool.moc:122
#11 0x005126ba in QMetaObject::metacall (object=0x848da08,
cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0xbfa724bc) at
kernel/qmetaobject.cpp:237
#12 0x005224ff in QMetaObject::activate (sender=0x85af950, m=0x80cbd4c,
local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3287
#13 0x00cd47b7 in KIMAP::Session::connectionLost (this=0x85af950) at
/home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/kimap/session.moc:135
#14 0x00cd6605 in KIMAP::SessionPrivate::socketError (this=0x8628a00) at
/home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/session.cpp:385
#15 0x00cd6796 in KIMAP::Session::qt_metacall (this=0x85af950,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x86abde8) at
/home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/kimap/session.moc:116
#16 0x005126ba in QMetaObject::metacall (object=0x85af950,
cl=QMetaObject::InvokeMetaMethod, idx=14, argv=0x86abde8) at
kernel/qmetaobject.cpp:237
#17 0x0051ce16 in QMetaCallEvent::placeMetaCall (this=0x8666aa8,
object=0x85af950) at kernel/qobject.cpp:535
#18 0x005213b7 in QObject::event (this=0x85af950, e=0x8666aa8) at
kernel/qobject.cpp:1226
#19 0x00fc9d24 in QApplicationPrivate::notify_helper (this=0x83d66b8,
receiver=0x85af950, e=0x8666aa8) at kernel/qapplication.cpp:4462
#20 0x00fce8ce in QApplication::notify (this=0xbfa72db0, receiver=0x85af950,
e=0x8666aa8) at kernel/qapplication.cpp:3862
#21 0x01df13ca in KApplication::notify (this=0xbfa72db0, receiver=0x85af950,
event=0x8666aa8) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x0050c0bb in QCoreApplication::notifyInternal (this=0xbfa72db0,
receiver=0x85af950, event=0x8666aa8) at kernel/qcoreapplication.cpp:731
#23 0x0050fc79 in sendEvent (receiver=0x0, event_type=0, data=0x8392f50) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x8392f50) at kernel/qcoreapplication.cpp:1372
#25 0x0050fe0d in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1265
#26 0x005393c4 in sendPostedEvents (s=0x83cb798) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=0x83cb798) at
kernel/qeventdispatcher_glib.cpp:277
#28 0x05d64aa8 in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#29 0x05d65270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0x05d65524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#31 0x0053953c in QEventDispatcherGlib::processEvents (this=0x8392aa8,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#32 0x0107d775 in QGuiEventDispatcherGlib::processEvents (this=0x8392aa8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x0050b289 in QEventLoop::processEvents (this=0xbfa72d04, flags=...) at
kernel/qeventloop.cpp:149
#34 0x0050b522 in QEventLoop::exec (this=0xbfa72d04, flags=...) at
kernel/qeventloop.cpp:201
#35 0x0050fecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#36 0x00fc78e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#37 0x0024c028 in Akonadi::ResourceBase::init (r=0x845a190) at
/home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/resourcebase.cpp:392
#38 0x08063ea3 in init<ImapResource> (argc=) at
/usr/include/akonadi/resourcebase.h:188
#39 main (argc=) at
/home/lacsilva/Development/kdepim.d/kdepim-runtime/resources/imap/imapresource.cpp:597
Reported using DrKonqi
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list