Bug 393783 - Kmail crashes instead of starting
Summary: Kmail crashes instead of starting
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.7.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 398152 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-02 23:34 UTC by paul.leopardi
Modified: 2021-01-16 04:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
One of the files in the autosave directory (45.27 KB, message/rfc822)
2018-05-03 22:03 UTC, paul.leopardi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paul.leopardi 2018-05-02 23:34:05 UTC
Application: kmail (5.7.3)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-20-generic x86_64
Distribution: Ubuntu 18.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Launched kmail via search in launcher. It did not display a window, just a crash notification. Kubuntu 18.04 upgraded from Kubuntu 17.10. Could a configuration item be interfering with startup?

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f01d0f71b80 (LWP 11482))]

Thread 9 (Thread 0x7f016ccdd700 (LWP 11497)):
#0  0x00007f01c39619f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559b85533580) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f01c39619f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x559b85533530, cond=0x559b85533558) at pthread_cond_wait.c:502
#2  0x00007f01c39619f3 in __pthread_cond_wait (cond=0x559b85533558, mutex=0x559b85533530) at pthread_cond_wait.c:655
#3  0x00007f01ce77659b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f01ce76ec0b in QSemaphore::acquire(int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f016dccb80c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/texttospeech/libqttexttospeech_flite.so
#6  0x00007f01ce77516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f01c395b6db in start_thread (arg=0x7f016ccdd700) at pthread_create.c:463
#8  0x00007f01ce06b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f0184833700 (LWP 11489)):
#0  0x00007f01c1d4bcd9 in g_mutex_lock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f01c1d05805 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f01c1d0636b in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f01c1d0654c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f01ce9ac90b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f01ce9519ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f01ce77022a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f01ce77516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f01c395b6db in start_thread (arg=0x7f0184833700) at pthread_create.c:463
#9  0x00007f01ce06b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f0185034700 (LWP 11488)):
#0  0x00007f01ce05a0b4 in __GI___libc_read (fd=14, buf=0x7f0185033810, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f01c1d4a960 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f01c1d05f27 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f01c1d063e0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f01c1d0654c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f01ce9ac90b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f01ce9519ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f01ce77022a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f01ce77516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f01c395b6db in start_thread (arg=0x7f0185034700) at pthread_create.c:463
#10 0x00007f01ce06b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f0185ed3700 (LWP 11487)):
#0  0x00007f01ce05ebf9 in __GI___poll (fds=0x7f017c004a10, nfds=1, timeout=9576) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f01c1d06439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f01c1d0654c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f01ce9ac90b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f01ce9519ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f01ce77022a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f01ce77516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f01c395b6db in start_thread (arg=0x7f0185ed3700) at pthread_create.c:463
#8  0x00007f01ce06b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f01870e4700 (LWP 11486)):
#0  0x00007f01ce05a0b4 in __GI___libc_read (fd=10, buf=0x7f01870e37e0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f01c1d4a960 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f01c1d05f27 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f01c1d063e0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f01c1d0654c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f01ce9ac90b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f01ce9519ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f01ce77022a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f01ccfa4d45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f01ce77516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f01c395b6db in start_thread (arg=0x7f01870e4700) at pthread_create.c:463
#11 0x00007f01ce06b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f0187fff700 (LWP 11485)):
#0  0x00007f01c39619f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559b850e5dc0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f01c39619f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x559b850e5d70, cond=0x559b850e5d98) at pthread_cond_wait.c:502
#2  0x00007f01c39619f3 in __pthread_cond_wait (cond=0x559b850e5d98, mutex=0x559b850e5d70) at pthread_cond_wait.c:655
#3  0x00007f0191dd2b7b in  () at /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f0191dd28a7 in  () at /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f01c395b6db in start_thread (arg=0x7f0187fff700) at pthread_create.c:463
#6  0x00007f01ce06b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f018d14e700 (LWP 11484)):
#0  0x00007f01c39619f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559b850e383c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f01c39619f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x559b850e37e8, cond=0x559b850e3810) at pthread_cond_wait.c:502
#2  0x00007f01c39619f3 in __pthread_cond_wait (cond=0x559b850e3810, mutex=0x559b850e37e8) at pthread_cond_wait.c:655
#3  0x00007f0191dd2b7b in  () at /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f0191dd28a7 in  () at /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f01c395b6db in start_thread (arg=0x7f018d14e700) at pthread_create.c:463
#6  0x00007f01ce06b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f01992b0700 (LWP 11483)):
#0  0x00007f01ce05ebf9 in __GI___poll (fds=0x7f01992af928, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f01c1134747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f01c113636a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f019afab2a9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f01ce77516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f01c395b6db in start_thread (arg=0x7f01992b0700) at pthread_create.c:463
#6  0x00007f01ce06b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f01d0f71b80 (LWP 11482)):
[KCrash Handler]
#6  0x00007f01cf00801c in QTextLine::height() const () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007f01cf0533b5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#8  0x00007f01cf057bed in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007f01cf058069 in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007f01cf058268 in QTextDocumentLayout::doLayout(int, int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007f01cf059523 in QTextDocumentLayout::documentChanged(int, int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007f01cf02398d in QTextDocument::markContentsDirty(int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007f01cf077bf2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#14 0x00007f01cf078570 in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#15 0x00007f01cf078700 in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007f01cf0789d7 in QSyntaxHighlighter::rehighlight() () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007f01c73e215d in KPIMTextEdit::RichTextEditor::setSpellCheckingLanguage(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5PimTextEdit.so.5abi2
#18 0x00007f01d08fd353 in  () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#19 0x00007f01ce9826cf in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f01c7173342 in Sonnet::DictionaryComboBox::dictionaryChanged(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5
#21 0x00007f01c7173407 in  () at /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5
#22 0x00007f01c71736ed in Sonnet::DictionaryComboBox::assignDictionnaryName(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5
#23 0x00007f01d09135f8 in  () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#24 0x00007f01d0913d51 in  () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#25 0x00007f01d081e747 in KMKernel::recoverDeadLetters() () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#26 0x0000559b8474b795 in  ()
#27 0x00007f01cdf6bb97 in __libc_start_main (main=0x559b8474a840, argc=3, argv=0x7ffd6a95a108, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd6a95a0f8) at ../csu/libc-start.c:310
#28 0x0000559b8474b8fa in _start ()

