Bug 293839 - akonadi_imap_resource crash after wake up laptop from sleep mode
Summary: akonadi_imap_resource crash after wake up laptop from sleep mode
Status: RESOLVED DUPLICATE of bug 291810
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-11 13:07 UTC by RussianNeuroMancer
Modified: 2012-02-11 23:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RussianNeuroMancer 2012-02-11 13:07:55 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.7.4
Operating System: Linux 3.2.5-030205-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
akonadi_imap_resource crash after wake up laptop from sleep mode. Probably akonadi_imap_resource crash at the moment when it try to reconnect to the IMAP server.

The crash can be reproduced some of the time.

-- Backtrace:
Application: GMail of type Почтовый сервер IMAP (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc67b9a7780 (LWP 2350))]

Thread 4 (Thread 0x7fc663df8700 (LWP 8920)):
#0  0x00007fc676c611fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x11f44b8) at pthread_mutex_unlock.c:290
#2  0x00007fc675cf5013 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc675cf5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc67adf1f3e in QEventDispatcherGlib::processEvents (this=0x1237e90, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fc67adc5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc67adc5ef7 in QEventLoop::exec (this=0x7fc663df7de0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fc67acdd27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fc679a04499 in KIMAP::SessionThread::run (this=0x1200b40) at ../../kimap/sessionthread.cpp:178
#9  0x00007fc67acdfd05 in QThreadPrivate::start (arg=0x1200b40) at thread/qthread_unix.cpp:331
#10 0x00007fc676c5defc in start_thread (arg=0x7fc663df8700) at pthread_create.c:304
#11 0x00007fc6773af89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc6695a7700 (LWP 17040)):
#0  0x00007fc6773a3773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc675cf4f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc675cf5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc67adf1f3e in QEventDispatcherGlib::processEvents (this=0x1237320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc67adc5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc67adc5ef7 in QEventLoop::exec (this=0x7fc6695a6de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fc67acdd27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fc679a04499 in KIMAP::SessionThread::run (this=0x15285a0) at ../../kimap/sessionthread.cpp:178
#8  0x00007fc67acdfd05 in QThreadPrivate::start (arg=0x15285a0) at thread/qthread_unix.cpp:331
#9  0x00007fc676c5defc in start_thread (arg=0x7fc6695a7700) at pthread_create.c:304
#10 0x00007fc6773af89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc668da6700 (LWP 17063)):
#0  idleTimerSourceCheck (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:221
#1  0x00007fc675cf4734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc675cf4f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc675cf5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc67adf1f3e in QEventDispatcherGlib::processEvents (this=0xe58840, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fc67adc5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc67adc5ef7 in QEventLoop::exec (this=0x7fc668da5de0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fc67acdd27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fc679a04499 in KIMAP::SessionThread::run (this=0x1519b10) at ../../kimap/sessionthread.cpp:178
#9  0x00007fc67acdfd05 in QThreadPrivate::start (arg=0x1519b10) at thread/qthread_unix.cpp:331
#10 0x00007fc676c5defc in start_thread (arg=0x7fc668da6700) at pthread_create.c:304
#11 0x00007fc6773af89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc67b9a7780 (LWP 2350)):
[KCrash Handler]
#6  Akonadi::ItemSync::setFullSyncItems (this=0x0, items=...) at ../../akonadi/itemsync.cpp:145
#7  0x00007fc67b4cc448 in Akonadi::ResourceBase::itemsRetrieved (this=<optimized out>, items=...) at ../../akonadi/resourcebase.cpp:901
#8  0x0000000000452843 in RetrieveItemsTask::onFlagsReceived (this=0xe0e9a0, mailBox=<optimized out>, uids=..., sizes=<optimized out>, flags=..., messages=<optimized out>) at ../../../resources/imap/retrieveitemstask.cpp:416
#9  0x0000000000452c30 in RetrieveItemsTask::qt_metacall (this=0xe0e9a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2f93ac50) at ./retrieveitemstask.moc:92
#10 0x00007fc67add9eba in QMetaObject::activate (sender=0x7fc65c023fd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2f93ac50) at kernel/qobject.cpp:3278
#11 0x00007fc6799edb64 in KIMAP::FetchJob::headersReceived (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>, _t4=<optimized out>, _t5=<optimized out>) at ./fetchjob.moc:101
#12 0x00007fc6799eed4b in emitPendings (this=0x7fc65c025c10) at ../../kimap/fetchjob.cpp:57
#13 KIMAP::FetchJob::qt_metacall (this=<optimized out>, _c=<optimized out>, _id=3, _a=<optimized out>) at ./fetchjob.moc:89
#14 0x00007fc67add9eba in QMetaObject::activate (sender=0x7fc65c025c60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#15 0x00007fc67addd789 in QObject::event (this=0x7fc65c025c60, e=<optimized out>) at kernel/qobject.cpp:1181
#16 0x00007fc67a176474 in notify_helper (e=0x7fff2f93b2b0, receiver=0x7fc65c025c60, this=0xdb5cd0) at kernel/qapplication.cpp:4486
#17 QApplicationPrivate::notify_helper (this=0xdb5cd0, receiver=0x7fc65c025c60, e=0x7fff2f93b2b0) at kernel/qapplication.cpp:4458
#18 0x00007fc67a17b2e1 in QApplication::notify (this=0x7fff2f93b5c0, receiver=0x7fc65c025c60, e=0x7fff2f93b2b0) at kernel/qapplication.cpp:4365
#19 0x00007fc67828cae6 in KApplication::notify (this=0x7fff2f93b5c0, receiver=0x7fc65c025c60, event=0x7fff2f93b2b0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fc67adc6afc in QCoreApplication::notifyInternal (this=0x7fff2f93b5c0, receiver=0x7fc65c025c60, event=0x7fff2f93b2b0) at kernel/qcoreapplication.cpp:787
#21 0x00007fc67adf3d62 in sendEvent (event=0x7fff2f93b2b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0xdbb860) at kernel/qeventdispatcher_unix.cpp:603
#23 0x00007fc67adf1538 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#25 0x00007fc675cf4a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fc675cf5258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fc675cf5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fc67adf1ed6 in QEventDispatcherGlib::processEvents (this=0xd93210, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007fc67a21e10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fc67adc5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007fc67adc5ef7 in QEventLoop::exec (this=0x7fff2f93b540, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007fc67adca789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#33 0x00007fc67b4c9e26 in Akonadi::ResourceBase::init (r=0xf23930) at ../../akonadi/resourcebase.cpp:408
#34 0x000000000041a896 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#35 0x00007fc6772ef30d in __libc_start_main (main=0x415140 <main(int, char**)>, argc=3, ubp_av=0x7fff2f93b6d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2f93b6c8) at libc-start.c:226
#36 0x00000000004152f5 in _start ()

Reported using DrKonqi
Comment 1 Kevin Ottens 2012-02-11 23:05:08 UTC

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