Bug 353876 - KMail crashes on start
Summary: KMail crashes on start
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 5.1.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-13 20:08 UTC by Victor Yacovlev
Modified: 2021-01-16 04:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Yacovlev 2015-10-13 20:08:50 UTC
Application: kmail (5.0.2)

Qt Version: 5.5.0
Operating System: Linux 4.2.1-1-desktop x86_64
Distribution: "openSUSE Tumbleweed (20151002) (x86_64)"

-- Information about the crash:
Just does not work. 
It was KMail4 previously installed. Maybe this is a problem?

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdb54a2d940 (LWP 9339))]

Thread 3 (Thread 0x7fdb2e726700 (LWP 9340)):
#0  0x00007fdb51a52e7d in poll () from /lib64/libc.so.6
#1  0x00007fdb451c7432 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fdb451c9007 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fdb3044ee89 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fdb52358a9f in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007fdb4849e4a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fdb51a5b80d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fdb23e14700 (LWP 9357)):
#0  0x00007fdb51a52e7d in poll () from /lib64/libc.so.6
#1  0x00007fdb47c81e94 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fdb47c81f9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fdb5257d35b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fdb5252747a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fdb52353c6c in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fdb52358a9f in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fdb4849e4a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fdb51a5b80d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fdb54a2d940 (LWP 9339)):
[KCrash Handler]
#6  0x00007fdb519a67a8 in raise () from /lib64/libc.so.6
#7  0x00007fdb519a7bfa in abort () from /lib64/libc.so.6
#8  0x00007fdb519e51ba in __libc_message () from /lib64/libc.so.6
#9  0x00007fdb519eaaf6 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fdb519eb2de in _int_free () from /lib64/libc.so.6
#11 0x00007fdb4e94334d in deallocate (this=0x7ffc11201ba8, __p=<optimized out>) at /usr/include/c++/5/ext/new_allocator.h:110
#12 deallocate (__a=..., __n=<optimized out>, __p=<optimized out>) at /usr/include/c++/5/bits/alloc_traits.h:386
#13 _M_destroy (__size=<optimized out>, this=0x7ffc11201ba8) at /usr/include/c++/5/bits/basic_string.h:185
#14 _M_dispose (this=0x7ffc11201ba8) at /usr/include/c++/5/bits/basic_string.h:180
#15 ~basic_string (this=0x7ffc11201ba8, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/basic_string.h:544
#16 ~Error (this=0x7ffc11201ba0, __in_chrg=<optimized out>) at /usr/include/KF5/gpgme++/error.h:41
#17 check (proto=proto@entry=GpgME::OpenPGP, reason=reason@entry=0x7ffc11201cb0) at /usr/src/debug/kdepim-15.08.2/libkleo/backends/qgpgme/qgpgmebackend.cpp:415
#18 0x00007fdb4e943eea in Kleo::QGpgMEBackend::checkForProtocol (this=<optimized out>, name=0x7fdb4e9d3408 <Kleo::CryptoBackend::OpenPGP> "OpenPGP", reason=0x7ffc11201cb0) at /usr/src/debug/kdepim-15.08.2/libkleo/backends/qgpgme/qgpgmebackend.cpp:450
#19 0x00007fdb4e913235 in Kleo::CryptoBackendFactory::scanForBackends (this=this@entry=0x2b1e7a0, reasons=reasons@entry=0x0) at /usr/src/debug/kdepim-15.08.2/libkleo/kleo/cryptobackendfactory.cpp:186
#20 0x00007fdb4e913ccc in Kleo::CryptoBackendFactory::CryptoBackendFactory (this=0x2b1e7a0) at /usr/src/debug/kdepim-15.08.2/libkleo/kleo/cryptobackendfactory.cpp:84
#21 0x00007fdb4e913da5 in Kleo::CryptoBackendFactory::instance () at /usr/src/debug/kdepim-15.08.2/libkleo/kleo/cryptobackendfactory.cpp:105
#22 0x00007fdb54390536 in KMComposeWin::changeCryptoAction (this=this@entry=0x27eb040) at /usr/src/debug/kdepim-15.08.2/kmail/editor/kmcomposewin.cpp:1421
#23 0x00007fdb54398d18 in KMComposeWin::setupActions (this=this@entry=0x27eb040) at /usr/src/debug/kdepim-15.08.2/kmail/editor/kmcomposewin.cpp:1379
#24 0x00007fdb543a41d2 in KMComposeWin::KMComposeWin (this=this@entry=0x27eb040, aMsg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::NoTemplate, id=id@entry=0, textSelection=..., customTemplate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-15.08.2/kmail/editor/kmcomposewin.cpp:460
#25 0x00007fdb543a4bf1 in KMComposeWin::create (msg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::NoTemplate, identity=identity@entry=0, textSelection=..., customTemplate=...) at /usr/src/debug/kdepim-15.08.2/kmail/editor/kmcomposewin.cpp:216
#26 0x00007fdb543a4c2c in KMail::makeComposer (msg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::NoTemplate, identity=identity@entry=0, textSelection=..., customTemplate=...) at /usr/src/debug/kdepim-15.08.2/kmail/editor/kmcomposewin.cpp:209
#27 0x00007fdb542af638 in KMKernel::recoverDeadLetters (this=this@entry=0x7ffc11203450) at /usr/src/debug/kdepim-15.08.2/kmail/kmkernel.cpp:1240
#28 0x00000000004044eb in main (argc=3, argv=0x7ffc11203668) at /usr/src/debug/kdepim-15.08.2/kmail/main.cpp:152

