Bug 302685 - Kmail crash opening local folder
Summary: Kmail crash opening local folder
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mixed Maildir resource (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-28 09:02 UTC by Rod Sheaff
Modified: 2017-01-07 22:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rod Sheaff 2012-06-28 09:02:12 UTC
Application: akonadi_mixedmaildir_resource (4.8)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
kmail startup and when opening a folder
akonadi console shows 'folder cannot be started' message

-- Backtrace:
Application: mail of type KMail Mail Folder (akonadi_mixedmaildir_resource), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4a82740 (LWP 2870))]

Thread 3 (Thread 0xb24afb40 (LWP 2871)):
#0  0xb771c424 in __kernel_vsyscall ()
#1  0xb58e8380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4f04a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4ef70ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4ef756b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb24b7134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0xb4f1a6b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb552cd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb58f6ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb1affb40 (LWP 2872)):
#0  0xb552fcc1 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5904634 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4f36410 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4ef709b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4ef756b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb324e1ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb4f1a6b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb552cd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb58f6ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4a82740 (LWP 2870)):
[KCrash Handler]
#7  0xb593d2c0 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0xb5b1e01b in QByteArray::realloc (this=0xbfde855c, alloc=1701869908) at /usr/include/i386-linux-gnu/bits/string3.h:52
#9  0xb5b2055b in detach (this=0xbfde855c) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:436
#10 detach (this=0xbfde855c) at tools/qbytearray.cpp:2676
#11 data (this=0xbfde855c) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:430
#12 QByteArray::toLower (this=0xbfde8558) at tools/qbytearray.cpp:2679
#13 0xb70ad195 in KMime::Content::bodyIsMessage (this=0xbfde855c) at ../../kmime/kmime_content.cpp:968
#14 0xb70b1268 in KMime::Content::parse (this=0xa2c8dd8) at ../../kmime/kmime_content.cpp:207
#15 0xb70b0de5 in KMime::ContentPrivate::parseMultipart (this=0xa2b7c08) at ../../kmime/kmime_content.cpp:1140
#16 0xb70b11d8 in KMime::Content::parse (this=0xa296e88) at ../../kmime/kmime_content.cpp:197
#17 0xb70cb6eb in KMime::Message::parse (this=0xa296e88) at ../../kmime/kmime_message.cpp:51
#18 0xafa4eb14 in Akonadi::SerializerPluginMail::deserialize (this=0xa29a780, item=..., label=..., data=..., version=1) at ../../plugins/akonadi_serializer_mail.cpp:83
#19 0xb7589115 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=1701869908) at ../../akonadi/itemserializer.cpp:102
#20 0xb758975b in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=1, external=true) at ../../akonadi/itemserializer.cpp:86
#21 0xb75ad6e8 in Akonadi::ProtocolHelper::parseItemFetchResult (lineTokens=..., item=..., valuePool=0x0) at ../../akonadi/protocolhelper.cpp:396
#22 0xb7580813 in Akonadi::ItemFetchJob::doHandleResponse (this=0x0, tag=..., data=...) at ../../akonadi/itemfetchjob.cpp:192
#23 0xb7594f8d in Akonadi::JobPrivate::handleResponse (this=0xa29a5f0, tag=..., data=...) at ../../akonadi/job.cpp:80
#24 0xb75d03f2 in Akonadi::SessionPrivate::dataReceived (this=0xa246640) at ../../akonadi/session.cpp:218
#25 0xb5c476b1 in QMetaObject::activate (sender=0xa275200, m=0xb5d8da58, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#26 0xb5c97b25 in QIODevice::readyRead (this=0xa275200) at .moc/release-shared/moc_qiodevice.cpp:105
#27 0xb5c97ccc in QIODevice::qt_static_metacall (_o=0xa275200, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfde8eb0) at .moc/release-shared/moc_qiodevice.cpp:54
#28 0xb5c476b1 in QMetaObject::activate (sender=0xa27d134, m=0xb5d8da58, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#29 0xb5c97b25 in QIODevice::readyRead (this=0xa27d134) at .moc/release-shared/moc_qiodevice.cpp:105
#30 0xb5785a83 in QAbstractSocketPrivate::canReadNotification (this=0xa27cd88) at socket/qabstractsocket.cpp:654
#31 0xb57738f9 in QAbstractSocketEngine::readNotification (this=0xa25cc50) at socket/qabstractsocketengine.cpp:168
#32 0xb578e68b in event (this=0xa276a38, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#33 QReadNotifier::event (this=0xa276a38, e=0xbfde9344) at socket/qnativesocketengine.cpp:1148
#34 0xb6198ed4 in notify_helper (e=0xbfde9344, receiver=0xa276a38, this=0xa09c3a8) at kernel/qapplication.cpp:4559
#35 QApplicationPrivate::notify_helper (this=0xa09c3a8, receiver=0xa276a38, e=0xbfde9344) at kernel/qapplication.cpp:4531
#36 0xb619e30d in QApplication::notify (this=0xbfde9344, receiver=0xa276a38, e=0xbfde9344) at kernel/qapplication.cpp:4288
#37 0xb6d1eb61 in KApplication::notify (this=0xbfde9620, receiver=0xa276a38, event=0xbfde9344) at ../../kdeui/kernel/kapplication.cpp:311
#38 0xb5c3097e in QCoreApplication::notifyInternal (this=0xbfde9620, receiver=0xa276a38, event=0xbfde9344) at kernel/qcoreapplication.cpp:876
#39 0xb5c62f48 in sendEvent (event=0xbfde9344, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 socketNotifierSourceDispatch (source=0xa09b158) at kernel/qeventdispatcher_glib.cpp:110
#41 0xb4ef6d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb4ef7125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb4ef7201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb5c63887 in QEventDispatcherGlib::processEvents (this=0xa07c7e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#45 0xb6251aaa in QGuiEventDispatcherGlib::processEvents (this=0xa07c7e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0xb5c2f50d in QEventLoop::processEvents (this=0xbfde9584, flags=...) at kernel/qeventloop.cpp:149
#47 0xb5c2f7a9 in QEventLoop::exec (this=0xbfde9584, flags=...) at kernel/qeventloop.cpp:204
#48 0xb5c34eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#49 0xb6196a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#50 0xb75b2241 in Akonadi::ResourceBase::init (r=0xa240a28) at ../../akonadi/resourcebase.cpp:412
#51 0x08064e37 in Akonadi::ResourceBase::init<MixedMaildirResource> (argc=3, argv=0xbfde96f4) at /usr/include/akonadi/resourcebase.h:188
#52 0x080545db in main (argc=3, argv=0xbfde96f4) at ../../../resources/mixedmaildir/mixedmaildirresource.cpp:826

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 20:38:29 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:08:13 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.