Bug 413291 - Switching between folders crashes kmail
Summary: Switching between folders crashes kmail
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (show other bugs)
Version: 5.12.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-10-21 18:36 UTC by Norbert Blobel
Modified: 2022-10-27 05:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.20 KB, text/plain)
2019-11-02 14:26 UTC, Norbert Blobel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Norbert Blobel 2019-10-21 18:36:54 UTC
Application: akonadi_maildir_resource (5.12.2)

Qt Version: 5.13.1
Frameworks Version: 5.63.0
Operating System: Linux 4.12.14-lp151.28.20-default x86_64
Distribution: openSUSE Leap 15.1

-- Information about the crash:
- What I was doing when the application crashed:
I simply was switching a to another folder and kmail then crashed. Is reproduceble.

-- Backtrace:
Application: Local Folders (akonadi_maildir_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f07f80b0900 (LWP 20453))]

Thread 4 (Thread 0x7f07db633700 (LWP 20475)):
#0  0x00007f07f061c6f4 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f07f061d0db in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f07f061d2bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f07f567d77b in QEventDispatcherGlib::processEvents (this=0x7f07cc000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f07f561dc4a in QEventLoop::exec (this=this@entry=0x7f07db632cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f07f543910a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f07f543a8b2 in QThreadPrivate::start (arg=0x55eb846f3f60) at thread/qthread_unix.cpp:360
#7  0x00007f07f2460569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f07f4b209ef in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f07dbe34700 (LWP 20473)):
#0  0x00007f07f4b11c98 in read () from /lib64/libc.so.6
#1  0x00007f07f0661ca0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f07f061ccb8 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f07f061d150 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f07f061d2bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f07f567d77b in QEventDispatcherGlib::processEvents (this=0x7f07d4000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f07f561dc4a in QEventLoop::exec (this=this@entry=0x7f07dbe33c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f07f543910a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f07f6374db5 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f07f543a8b2 in QThreadPrivate::start (arg=0x7f07f65ecd80) at thread/qthread_unix.cpp:360
#10 0x00007f07f2460569 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f07f4b209ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f07e4e1b700 (LWP 20464)):
#0  0x00007f07f4b1619b in poll () from /lib64/libc.so.6
#1  0x00007f07eb768307 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f07eb769f3a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f07e7c0e940 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f07f543a8b2 in QThreadPrivate::start (arg=0x55eb84695ae0) at thread/qthread_unix.cpp:360
#5  0x00007f07f2460569 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f07f4b209ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f07f80b0900 (LWP 20453)):
[KCrash Handler]
#6  0x00007f07f4a5e160 in raise () from /lib64/libc.so.6
#7  0x00007f07f4a5f741 in abort () from /lib64/libc.so.6
#8  0x00007f07f508de83 in ?? () from /usr/lib64/libstdc++.so.6
#9  0x00007f07f5093dd8 in ?? () from /usr/lib64/libstdc++.so.6
#10 0x00007f07f5093e23 in std::terminate() () from /usr/lib64/libstdc++.so.6
#11 0x00007f07f50940a6 in __cxa_rethrow () from /usr/lib64/libstdc++.so.6
#12 0x00007f07f783270f in QVector<QByteArray>::realloc (this=this@entry=0x55eba2f54868, aalloc=268435453, options=...) at /usr/include/qt5/QtCore/qvector.h:713
#13 0x00007f07f7836863 in QVector<QByteArray>::append (this=0x55eba2f54868, t=...) at /usr/include/qt5/QtCore/qvector.h:763
#14 0x00007f07f784ff48 in KMime::Headers::Newsgroups::parse (this=<optimized out>, scursor=@0x7ffc058f2c58: 0x55eba2f50bde "\v\323\254\b\224`\275\344g\274\364foW3\255\213\373RJ\002\377\311\305F/\235FE<\204\240y\312\266\256\033b\203\346\247\316$\222\331s\027\020\362\017\276Nx\036?\257A=\315\276Q\373\227B\n\353\364\272\246\300\061u\322n\313\211\064\065\372g\307\322c\264\361m\035<\215:\357\377\342\222fM\230\373^\017\307bM\254\343Ut\361,\327\321\203\355\304\267\322\321\345\241R\320Kca\361\235\312\016\201\002c\016\217\222:S,\233\063\257\255c\360\276\364+\315\352\243\277i\235\235Z\177\336\205\244\313\223\222\321\036\206~}\025!1\001Rbo;/M\326\fbI\336~\347\307\331\365P\330\033?\237\214\327\337I\266\211X\363\366"..., send=0x55eba2f50c1e "\n\353\364\272\246\300\061u\322n\313\211\064\065\372g\307\322c\264\361m\035<\215:\357\377\342\222fM\230\373^\017\307bM\254\343Ut\361,\327\321\203\355\304\267\322\321\345\241R\320Kca\361\235\312\016\201\002c\016\217\222:S,\233\063\257\255c\360\276\364+\315\352\243\277i\235\235Z\177\336\205\244\313\223\222\321\036\206~}\025!1\001Rbo;/M\326\fbI\336~\347\307\331\365P\330\033?\237\214\327\337I\266\211X\363\366\262\066\333\201\312g`\201\322^i\305\365\227\240\220\223.\340\202\217\177\356g\253\205\203\221|\242\356\062!1&\221\025@$\377\236\252]\305\061\344~'\027\215\030\rwL#P\265\264\017J\355\t\230,"..., isCRLF=<optimized out>) at /usr/src/debug/kmime-19.08.2-lp151.135.1.x86_64/src/kmime_headers.cpp:1555
#15 0x00007f07f784acd3 in KMime::Headers::Generics::Structured::from7BitString (this=0x55eba2f54840, s=<optimized out>, len=<optimized out>) at /usr/src/debug/kmime-19.08.2-lp151.135.1.x86_64/src/kmime_headers.cpp:253
#16 0x00007f07f7836dcc in KMime::HeaderParsing::(anonymous namespace)::extractHeader (head=..., headerStart=<optimized out>, endOfFieldBody=@0x7ffc058f2ce4: 6470) at /usr/src/debug/kmime-19.08.2-lp151.135.1.x86_64/src/kmime_header_parsing.cpp:2059
#17 0x00007f07f783d3ec in KMime::HeaderParsing::parseHeaders (head=...) at /usr/src/debug/kmime-19.08.2-lp151.135.1.x86_64/src/kmime_header_parsing.cpp:2111
#18 0x00007f07f7846c0c in KMime::Content::parse (this=this@entry=0x55eba2f48250) at /usr/src/debug/kmime-19.08.2-lp151.135.1.x86_64/src/kmime_content.cpp:135
#19 0x000055eb824cf6c4 in RetrieveItemsJob::processEntry (this=0x55eb8850c070) at /usr/src/debug/kdepim-runtime-19.08.2-lp151.188.1.x86_64/resources/maildir/retrieveitemsjob.cpp:120
#20 0x00007f07f5651012 in QObject::event (this=0x55eb8850c070, e=<optimized out>) at kernel/qobject.cpp:1260
#21 0x00007f07f5c5403c in QApplicationPrivate::notify_helper (this=this@entry=0x55eb846670e0, receiver=receiver@entry=0x55eb8850c070, e=e@entry=0x55eba2f47be0) at kernel/qapplication.cpp:3703
#22 0x00007f07f5c5b640 in QApplication::notify (this=0x7ffc058f3450, receiver=0x55eb8850c070, e=0x55eba2f47be0) at kernel/qapplication.cpp:3449
#23 0x00007f07f561fae8 in QCoreApplication::notifyInternal2 (receiver=0x55eb8850c070, event=0x55eba2f47be0) at kernel/qcoreapplication.cpp:1095
#24 0x00007f07f561fcbe in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x55eba2f47be0) at kernel/qcoreapplication.cpp:1490
#25 0x00007f07f5622407 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55eb84657fb0) at kernel/qcoreapplication.cpp:1840
#26 0x00007f07f5622998 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1694
#27 0x00007f07f567e143 in postEventSourceDispatch (s=0x55eb846dad40) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f07f061ce87 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f07f061d230 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f07f061d2bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f07f567d75f in QEventDispatcherGlib::processEvents (this=0x55eb846db330, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f07f561dc4a in QEventLoop::exec (this=this@entry=0x7ffc058f33a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#33 0x00007f07f5626fc0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1403
#34 0x00007f07f75e28fd in Akonadi::ResourceBase::init (r=...) at /usr/src/debug/akonadi-server-19.08.2-lp151.201.1.x86_64/src/agentbase/resourcebase.cpp:611
#35 0x000055eb824c324f in Akonadi::ResourceBase::init<MaildirResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:199
#36 0x00007f07f4a48f8a in __libc_start_main () from /lib64/libc.so.6
#37 0x000055eb824c30da in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 20453) detached]

