Bug 298853

Summary: Kmail error when closing kde sessioon
Product: [Frameworks and Libraries] Akonadi Reporter: Daniel Moyne <daniel.moyne>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dvratil, kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Moyne 2012-04-26 13:56:27 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
simply closing my kde session
- Unusual behavior I noticed:
from time to time Kmail crashes on first opening but opens correctly on second try

-- Backtrace:
Application: LA POSTE de type Serveur de courriels IMAP (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 0x7fe6c1b7e780 (LWP 2786))]

Thread 2 (Thread 0x7fe6ac9bc700 (LWP 11913)):
#0  0x00007fe6bd52fb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe6bc07bff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe6bc07c124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe6c0fa3426 in QEventDispatcherGlib::processEvents (this=0x7fe6a8029190, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe6c0f72c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe6c0f72ed7 in QEventLoop::exec (this=0x7fe6ac9bbde0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe6c0e71fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe6bfba8c39 in KIMAP::SessionThread::run (this=0x89bc20) at ../../kimap/sessionthread.cpp:181
#8  0x00007fe6c0e74fcb in QThreadPrivate::start (arg=0x89bc20) at thread/qthread_unix.cpp:298
#9  0x00007fe6bcb97e9a in start_thread (arg=0x7fe6ac9bc700) at pthread_create.c:308
#10 0x00007fe6bd53b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe6c1b7e780 (LWP 2786)):
[KCrash Handler]
#6  0x00007fe6c0f7e074 in QMetaObject::invokeMethod (obj=0x85cc90, member=<optimized out>, type=Qt::QueuedConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1166
#7  0x00007fe6c0f91d0d in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::QueuedConnection, member=<optimized out>, obj=0x85cc90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:418
#8  QTimer::singleShot (msec=0, receiver=0x85cc90, member=0x7fe6c172cba0 "1executeNext()") at kernel/qtimer.cpp:360
#9  0x00007fe6c16a9cfc in Akonadi::ResourceScheduler::taskDone (this=0x85cc90) at ../../akonadi/resourcescheduler.cpp:229
#10 0x00007fe6c16a5964 in Akonadi::ResourceBase::cancelTask (this=0x77ede0) at ../../akonadi/resourcebase.cpp:814
#11 0x00007fe6c16a5ac9 in Akonadi::ResourceBase::cancelTask (this=0x77ede0, msg=...) at ../../akonadi/resourcebase.cpp:820
#12 0x000000000041d69b in ResourceState::cancelTask (this=0x8d0890, errorString=...) at ../../../resources/imap/resourcestate.cpp:389
#13 0x0000000000444a71 in ResourceTask::cancelTask (this=0x863020, errorString=...) at ../../../resources/imap/resourcetask.cpp:284
#14 0x0000000000444ac1 in ResourceTask::onPoolDisconnect (this=0x863020) at ../../../resources/imap/resourcetask.cpp:136
#15 0x00007fe6c0f88281 in QMetaObject::activate (sender=0x85d930, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#16 0x0000000000454796 in SessionPool::disconnect (this=0x85d930, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:129
#17 0x0000000000454867 in SessionPool::~SessionPool (this=0x85d930, __in_chrg=<optimized out>) at ../../../resources/imap/sessionpool.cpp:54
#18 0x0000000000454979 in SessionPool::~SessionPool (this=0x85d930, __in_chrg=<optimized out>) at ../../../resources/imap/sessionpool.cpp:55
#19 0x00007fe6c0f86935 in QObjectPrivate::deleteChildren (this=0x82e950) at kernel/qobject.cpp:1908
#20 0x00007fe6c0f8cb9c in QObject::~QObject (this=0x77ede0, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#21 0x00000000004170c9 in ImapResource::~ImapResource (this=0x77ede0, __in_chrg=<optimized out>) at ../../../resources/imap/imapresource.cpp:156
#22 0x00007fe6c16a1c07 in Akonadi::ResourceBase::init (r=0x77ede0) at ../../akonadi/resourcebase.cpp:413
#23 0x000000000041a996 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#24 0x00007fe6bd46a76d in __libc_start_main (main=0x4151c0 <main(int, char**)>, argc=3, ubp_av=0x7fff15923ad8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff15923ac8) at libc-start.c:226
#25 0x0000000000415375 in _start ()

Reported using DrKonqi
Comment 1 Daniel Vrátil 2013-06-09 14:37:24 UTC

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