[kleopatra] [Bug 316582] New: kleopatra and kmail crashing while importing x509 certs (s/mime)

Hendrik Lehmbruch hlehmbruch at gmx.net
Tue Mar 12 09:08:31 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=316582

            Bug ID: 316582
           Summary: kleopatra and kmail crashing while importing x509
                    certs (s/mime)
    Classification: Unclassified
           Product: kleopatra
           Version: unspecified
          Platform: Debian stable
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: hlehmbruch at gmx.net
                CC: mutz at kde.org

Application: kleopatra (2.0.12)
KDE Platform Version: 4.9.5
Qt Version: 4.8.2
Operating System: Linux 3.8-2.towo-siduction-amd64 x86_64
Distribution: Debian GNU/Linux 7.0 (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
I try to start kleopatra, also i try to to start it out of kmail to use a x509
cert by CAcert.
Kleoptra and kmail is crashing then.

-- Backtrace:
Application: Kleopatra (kleopatra), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
[Current thread is 1 (Thread 0x7f2f9cd01760 (LWP 15768))]

Thread 6 (Thread 0x7f2f80c88700 (LWP 15769)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2f990d96b8 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2f990d7aa1 in *__GI___libc_free (mem=0x7f2f993e1e60) at
malloc.c:3736
#3  0x00007f2f99d2fb13 in socketNotifierSourceCheck (source=0x15ab690) at
kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f2f93ed913b in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2f93ed95c2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f2f93ed9744 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f2f99d30276 in QEventDispatcherGlib::processEvents (this=0x15abb70,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f2f99d008af in QEventLoop::processEvents
(this=this at entry=0x7f2f80c87e10, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f2f99d00b38 in QEventLoop::exec (this=0x7f2f80c87e10, flags=...) at
kernel/qeventloop.cpp:204
#10 0x00007f2f99c03d70 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#11 0x00007f2f99ce11bf in QInotifyFileSystemWatcherEngine::run (this=0x1583200)
at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f2f99c06d0b in QThreadPrivate::start (arg=0x1583200) at
thread/qthread_unix.cpp:307
#13 0x00007f2f9c2beb50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#14 0x00007f2f99136a7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2f7b3e7700 (LWP 15779)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2f990d96b8 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2f990d7aa1 in *__GI___libc_free (mem=0x7f2f993e1e60) at
malloc.c:3736
#3  0x00007f2f99d185ec in cleanup (pointer=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#4  ~QScopedPointer (this=0x162da48, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#5  QObject::~QObject (this=0x162da40, __in_chrg=<optimized out>) at
kernel/qobject.cpp:817
#6  0x00007f2f99d306d9 in QEventDispatcherGlib::~QEventDispatcherGlib
(this=0x162da40, __in_chrg=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:403
#7  0x00007f2f99c05e21 in QThreadPrivate::finish (arg=arg at entry=0x7f2f9a058500)
at thread/qthread_unix.cpp:339
#8  0x00007f2f99c06d13 in ~__pthread_cleanup_class (this=<synthetic pointer>,
__in_chrg=<optimized out>) at /usr/include/pthread.h:545
#9  QThreadPrivate::start (arg=0x7f2f9a058500) at thread/qthread_unix.cpp:309
#10 0x00007f2f9c2beb50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#11 0x00007f2f99136a7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2f7abe6700 (LWP 15791)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2f99c0720b in wait (time=18446744073709551615, this=0x1588530) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x15bab20,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000000046a92e in (anonymous namespace)::ReaderStatusThread::run
(this=0x15bab10) at ../../kleopatra/smartcard/readerstatus.cpp:454
#4  0x00007f2f99c06d0b in QThreadPrivate::start (arg=0x15bab10) at
thread/qthread_unix.cpp:307
#5  0x00007f2f9c2beb50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#6  0x00007f2f99136a7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2f7bfff700 (LWP 15792)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2f990d96b8 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2f990d7aa1 in *__GI___libc_free (mem=0x7f2f993e1e60) at
malloc.c:3736
#3  0x00007f2f9c4de5a1 in ?? () from /usr/lib/libgpgme-pthread.so.11
#4  0x00007f2f9c4e7d7f in ?? () from /usr/lib/libgpgme-pthread.so.11
#5  0x00007f2f9c4f050f in ?? () from /usr/lib/libgpgme-pthread.so.11
#6  0x00007f2f9c4e791a in ?? () from /usr/lib/libgpgme-pthread.so.11
#7  0x00007f2f9c4f24da in ?? () from /usr/lib/libgpgme-pthread.so.11
#8  0x00007f2f9c4def00 in ?? () from /usr/lib/libgpgme-pthread.so.11
#9  0x00007f2f9c4e4736 in gpgme_op_keylist_next () from
/usr/lib/libgpgme-pthread.so.11
#10 0x00007f2f9c727962 in GpgME::Context::nextKey (this=<optimized out>, e=...)
at ../../gpgme++/context.cpp:474
#11 0x00007f2f9c9e7552 in do_list_keys (ctx=0x16b68f0, pats=..., keys=...,
secretOnly=secretOnly at entry=false) at
../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:74
#12 0x00007f2f9c9e7f69 in list_keys (ctx=0x16b68f0, pats=..., secretOnly=false)
at ../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:87
#13 0x00007f2f9c9eab66 in operator()<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key>, QString, GpgME::Error>,
boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString,
GpgME::Error> (*)(GpgME::Context*, QStringList, bool),
boost::_bi::list1<GpgME::Context*&> > (a=<synthetic pointer>, this=0x16609a8,
f=<optimized out>) at /usr/include/boost/bind/bind.hpp:382
#14 operator()<GpgME::Context*> (a1=@0x16609b8: 0x16b68f0, this=0x16609a0) at
/usr/include/boost/bind/bind_template.hpp:32
#15 operator()<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key>, QString, GpgME::Error>,
boost::_bi::bind_t<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key>, QString, GpgME::Error>,
boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString,
GpgME::Error> (*)(GpgME::Context*, QStringList, bool),
boost::_bi::list3<boost::arg<1>, boost::_bi::value<QStringList>,
boost::_bi::value<bool> > >, boost::_bi::list0> (f=..., this=0x16609b8, a=...)
at /usr/include/boost/bind/bind.hpp:243
#16 operator() (this=0x16609a0) at /usr/include/boost/bind/bind_template.hpp:20
#17
boost::detail::function::function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,
boost::_bi::bind_t<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key, std::allocator<GpgME::Key> >, 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::tuple<GpgME::KeyListResult, std::vector<GpgME::Key,
std::allocator<GpgME::Key> >, 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> (*)(GpgME::Context*,
QStringList, bool), boost::_bi::list3<boost::arg<1>,
boost::_bi::value<QStringList>, boost::_bi::value<bool> > >,
boost::_bi::list1<boost::_bi::value<GpgME::Context*> > >,
boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key,
std::allocator<GpgME::Key> >, 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> >::invoke
(function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:132
#18 0x00007f2f9c9ebf5f in operator() (this=0x16ca4b0) at
/usr/include/boost/function/function_template.hpp:760
#19 Kleo::_detail::Thread<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key, std::allocator<GpgME::Key> >, 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>
>::run (this=0x16ca498) at ../../libkleo/backends/qgpgme/threadedjobmixin.h:103
#20 0x00007f2f99c06d0b in QThreadPrivate::start (arg=0x16ca498) at
thread/qthread_unix.cpp:307
#21 0x00007f2f9c2beb50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#22 0x00007f2f99136a7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2f7a3e5700 (LWP 15793)):
[KCrash Handler]
#6  0x00007f2f9908e475 in *__GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f2f990916f0 in *__GI_abort () at abort.c:92
#8  0x00007f2f990c952b in __libc_message (do_abort=<optimized out>,
fmt=<optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f2f990d2d76 in malloc_printerr (action=3, str=0x7f2f991a7d7d
"realloc(): invalid next size", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f2f990d894c in _int_realloc (av=0x7f2f993e1e60, oldp=0x16a10d0,
oldsize=1024, nb=2208) at malloc.c:5238
#11 0x00007f2f990d8c60 in *__GI___libc_realloc (oldmem=0x16a10e0, bytes=2193)
at malloc.c:3821
#12 0x00007f2f9c4ed599 in ?? () from /usr/lib/libgpgme-pthread.so.11
#13 0x00007f2f9c4de6eb in ?? () from /usr/lib/libgpgme-pthread.so.11
#14 0x00007f2f9c4dee31 in ?? () from /usr/lib/libgpgme-pthread.so.11
#15 0x00007f2f9c4e4736 in gpgme_op_keylist_next () from
/usr/lib/libgpgme-pthread.so.11
#16 0x00007f2f9c727962 in GpgME::Context::nextKey (this=<optimized out>, e=...)
at ../../gpgme++/context.cpp:474
#17 0x00007f2f9c9e7552 in do_list_keys (ctx=0x1550210, pats=..., keys=...,
secretOnly=secretOnly at entry=false) at
../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:74
#18 0x00007f2f9c9e7f69 in list_keys (ctx=0x1550210, pats=..., secretOnly=false)
at ../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:87
#19 0x00007f2f9c9eab66 in operator()<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key>, QString, GpgME::Error>,
boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString,
GpgME::Error> (*)(GpgME::Context*, QStringList, bool),
boost::_bi::list1<GpgME::Context*&> > (a=<synthetic pointer>, this=0x16c1438,
f=<optimized out>) at /usr/include/boost/bind/bind.hpp:382
#20 operator()<GpgME::Context*> (a1=@0x16c1448: 0x1550210, this=0x16c1430) at
/usr/include/boost/bind/bind_template.hpp:32
#21 operator()<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key>, QString, GpgME::Error>,
boost::_bi::bind_t<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key>, QString, GpgME::Error>,
boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString,
GpgME::Error> (*)(GpgME::Context*, QStringList, bool),
boost::_bi::list3<boost::arg<1>, boost::_bi::value<QStringList>,
boost::_bi::value<bool> > >, boost::_bi::list0> (f=..., this=0x16c1448, a=...)
at /usr/include/boost/bind/bind.hpp:243
#22 operator() (this=0x16c1430) at /usr/include/boost/bind/bind_template.hpp:20
#23
boost::detail::function::function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified,
boost::_bi::bind_t<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key, std::allocator<GpgME::Key> >, 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::tuple<GpgME::KeyListResult, std::vector<GpgME::Key,
std::allocator<GpgME::Key> >, 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> (*)(GpgME::Context*,
QStringList, bool), boost::_bi::list3<boost::arg<1>,
boost::_bi::value<QStringList>, boost::_bi::value<bool> > >,
boost::_bi::list1<boost::_bi::value<GpgME::Context*> > >,
boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key,
std::allocator<GpgME::Key> >, 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> >::invoke
(function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:132
#24 0x00007f2f9c9ebf5f in operator() (this=0x16ce440) at
/usr/include/boost/function/function_template.hpp:760
#25 Kleo::_detail::Thread<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key, std::allocator<GpgME::Key> >, 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>
>::run (this=0x16ce428) at ../../libkleo/backends/qgpgme/threadedjobmixin.h:103
#26 0x00007f2f99c06d0b in QThreadPrivate::start (arg=0x16ce428) at
thread/qthread_unix.cpp:307
#27 0x00007f2f9c2beb50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#28 0x00007f2f99136a7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2f9cd01760 (LWP 15768)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2f990d96b8 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2f990d7aa1 in *__GI___libc_free (mem=0x7f2f993e1e60) at
malloc.c:3736
#3  0x00007f2f99d2fb13 in socketNotifierSourceCheck (source=0x141a150) at
kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f2f93ed913b in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2f93ed95c2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f2f93ed9744 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f2f99d30276 in QEventDispatcherGlib::processEvents (this=0x13d8b30,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f2f9a7b283e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#9  0x00007f2f99d008af in QEventLoop::processEvents
(this=this at entry=0x7fff544c9590, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f2f99d00b38 in QEventLoop::exec (this=0x7fff544c9590, flags=...) at
kernel/qeventloop.cpp:204
#11 0x000000000043799c in fillKeyCache (splash=0x7fff544c9610,
server=<optimized out>) at ../../kleopatra/main.cpp:162
#12 main (argc=<optimized out>, argv=0x7fff544c9748) at
../../kleopatra/main.cpp:249

Possible duplicates by query: bug 269031.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list