Possible duplicates by query: bug 359869, bug 292581, bug 292022.

Reported using DrKonqi
Comment 1 Norbert Blobel 2019-11-02 14:26:49 UTC
Created attachment 123660 [details]
New crash information added by DrKonqi

akonadi_maildir_resource (5.12.2) using Qt 5.13.1

Again, I simply checked my email. Kmail / akonadi / open folders crashes everytime after check email. 100 % reproducable.

-- Backtrace (Reduced):
#12 0x00007fc3a691a70f in QVector<QByteArray>::realloc (this=this@entry=0x5653e1860df8, aalloc=268435453, options=...) at /usr/include/qt5/QtCore/qvector.h:713
#13 0x00007fc3a691e863 in QVector<QByteArray>::append (this=0x5653e1860df8, t=...) at /usr/include/qt5/QtCore/qvector.h:763
#14 0x00007fc3a6937f48 in KMime::Headers::Newsgroups::parse (this=<optimized out>, scursor=@0x7fff118ed6c8: 0x5653fb76a97e "\v\323\254\b\224`\275\344g\274\364foW3\255\213\373RJ\002\377\311\305F/\235FE<\204\240y\312\266\256\033b\203\346\247\316$\222\331s\027\020\362\017\276Nx\036?\257A=\315\276Q\373\227B\n\353\364\272\246\300\061u\322n\313\211\064\065\372g\307\322c\264\361m\035<\215:\357\377\342\222fM\230\373^\017\307bM\254\343Ut\361,\327\321\203\355\304\267\322\321\345\241R\320Kca\361\235\312\016\201\002c\016\217\222:S,\233\063\257\255c\360\276\364+\315\352\243\277i\235\235Z\177\336\205\244\313\223\222\321\036\206~}\025!1\001Rbo;/M\326\fbI\336~\347\307\331\365P\330\033?\237\214\327\337I\266\211X\363\366"..., send=0x5653fb76a9be "\n\353\364\272\246\300\061u\322n\313\211\064\065\372g\307\322c\264\361m\035<\215:\357\377\342\222fM\230\373^\017\307bM\254\343Ut\361,\327\321\203\355\304\267\322\321\345\241R\320Kca\361\235\312\016\201\002c\016\217\222:S,\233\063\257\255c\360\276\364+\315\352\243\277i\235\235Z\177\336\205\244\313\223\222\321\036\206~}\025!1\001Rbo;/M\326\fbI\336~\347\307\331\365P\330\033?\237\214\327\337I\266\211X\363\366\262\066\333\201\312g`\201\322^i\305\365\227\240\220\223.\340\202\217\177\356g\253\205\203\221|\242\356\062!1&\221\025@$\377\236\252]\305\061\344~'\027\215\030\rwL#P\265\264\017J\355\t\230,"..., isCRLF=<optimized out>) at /usr/src/debug/kmime-19.08.2-lp151.135.1.x86_64/src/kmime_headers.cpp:1555
#15 0x00007fc3a6932cd3 in KMime::Headers::Generics::Structured::from7BitString (this=0x5653fb76ead0, s=<optimized out>, len=<optimized out>) at /usr/src/debug/kmime-19.08.2-lp151.135.1.x86_64/src/kmime_headers.cpp:253
#17 0x00007fc3a69253ec in KMime::HeaderParsing::parseHeaders (head=...) at /usr/src/debug/kmime-19.08.2-lp151.135.1.x86_64/src/kmime_header_parsing.cpp:2111
Comment 2 Justin Zobel 2022-09-27 08:23:42 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-10-12 04:55:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-10-27 05:05:33 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!