Reported using DrKonqi
Comment 1 paul.leopardi 2018-05-03 21:56:33 UTC
I had files in my ~/.local/share/kmail2/autosave directory. When I moved this directory, kmail started normally.

 leopardi@operette:~/.local/share/kmail2$ file autosave/*
autosave/{02b6ab91-8357-4bcf-8c19-6f6937776276}: news or mail, ASCII text
autosave/{34c3256c-08a2-4e2a-add9-c8f164010ddc}: news or mail, ASCII text
autosave/{4df281e9-bd3d-4f4b-8800-8bf1b78e23c0}: news or mail, ASCII text
autosave/{5738bc97-c9e6-483a-b368-5d1f7f6edf14}: news or mail, ASCII text
autosave/{61db2e50-6b1a-46ac-b41a-83a1e2ea5f19}: news or mail, ASCII text
autosave/{623e03ba-1e2c-4f3f-8300-df480cadc69e}: news or mail, ASCII text
autosave/{84aa3d22-e1b5-4b7c-a400-17838c348f54}: news or mail, ASCII text
autosave/{8fb86dc8-9dee-4a2b-9822-e97c82032a38}: news or mail, ASCII text
autosave/{8fb99e25-bcfd-4f34-9cb0-fc8d26a89b66}: news or mail, ASCII text
autosave/{9b9cba89-9a41-416d-a84a-beb452734672}: news or mail, ASCII text
autosave/{a1595e9f-5082-440c-ab84-1951291e40cd}: news or mail, ASCII text
autosave/{a8e0232e-839c-435e-9929-131b088f3ecf}: news or mail, ASCII text
autosave/{af77de2d-520c-4f2a-9caf-5e09ee3bffac}: news or mail, ASCII text
autosave/{bd15160f-de1e-4d9e-9c64-42fde0a515ac}: news or mail, ASCII text
autosave/{c3639aea-5c82-426b-93e8-c35e8dcef580}: news or mail, ASCII text
autosave/{c787b0cb-aea3-407e-8d95-25e724006215}: news or mail, ASCII text
autosave/{c8e1ed6e-256e-45ef-a0f9-3b60db3133ae}: news or mail, ASCII text
autosave/{db63d786-25f8-4f9e-b54f-0d42d60a67c8}: news or mail, ASCII text
autosave/{df9670c8-13f9-4bef-8c78-8dea7298f7c9}: news or mail, ASCII text
autosave/{e1ad024c-643a-4c69-bc5f-cbec53545fb6}: news or mail, ASCII text
autosave/{f3ac49a8-b25e-472c-871a-63ab9105546d}: news or mail, ASCII text
leopardi@operette:~/.local/share/kmail2$ ls -lht autosave
total 1008K
-rw------- 1 leopardi leopardi 46K May  4 07:54 {c787b0cb-aea3-407e-8d95-25e724006215}
-rw------- 1 leopardi leopardi 46K May  4 07:54 {bd15160f-de1e-4d9e-9c64-42fde0a515ac}
-rw------- 1 leopardi leopardi 46K May  3 23:09 {4df281e9-bd3d-4f4b-8800-8bf1b78e23c0}
-rw------- 1 leopardi leopardi 46K May  3 23:09 {623e03ba-1e2c-4f3f-8300-df480cadc69e}
-rw------- 1 leopardi leopardi 46K May  3 23:09 {5738bc97-c9e6-483a-b368-5d1f7f6edf14}
-rw------- 1 leopardi leopardi 46K May  3 22:59 {34c3256c-08a2-4e2a-add9-c8f164010ddc}
-rw------- 1 leopardi leopardi 46K May  3 22:59 {8fb99e25-bcfd-4f34-9cb0-fc8d26a89b66}
-rw------- 1 leopardi leopardi 46K May  3 21:59 {a1595e9f-5082-440c-ab84-1951291e40cd}
-rw------- 1 leopardi leopardi 46K May  3 21:56 {e1ad024c-643a-4c69-bc5f-cbec53545fb6}
-rw------- 1 leopardi leopardi 46K May  3 21:48 {a8e0232e-839c-435e-9929-131b088f3ecf}
-rw------- 1 leopardi leopardi 46K May  3 09:29 {9b9cba89-9a41-416d-a84a-beb452734672}
-rw------- 1 leopardi leopardi 46K May  3 09:28 {c3639aea-5c82-426b-93e8-c35e8dcef580}
-rw------- 1 leopardi leopardi 46K May  3 09:26 {84aa3d22-e1b5-4b7c-a400-17838c348f54}
-rw------- 1 leopardi leopardi 46K May  3 09:23 {db63d786-25f8-4f9e-b54f-0d42d60a67c8}
-rw------- 1 leopardi leopardi 46K May  3 09:22 {df9670c8-13f9-4bef-8c78-8dea7298f7c9}
-rw------- 1 leopardi leopardi 46K May  1 22:29 {8fb86dc8-9dee-4a2b-9822-e97c82032a38}
-rw------- 1 leopardi leopardi 46K May  1 22:28 {af77de2d-520c-4f2a-9caf-5e09ee3bffac}
-rw------- 1 leopardi leopardi 46K May  1 22:27 {c8e1ed6e-256e-45ef-a0f9-3b60db3133ae}
-rw------- 1 leopardi leopardi 46K May  1 22:27 {f3ac49a8-b25e-472c-871a-63ab9105546d}
-rw------- 1 leopardi leopardi 46K May  1 22:26 {61db2e50-6b1a-46ac-b41a-83a1e2ea5f19}
-rw------- 1 leopardi leopardi 46K May  1 22:26 {02b6ab91-8357-4bcf-8c19-6f6937776276}
Comment 2 paul.leopardi 2018-05-03 22:03:03 UTC
Created attachment 112404 [details]
One of the files in the autosave directory

All the other files are the same as each other.
Comment 3 Christoph Feck 2018-09-27 01:04:26 UTC
*** Bug 398152 has been marked as a duplicate of this bug. ***
Comment 4 Justin Zobel 2020-12-17 05:38:30 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 5 Bug Janitor Service 2021-01-01 04:38:21 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 6 Bug Janitor Service 2021-01-16 04:37:11 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!