Bug 382461 - Kleopatra crashes when importing a p12 certificate.
Summary: Kleopatra crashes when importing a p12 certificate.
Status: RESOLVED WORKSFORME
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.2.0
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-07-18 09:48 UTC by Antonio García
Modified: 2021-01-16 04:36 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 Antonio García 2017-07-18 09:48:08 UTC
Application: kleopatra (2.2.0)
KDE Platform Version: 4.14.30
Qt Version: 4.8.6
Operating System: Linux 4.4.74-desktop-1.mga5 x86_64
Distribution: "Mageia 5"

-- Information about the crash:
- What I was doing when the application crashed:

I was importing a p12 certificate into Kleopatra in Mageia 5. After introducing my password to unlock the certificate, Kleopatra crashed.

-- Backtrace:
Application: Kleopatra (kleopatra), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7388d5b800 (LWP 6161))]

Thread 6 (Thread 0x7f7367e4a700 (LWP 6162)):
#0  0x00007f738060afc9 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007f73805c76fb in g_main_context_query () at /lib64/libglib-2.0.so.0
#2  0x00007f73805c7e32 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f73805c7fbc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f7385775e3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x00007f7385747931 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00007f7385747c45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#7  0x00007f7385645899 in QThread::exec() () at /lib64/libQtCore.so.4
#8  0x00007f73857293d3 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#9  0x00007f7385647fff in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#10 0x00007f7387da65bd in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7384ae762d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f7366248700 (LWP 6198)):
#0  0x00007f7384ad76fd in read () at /lib64/libc.so.6
#1  0x00007f7373310f55 in  () at /usr/lib64/nvidia340/tls/libnvidia-tls.so.340.101
#2  0x00007f7380609bf0 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#3  0x00007f73805c799c in g_main_context_check () at /lib64/libglib-2.0.so.0
#4  0x00007f73805c7e5b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#5  0x00007f73805c7fbc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#6  0x00007f7385775e3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#7  0x00007f7385747931 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#8  0x00007f7385747c45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#9  0x00007f7385645899 in QThread::exec() () at /lib64/libQtCore.so.4
#10 0x00007f73857293d3 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#11 0x00007f7385647fff in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#12 0x00007f7387da65bd in start_thread () at /lib64/libpthread.so.0
#13 0x00007f7384ae762d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f7367649700 (LWP 6199)):
#0  0x00007f7387daba28 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f73856484d2 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQtCore.so.4
#2  0x00000000005e86a0 in (anonymous namespace)::ReaderStatusThread::run() ()
#3  0x00007f7385647fff in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#4  0x00007f7387da65bd in start_thread () at /lib64/libpthread.so.0
#5  0x00007f7384ae762d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f7364ece700 (LWP 6219)):
#0  0x00007f7384adbd6d in poll () at /lib64/libc.so.6
#1  0x00007f73805c7eb4 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f73805c7fbc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f7385775e3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#4  0x00007f7385747931 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x00007f7385747c45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00007f7385645899 in QThread::exec() () at /lib64/libQtCore.so.4
#7  0x00007f73857293d3 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#8  0x00007f7385647fff in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#9  0x00007f7387da65bd in start_thread () at /lib64/libpthread.so.0
#10 0x00007f7384ae762d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f734ffff700 (LWP 6265)):
[KCrash Handler]
#5  0x00007f73881c6420 in assuan_sendfd () at /lib64/libassuan.so.0
#6  0x00007f73883ee6c6 in gpgsm_set_fd () at /lib64/libgpgme-pthread.so.11
#7  0x00007f73883ef2ce in gpgsm_getauditlog () at /lib64/libgpgme-pthread.so.11
#8  0x00007f73883e7899 in gpgme_op_getauditlog () at /lib64/libgpgme-pthread.so.11
#9  0x00007f738862af60 in GpgME::Context::getAuditLog(GpgME::Data&, unsigned int) () at /lib64/libgpgme++-pthread.so.2
#10 0x00007f73888f062c in Kleo::_detail::audit_log_as_html(GpgME::Context*, GpgME::Error&) () at /lib64/libkleo.so.4
#11 0x00007f7388901abf in import_qba(GpgME::Context*, QByteArray const&) () at /lib64/libkleo.so.4
#12 0x00007f7388901ff1 in boost::detail::function::function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified, boost::_bi::bind_t<boost::tuples::tuple<GpgME::ImportResult, QString, GpgME::Error, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::tuples::tuple<GpgME::ImportResult, QString, GpgME::Error, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> (*)(GpgME::Context*, QByteArray const&), boost::_bi::list2<boost::arg<1>, boost::_bi::value<QByteArray> > >, boost::_bi::list1<boost::_bi::value<GpgME::Context*> > >, boost::tuples::tuple<GpgME::ImportResult, QString, GpgME::Error, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >::invoke(boost::detail::function::function_buffer&) () at /lib64/libkleo.so.4
#13 0x00007f7388903148 in Kleo::_detail::Thread<boost::tuples::tuple<GpgME::ImportResult, QString, GpgME::Error, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >::run() () at /lib64/libkleo.so.4
#14 0x00007f7385647fff in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#15 0x00007f7387da65bd in start_thread () at /lib64/libpthread.so.0
#16 0x00007f7384ae762d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f7388d5b800 (LWP 6161)):
#0  0x00007f7384ad76fd in read () at /lib64/libc.so.6
#1  0x00007f7373310f55 in  () at /usr/lib64/nvidia340/tls/libnvidia-tls.so.340.101
#2  0x00007f7380609bf0 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#3  0x00007f73805c799c in g_main_context_check () at /lib64/libglib-2.0.so.0
#4  0x00007f73805c7e5b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#5  0x00007f73805c7fbc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#6  0x00007f7385775e1e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#7  0x00007f73861ee4f6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#8  0x00007f7385747931 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#9  0x00007f7385747c45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#10 0x00007f738574ce59 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#11 0x000000000043f920 in main ()

Reported using DrKonqi
Comment 1 Antonio García 2017-07-18 10:03:07 UTC
The crash occurs when the password inserted is not correct. The right password doesn't make Kleopatra crash.
Comment 2 Justin Zobel 2020-12-17 05:30:09 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:37:09 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:36:06 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!