Reported using DrKonqi
Comment 1 Aitor 2016-01-17 08:45:11 UTC
I'm unable to start Kmail since a couple of versions with a similar crash on Kleo::CryptoBackendFactory::scanForBackends

Running it in a clean environment works well, but I'm not willing to drop my data.

Kmail: 5.1.1
Kleopatra: 2.2.0
Qt: 5.5.1
Distro: Archlinux
Kernel: 4.3.3.2 x86_64

Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1a79b94840 (LWP 16240))]

Thread 11 (Thread 0x7f1a781c7700 (LWP 16241)):
#0  0x00007f1a91a8018d in poll () from /usr/lib/libc.so.6
#1  0x00007f1a8bf93ae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f1a8bf95757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f1a798ed379 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f1a92381b8e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f1a755e6700 (LWP 16242)):
#0  0x00007f1a8b96f07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f1a8fc7048b in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f1a8fc704c9 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f1a2e1d8700 (LWP 16243)):
#0  0x00007f1a8b191270 in ?? () from /usr/lib/libglib-2.0.so.0
#1  0x00007f1a8b14daa4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0x00007f1a8b14df60 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f1a8b14e0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f1a925b956b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f1a9256057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f1a9237cbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007f1a92381b8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f1a27df7700 (LWP 16246)):
#0  0x00007f1a8b96f07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f1a8f96f644 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f1a8fca0101 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f1a275f6700 (LWP 16247)):
#0  0x00007f1a8b96f07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f1a8f9706b3 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f1a8fca0101 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f1a152d8700 (LWP 16248)):
#0  0x00007f1a91a8018d in poll () from /usr/lib/libc.so.6
#1  0x00007f1a8b14dfbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f1a8b14e0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f1a925b956b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f1a9256057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f1a9237cbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f1a92381b8e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f1a14ad7700 (LWP 16249)):
#0  0x00007f1a8b192614 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f1a8b14df76 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f1a8b14e0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f1a925b956b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f1a9256057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f1a9237cbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f1a92381b8e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f1a0ffff700 (LWP 16250)):
#0  0x00007ffe363e3c8f in clock_gettime ()
#1  0x00007f1a91a95d36 in clock_gettime () from /usr/lib/libc.so.6
#2  0x00007f1a92432256 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f1a925b6fe9 in QTimerInfoList::updateCurrentTime() () from /usr/lib/libQt5Core.so.5
#4  0x00007f1a925b7555 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/libQt5Core.so.5
#5  0x00007f1a925b894e in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f1a8b14d54d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0x00007f1a8b14deeb in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x00007f1a8b14e0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0x00007f1a925b956b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#10 0x00007f1a9256057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#11 0x00007f1a9237cbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#12 0x00007f1a92381b8e in ?? () from /usr/lib/libQt5Core.so.5
#13 0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#14 0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f1a0f7fe700 (LWP 16256)):
#0  0x00007ffe363e3c8f in clock_gettime ()
#1  0x00007f1a91a95d36 in clock_gettime () from /usr/lib/libc.so.6
#2  0x00007f1a92432256 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f1a925b6fe9 in QTimerInfoList::updateCurrentTime() () from /usr/lib/libQt5Core.so.5
#4  0x00007f1a925b7555 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/libQt5Core.so.5
#5  0x00007f1a925b894e in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f1a8b14d54d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0x00007f1a8b14deeb in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x00007f1a8b14e0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0x00007f1a925b956b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#10 0x00007f1a9256057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#11 0x00007f1a9237cbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#12 0x00007f1a92381b8e in ?? () from /usr/lib/libQt5Core.so.5
#13 0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#14 0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f1a0e2d5700 (LWP 16258)):
#0  0x00007f1a91a8018d in poll () from /usr/lib/libc.so.6
#1  0x00007f1a8b14dfbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f1a8b14e0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f1a925b956b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f1a9256057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f1a9237cbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f1a92381b8e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f1a8b9694a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f1a91a8913d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1a79b94840 (LWP 16240)):
[KCrash Handler]
#5  0x00007f1a919d35f8 in raise () from /usr/lib/libc.so.6
#6  0x00007f1a919d4a7a in abort () from /usr/lib/libc.so.6
#7  0x00007f1a91a1205a in __libc_message () from /usr/lib/libc.so.6
#8  0x00007f1a91a179a6 in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007f1a91a1818e in _int_free () from /usr/lib/libc.so.6
#10 0x00007f1a16b5d8bd in ?? () from /usr/lib/libKF5Libkleo.so.5
#11 0x00007f1a16b5e47a in ?? () from /usr/lib/libKF5Libkleo.so.5
#12 0x00007f1a16b1d585 in Kleo::CryptoBackendFactory::scanForBackends(QStringList*) () from /usr/lib/libKF5Libkleo.so.5
#13 0x00007f1a16b1dfce in Kleo::CryptoBackendFactory::CryptoBackendFactory() () from /usr/lib/libKF5Libkleo.so.5
#14 0x00007f1a16b1e0d5 in Kleo::CryptoBackendFactory::instance() () from /usr/lib/libKF5Libkleo.so.5
#15 0x00007f1a1d248198 in ?? () from /usr/lib/libkmailprivate.so.5
#16 0x00007f1a1d250708 in ?? () from /usr/lib/libkmailprivate.so.5
#17 0x00007f1a1d2605b2 in ?? () from /usr/lib/libkmailprivate.so.5
#18 0x00007f1a1d261441 in ?? () from /usr/lib/libkmailprivate.so.5
#19 0x00007f1a1d143a7c in KMKernel::recoverDeadLetters() () from /usr/lib/libkmailprivate.so.5
#20 0x00007f1a1d54f339 in ?? () from /usr/lib/qt/plugins/kmailpart.so
#21 0x00007f1a1d54f9c1 in ?? () from /usr/lib/qt/plugins/kmailpart.so
#22 0x00007f1a93624a30 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libKF5CoreAddons.so.5
#23 0x00007f1a9409b204 in KontactInterface::Core::createPart(char const*) () from /usr/lib/libKF5KontactInterface.so.5
#24 0x00007f1a265766c6 in ?? () from /usr/lib/qt/plugins/kontact_kmailplugin.so
#25 0x00007f1a9409e6dc in KontactInterface::Plugin::part() () from /usr/lib/libKF5KontactInterface.so.5
#26 0x00007f1a942c86e8 in Kontact::MainWindow::selectPlugin(KontactInterface::Plugin*) () from /usr/lib/libkontactprivate.so.5
#27 0x00007f1a942c4544 in Kontact::MainWindow::loadSettings() () from /usr/lib/libkontactprivate.so.5
#28 0x00007f1a942cbc4a in Kontact::MainWindow::initObject() () from /usr/lib/libkontactprivate.so.5
#29 0x00007f1a942cc4e8 in Kontact::MainWindow::MainWindow() () from /usr/lib/libkontactprivate.so.5
#30 0x0000000000405824 in KontactApp::activate(QStringList const&, QString const&) ()
#31 0x00007f1a940a121d in KontactInterface::PimUniqueApplication::start(QStringList const&, bool) () from /usr/lib/libKF5KontactInterface.so.5
#32 0x00000000004049b2 in main ()
Comment 2 Justin Zobel 2020-12-17 05:27:35 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 3 Bug Janitor Service 2021-01-01 04:35:20 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 2021-01-16 04:34: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!