Bug 292364

Summary: Not Fixed in 4.7 Kmail IMAP
Product: [Frameworks and Libraries] Akonadi Reporter: Chris <crglasoe>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED FIXED    
Severity: crash CC: kdepim-bugs, vkrause, winter
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris 2012-01-24 22:48:35 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.4 (4.7.4) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Is there a fix for 4.7 Kmail adding IMAP accounts?  Sorry to rant but running stable software that does not work is frustrating at best.

The crash can be reproduced every time.

-- Backtrace:
Application: Doxa-CRG of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa0eb058760 (LWP 5847))]

Thread 3 (Thread 0x7fa0d37fe700 (LWP 5870)):
#0  0x00007fa0e5473bc3 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fa0e547492d in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0e5474f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa0ea51d586 in QEventDispatcherGlib::processEvents (this=0x7fa0c40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fa0ea4f1a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa0ea4f1c2f in QEventLoop::exec (this=0x7fa0d37fde00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fa0ea4095df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fa0e9175b93 in KIMAP::SessionThread::run (this=0x85e1d0) at /usr/src/debug/kdepimlibs-4.7.4/kimap/sessionthread.cpp:169
#8  0x00007fa0ea40c025 in QThreadPrivate::start (arg=0x85e1d0) at thread/qthread_unix.cpp:331
#9  0x00007fa0e63dff05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa0e6b2a63d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa0d8eeb700 (LWP 5871)):
#0  0x00007fa0e6b21523 in poll () from /lib64/libc.so.6
#1  0x00007fa0e5474a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0e5474f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa0ea51d586 in QEventDispatcherGlib::processEvents (this=0x7fa0d40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fa0ea4f1a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa0ea4f1c2f in QEventLoop::exec (this=0x7fa0d8eeae00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fa0ea4095df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fa0e9175b93 in KIMAP::SessionThread::run (this=0xc583e0) at /usr/src/debug/kdepimlibs-4.7.4/kimap/sessionthread.cpp:169
#8  0x00007fa0ea40c025 in QThreadPrivate::start (arg=0xc583e0) at thread/qthread_unix.cpp:331
#9  0x00007fa0e63dff05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa0e6b2a63d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa0eb058760 (LWP 5847)):
[KCrash Handler]
#6  KMime::Content::hasContent (this=0x0) at /usr/src/debug/kdepimlibs-4.7.4/kmime/kmime_content.cpp:101
#7  0x00007fa0d82180c7 in Akonadi::SerializerPluginMail::parts (this=<optimized out>, item=...) at /usr/src/debug/kdepim-runtime-4.7.4/plugins/akonadi_serializer_mail.cpp:196
#8  0x00007fa0eabaa709 in Akonadi::ItemSerializer::parts (item=...) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemserializer.cpp:160
#9  0x00007fa0eabaa769 in Akonadi::Item::loadedPayloadParts (this=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item.cpp:195
#10 0x00007fa0eababad5 in Akonadi::ItemCreateJob::ItemCreateJob (this=0x8ef360, item=..., collection=..., parent=0x88ea40) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemcreatejob.cpp:59
#11 0x00007fa0eababc46 in Akonadi::ItemSync::Private::createLocalItem (this=0x7249d0, item=...) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemsync.cpp:114
#12 0x00007fa0eababd05 in Akonadi::ItemSync::Private::processItems (this=0x7249d0) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemsync.cpp:335
#13 0x00007fa0eabac06a in Akonadi::ItemSync::Private::execute (this=0x7249d0) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemsync.cpp:291
#14 0x00007fa0eabad36c in Akonadi::ItemSync::setFullSyncItems (this=0xda2910, items=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemsync.cpp:153
#15 0x00007fa0eabad487 in Akonadi::ResourceBase::itemsRetrieved (this=<optimized out>, items=...) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/resourcebase.cpp:871
#16 0x00000000004536a2 in RetrieveItemsTask::onHeadersReceived (this=0xadff70, mailBox=<optimized out>, uids=..., sizes=..., flags=..., messages=...) at /usr/src/debug/kdepim-runtime-4.7.4/resources/imap/retrieveitemstask.cpp:361
#17 0x0000000000453ef0 in RetrieveItemsTask::qt_metacall (this=0xadff70, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff9079fd70) at /usr/src/debug/kdepim-runtime-4.7.4/build/resources/imap/retrieveitemstask.moc:90
#18 0x00007fa0ea5055aa in QMetaObject::activate (sender=0x8aacd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9079fd70) at kernel/qobject.cpp:3287
#19 0x00007fa0e91775f4 in KIMAP::FetchJob::headersReceived (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>, _t4=<optimized out>, _t5=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/build/kimap/fetchjob.moc:101
#20 0x00007fa0e919a648 in KIMAP::FetchJobPrivate::emitPendings (this=0x9965a0) at /usr/src/debug/kdepimlibs-4.7.4/kimap/fetchjob.cpp:57
#21 0x00007fa0e9187c4f in KIMAP::FetchJob::qt_metacall (this=0x8aacd0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff9079fe90) at /usr/src/debug/kdepimlibs-4.7.4/build/kimap/fetchjob.moc:89
#22 0x00007fa0ea5055aa in QMetaObject::activate (sender=0x9965f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#23 0x00007fa0ea508e89 in QObject::event (this=0x9965f0, e=<optimized out>) at kernel/qobject.cpp:1190
#24 0x00007fa0e98c1c34 in notify_helper (e=0x7fff907a0590, receiver=0x9965f0, this=0x6aa580) at kernel/qapplication.cpp:4481
#25 QApplicationPrivate::notify_helper (this=0x6aa580, receiver=0x9965f0, e=0x7fff907a0590) at kernel/qapplication.cpp:4453
#26 0x00007fa0e98c6ac1 in QApplication::notify (this=0x7fff907a0910, receiver=0x9965f0, e=0x7fff907a0590) at kernel/qapplication.cpp:4360
#27 0x00007fa0e7a20186 in KApplication::notify (this=0x7fff907a0910, receiver=0x9965f0, event=0x7fff907a0590) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#28 0x00007fa0ea4f282c in QCoreApplication::notifyInternal (this=0x7fff907a0910, receiver=0x9965f0, event=0x7fff907a0590) at kernel/qcoreapplication.cpp:787
#29 0x00007fa0ea51f3a8 in sendEvent (event=0x7fff907a0590, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0x6adad0) at kernel/qeventdispatcher_unix.cpp:618
#31 0x00007fa0ea51cbb8 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#32 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#33 0x00007fa0e547458d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fa0e5474d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fa0e5474f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fa0ea51d51f in QEventDispatcherGlib::processEvents (this=0x686560, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007fa0e9964f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fa0ea4f1a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007fa0ea4f1c2f in QEventLoop::exec (this=0x7fff907a0890, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007fa0ea4f5df7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#41 0x00007fa0eab28e27 in Akonadi::ResourceBase::init (r=0x81d8b0) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/resourcebase.cpp:393
#42 0x000000000041bc46 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#43 0x00007fa0e6a7223d in __libc_start_main () from /lib64/libc.so.6
#44 0x0000000000416725 in _start () at ../sysdeps/x86_64/elf/start.S:113

This bug may be a duplicate of or related to bug 291902.

Possible duplicates by query: bug 292338, bug 291902, bug 275275.

Reported using DrKonqi
Comment 1 Allen Winter 2012-01-26 12:59:07 UTC
like I said in a dupe of this one, it is fixed in 4.8.1