Bug 359090

Summary: Akonadi crashes when selecting a specific e-mail
Product: [Frameworks and Libraries] Akonadi Reporter: Carioca <h6zb8-kdebugs20120801>
Component: Maildir ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdenis
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Carioca 2016-02-07 08:42:31 UTC
Application: akonadi_maildir_resource (4.89.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-27-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
I just select a specific e-mail in KMail (Kontact) and then it says


Retrieving Folder Contents

Please wait . . .


After some time, Akonadi crashes. But then the e-mail is displayed.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_maildir_resource), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1a7fd63840 (LWP 5541))]

Thread 2 (Thread 0x7f1a7db24700 (LWP 5542)):
#0  0x00007f1a8e4958dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a89e6bbd2 in poll (__timeout=-1, __nfds=1, __fds=0x7f1a7db23c80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x196de30, cond=cond@entry=0x196de70, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f1a89e6d74f in xcb_wait_for_event (c=0x196de30) at ../../src/xcb_in.c:623
#4  0x00007f1a7f84a7e9 in QXcbEventReader::run (this=0x1980e70) at qxcbconnection.cpp:1229
#5  0x00007f1a8eda2a6e in QThreadPrivate::start (arg=0x1980e70) at thread/qthread_unix.cpp:331
#6  0x00007f1a8a08a6aa in start_thread (arg=0x7f1a7db24700) at pthread_create.c:333
#7  0x00007f1a8e4a0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f1a7fd63840 (LWP 5541)):
[KCrash Handler]
#6  0x00007f1a8e3cf267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f1a8e3d0eca in __GI_abort () at abort.c:89
#8  0x00007f1a8ea0ab7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f1a8ea089c6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f1a8ea08a11 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f1a8ea08c29 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f1a8dd32681 in Akonadi::Protocol::DataStream::waitForData (this=this@entry=0x7ffd326025f0, size=size@entry=2097152) at ../../../src/private/datastream_p.cpp:64
#13 0x00007f1a8dd4a70e in Akonadi::Protocol::DataStream::operator>> (this=0x7ffd326025f0, str=...) at ../../../src/private/datastream_p_p.h:205
#14 0x00007f1a8dd57955 in Akonadi::Protocol::ResponsePrivate::deserialize (stream=..., this=0x1b69420) at ../../../src/private/protocol.cpp:405
#15 Akonadi::Protocol::FetchCollectionsResponsePrivate::deserialize (this=0x1b69420, stream=...) at ../../../src/private/protocol.cpp:5450
#16 0x00007f1a8dd3c813 in Akonadi::Protocol::deserialize (device=<optimized out>) at ../../../src/private/protocol.cpp:627
#17 0x00007f1a916327ab in Akonadi::SessionPrivate::dataReceived (this=0x1a2f4b0) at ../../../../akonadi/src/core/session.cpp:239
#18 0x00007f1a8efb28ea in QMetaObject::activate (sender=0x1a37a30, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3713
#19 0x00007f1a8efb28ea in QMetaObject::activate (sender=sender@entry=0x1a39d98, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3713
#20 0x00007f1a8efb30e7 in QMetaObject::activate (sender=sender@entry=0x1a39d98, m=m@entry=0x7f1a8f1cbee0 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#21 0x00007f1a8f02df00 in QIODevice::readyRead (this=this@entry=0x1a39d98) at .moc/moc_qiodevice.cpp:155
#22 0x00007f1a8e30919e in QAbstractSocketPrivate::canReadNotification (this=0x1a2eda0) at socket/qabstractsocket.cpp:730
#23 0x00007f1a8e315b91 in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1169
#24 0x00007f1a8f8789dc in QApplicationPrivate::notify_helper (this=this@entry=0x1961e90, receiver=receiver@entry=0x1e9e490, e=e@entry=0x7ffd32602bd0) at kernel/qapplication.cpp:3716
#25 0x00007f1a8f87dea6 in QApplication::notify (this=0x7ffd32602e70, receiver=0x1e9e490, e=0x7ffd32602bd0) at kernel/qapplication.cpp:3499
#26 0x00007f1a8ef83d7b in QCoreApplication::notifyInternal (this=0x7ffd32602e70, receiver=0x1e9e490, event=event@entry=0x7ffd32602bd0) at kernel/qcoreapplication.cpp:965
#27 0x00007f1a8efda9bd in QCoreApplication::sendEvent (event=0x7ffd32602bd0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#28 socketNotifierSourceDispatch (source=0x19c14f0) at kernel/qeventdispatcher_glib.cpp:101
#29 0x00007f1a894faff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f1a894fb250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f1a894fb2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f1a8efda50b in QEventDispatcherGlib::processEvents (this=0x19c1780, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#33 0x00007f1a8ef8150a in QEventLoop::exec (this=this@entry=0x7ffd32602de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#34 0x00007f1a8ef895ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#35 0x00007f1a8f2bdd1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#36 0x00007f1a8f874e15 in QApplication::exec () at kernel/qapplication.cpp:2976
#37 0x00007f1a91e3021a in Akonadi::ResourceBase::init (r=r@entry=0x19ebc00) at ../../../../akonadi/src/agentbase/resourcebase.cpp:602
#38 0x0000000000413783 in Akonadi::ResourceBase::init<MaildirResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:193
#39 0x00007f1a8e3baa40 in __libc_start_main (main=0x413570 <main(int, char**)>, argc=3, argv=0x7ffd32602f88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd32602f78) at libc-start.c:289
#40 0x00000000004135a9 in _start ()

Possible duplicates by query: bug 357364, bug 353304, bug 352495, bug 351097.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-06 21:12:35 UTC

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