[Bug 300053] New: akonadi_imap_resource often crashes when connection to the Internet is unstable

Bartosz Brachaczek b.brachaczek at gmail.com
Tue May 15 11:34:11 BST 2012


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

            Bug ID: 300053
          Severity: crash
           Version: 4.8
          Priority: NOR
                CC: kdepim-bugs at kde.org, vkrause at kde.org
          Assignee: ervin at kde.org
           Summary: akonadi_imap_resource often crashes when connection to
                    the Internet is unstable
    Classification: Unclassified
                OS: Linux
          Reporter: b.brachaczek at gmail.com
          Hardware: Compiled Sources
            Status: UNCONFIRMED
         Component: IMAP resource
           Product: Akonadi

Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.3.5-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
My connection to the Internet was unstable. I didn't need to do anything
particular to see this crash. It happes often when I have problems with my
Wi-Fi connection.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Google Mail of type IMAP E-Mail Server (akonadi_imap_resource),
signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6c44c7a780 (LWP 1459))]

Thread 6 (Thread 0x7f6c31b5f700 (LWP 21211)):
#0  0x00007fff5b2ee928 in ?? ()
#1  0x00007f6c3f5bb30d in *__GI_clock_gettime (clock_id=1, tp=0x7f6c31b5eb50)
at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f6c43f8a012 in do_gettime (frac=<optimized out>, sec=<optimized
out>) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f6c4407ebfd in QTimerInfoList::updateCurrentTime
(this=0x7f6c2c00e0e0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f6c4407ef85 in QTimerInfoList::timerWait (this=0x7f6c2c00e0e0,
tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f6c4407d52c in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7f6c31b5ec6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6c4407d5c5 in timerSourcePrepare (source=<optimized out>,
timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f6c3f2da402 in g_main_context_prepare (context=0x7f6c2c068f70,
priority=0x7f6c31b5eccc) at gmain.c:2836
#9  0x00007f6c3f2daba3 in g_main_context_iterate (context=0x7f6c2c068f70,
block=1, dispatch=1, self=<optimized out>) at gmain.c:3126
#10 0x00007f6c3f2dad8c in g_main_context_iteration (context=0x7f6c2c068f70,
may_block=1) at gmain.c:3207
#11 0x00007f6c4407de8e in QEventDispatcherGlib::processEvents
(this=0x7f6c2c015a20, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f6c44047600 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f6c440478b5 in QEventLoop::exec (this=0x7f6c31b5ede0, flags=...) at
kernel/qeventloop.cpp:204
#14 0x00007f6c43f20985 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#15 0x00007f6c42ade88d in KIMAP::SessionThread::run (this=0x1760da0) at
/var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/kimap/sessionthread.cpp:181
#16 0x00007f6c43f23325 in QThreadPrivate::start (arg=0x1760da0) at
thread/qthread_unix.cpp:298
#17 0x00007f6c3fc4de96 in start_thread (arg=0x7f6c31b5f700) at
pthread_create.c:305
#18 0x00007f6c403aadcd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f6c30957700 (LWP 21773)):
#0  0x00007f6c403b7844 in pthread_mutex_unlock (mutex=0x7f6c2800cb90) at
forward.c:184
#1  0x00007f6c3f31b1d1 in g_mutex_unlock (mutex=<optimized out>) at
gthread-posix.c:227
#2  0x00007f6c3f2da74d in g_main_context_check (context=0x7f6c2800cad0,
max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at
gmain.c:3021
#3  0x00007f6c3f2dac1c in g_main_context_iterate (context=0x7f6c2800cad0,
block=1, dispatch=1, self=<optimized out>) at gmain.c:3143
#4  0x00007f6c3f2dad8c in g_main_context_iteration (context=0x7f6c2800cad0,
may_block=1) at gmain.c:3207
#5  0x00007f6c4407de8e in QEventDispatcherGlib::processEvents
(this=0x7f6c280045e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f6c44047600 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6c440478b5 in QEventLoop::exec (this=0x7f6c30956de0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007f6c43f20985 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00007f6c42ade88d in KIMAP::SessionThread::run (this=0x17483f0) at
/var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/kimap/sessionthread.cpp:181
#10 0x00007f6c43f23325 in QThreadPrivate::start (arg=0x17483f0) at
thread/qthread_unix.cpp:298
#11 0x00007f6c3fc4de96 in start_thread (arg=0x7f6c30957700) at
pthread_create.c:305
#12 0x00007f6c403aadcd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6c3135e700 (LWP 21780)):
#0  0x00007f6c3f2dab63 in g_main_context_iterate (context=<optimized out>,
block=1, dispatch=1, self=<optimized out>) at gmain.c:3153
#1  0x00007f6c3f2dad8c in g_main_context_iteration (context=0x7f6c24008b00,
may_block=1) at gmain.c:3207
#2  0x00007f6c4407de8e in QEventDispatcherGlib::processEvents
(this=0x7f6c24010620, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007f6c44047600 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f6c440478b5 in QEventLoop::exec (this=0x7f6c3135dde0, flags=...) at
kernel/qeventloop.cpp:204
#5  0x00007f6c43f20985 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#6  0x00007f6c42ade88d in KIMAP::SessionThread::run (this=0x17e3350) at
/var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/kimap/sessionthread.cpp:181
#7  0x00007f6c43f23325 in QThreadPrivate::start (arg=0x17e3350) at
thread/qthread_unix.cpp:298
#8  0x00007f6c3fc4de96 in start_thread (arg=0x7f6c3135e700) at
pthread_create.c:305
#9  0x00007f6c403aadcd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6c225ec700 (LWP 22583)):
#0  0x00007f6c403a1e83 in *__GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6c3f2dac76 in g_main_context_poll (n_fds=1, fds=0x7f6c0c006460,
timeout=-1, context=0x7f6c0c0009a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=0x7f6c0c0009a0, block=1, dispatch=1,
self=<optimized out>) at gmain.c:3141
#3  0x00007f6c3f2dad8c in g_main_context_iteration (context=0x7f6c0c0009a0,
may_block=1) at gmain.c:3207
#4  0x00007f6c4407de8e in QEventDispatcherGlib::processEvents
(this=0x7f6c0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f6c44047600 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6c440478b5 in QEventLoop::exec (this=0x7f6c225ebde0, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007f6c43f20985 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007f6c42ade88d in KIMAP::SessionThread::run (this=0x175e4c0) at
/var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/kimap/sessionthread.cpp:181
#9  0x00007f6c43f23325 in QThreadPrivate::start (arg=0x175e4c0) at
thread/qthread_unix.cpp:298
#10 0x00007f6c3fc4de96 in start_thread (arg=0x7f6c225ec700) at
pthread_create.c:305
#11 0x00007f6c403aadcd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6c13fff700 (LWP 22587)):
#0  0x00007f6c403b796b in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x00007f6c403a1e68 in *__GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f6c3f2dac76 in g_main_context_poll (n_fds=1, fds=0x7f6c08006590,
timeout=-1, context=0x7f6c080009a0, priority=<optimized out>) at gmain.c:3440
#3  g_main_context_iterate (context=0x7f6c080009a0, block=1, dispatch=1,
self=<optimized out>) at gmain.c:3141
#4  0x00007f6c3f2dad8c in g_main_context_iteration (context=0x7f6c080009a0,
may_block=1) at gmain.c:3207
#5  0x00007f6c4407de8e in QEventDispatcherGlib::processEvents
(this=0x7f6c080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f6c44047600 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6c440478b5 in QEventLoop::exec (this=0x7f6c13ffede0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007f6c43f20985 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00007f6c42ade88d in KIMAP::SessionThread::run (this=0x1605630) at
/var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/kimap/sessionthread.cpp:181
#10 0x00007f6c43f23325 in QThreadPrivate::start (arg=0x1605630) at
thread/qthread_unix.cpp:298
#11 0x00007f6c3fc4de96 in start_thread (arg=0x7f6c13fff700) at
pthread_create.c:305
#12 0x00007f6c403aadcd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6c44c7a780 (LWP 1459)):
[KCrash Handler]
#6  operator char const* (this=0x80) at
/usr/include/qt4/QtCore/qbytearray.h:425
#7  KIMAP::Session::selectedMailBox (this=0x1902780) at
/var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/kimap/session.cpp:413
#8  0x000000000045394f in RetrieveItemsTask::doStart (this=0x1f46570,
session=0x1902780) at
/var/tmp/portage/kde-base/kdepim-runtime-4.8.3/work/kdepim-runtime-4.8.3/resources/imap/retrieveitemstask.cpp:80
#9  0x0000000000446f9b in ResourceTask::onSessionRequested (this=0x1f46570,
requestId=<optimized out>, session=0x1902780, errorCode=0) at
/var/tmp/portage/kde-base/kdepim-runtime-4.8.3/work/kdepim-runtime-4.8.3/resources/imap/resourcetask.cpp:115
#10 0x00007f6c44062f19 in QMetaObject::activate (sender=0x17314d0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff5b2e6090) at
kernel/qobject.cpp:3547
#11 0x0000000000456da2 in SessionPool::sessionRequestDone (this=<optimized
out>, _t1=189, _t2=0x1902780, _t3=0, _t4=...) at
/var/tmp/portage/kde-base/kdepim-runtime-4.8.3/work/kdepim-runtime-4.8.3_build/resources/imap/sessionpool.moc:154
#12 0x00000000004596f8 in SessionPool::processPendingRequests (this=0x17314d0)
at
/var/tmp/portage/kde-base/kdepim-runtime-4.8.3/work/kdepim-runtime-4.8.3/resources/imap/sessionpool.cpp:252
#13 0x0000000000459b65 in SessionPool::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/var/tmp/portage/kde-base/kdepim-runtime-4.8.3/work/kdepim-runtime-4.8.3_build/resources/imap/sessionpool.moc:93
#14 0x00007f6c44060e76 in QObject::event (this=0x17314d0, e=<optimized out>) at
kernel/qobject.cpp:1195
#15 0x00007f6c4324253d in QApplicationPrivate::notify_helper (this=0x15bb570,
receiver=0x17314d0, e=0x1761730) at kernel/qapplication.cpp:4554
#16 0x00007f6c43247de8 in QApplication::notify (this=<optimized out>,
receiver=0x17314d0, e=0x1761730) at kernel/qapplication.cpp:4415
#17 0x00007f6c412ebe26 in KApplication::notify (this=0x7fff5b2e6c20,
receiver=0x17314d0, event=0x1761730) at
/var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#18 0x00007f6c44048ffc in QCoreApplication::notifyInternal
(this=0x7fff5b2e6c20, receiver=0x17314d0, event=0x1761730) at
kernel/qcoreapplication.cpp:876
#19 0x00007f6c4404cb1d in sendEvent (event=0x1761730, receiver=0x17314d0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x15904d0) at kernel/qcoreapplication.cpp:1500
#21 0x00007f6c4407dca3 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#22 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:279
#23 0x00007f6c3f2da972 in g_main_dispatch (context=0x15bb390) at gmain.c:2539
#24 g_main_context_dispatch (context=0x15bb390) at gmain.c:3075
#25 0x00007f6c3f2dacd8 in g_main_context_iterate (context=0x15bb390, block=1,
dispatch=1, self=<optimized out>) at gmain.c:3146
#26 0x00007f6c3f2dad8c in g_main_context_iteration (context=0x15bb390,
may_block=1) at gmain.c:3207
#27 0x00007f6c4407de3b in QEventDispatcherGlib::processEvents (this=0x1591cb0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0x00007f6c432feafe in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f6c44047600 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f6c440478b5 in QEventLoop::exec (this=0x7fff5b2e6b80, flags=...) at
kernel/qeventloop.cpp:204
#31 0x00007f6c4404cffb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#32 0x00007f6c447ab3c3 in Akonadi::ResourceBase::init (r=0x1720530) at
/var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/akonadi/resourcebase.cpp:412
#33 0x00000000004180f8 in init<ImapResource> (argv=<optimized out>,
argc=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#34 main (argc=<optimized out>, argv=<optimized out>) at
/var/tmp/portage/kde-base/kdepim-runtime-4.8.3/work/kdepim-runtime-4.8.3/resources/imap/imapresource.cpp:607

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