Bug 316582 - kleopatra and kmail crashing while importing x509 certs (s/mime)
Summary: kleopatra and kmail crashing while importing x509 certs (s/mime)
Status: RESOLVED UPSTREAM
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.0.12
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 09:08 UTC by Hendrik Lehmbruch
Modified: 2016-07-14 09:33 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 Hendrik Lehmbruch 2013-03-12 09:08:31 UTC
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@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@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@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@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@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
Comment 1 Hendrik Lehmbruch 2013-03-12 09:12:49 UTC
here the output for kmail

Application: KMail (kmail), 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 0x7f2af0f24760 (LWP 16022))]

Thread 2 (Thread 0x7f2acbebd700 (LWP 16318)):
[KCrash Handler]
#6  0x00007f2aedf30475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f2aedf336f0 in *__GI_abort () at abort.c:92
#8  0x00007f2aedf6b52b in __libc_message (do_abort=<optimized out>, fmt=<optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f2aedf74d76 in malloc_printerr (action=3, str=0x7f2aee049d7d "realloc(): invalid next size", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f2aedf7a94c in _int_realloc (av=0x7f2ac4000020, oldp=0x7f2ac40010e0, oldsize=1024, nb=2480) at malloc.c:5238
#11 0x00007f2aedf7ac60 in *__GI___libc_realloc (oldmem=0x7f2ac40010f0, bytes=2471) at malloc.c:3821
#12 0x00007f2ae1eb4599 in ?? () from /usr/lib/libgpgme-pthread.so.11
#13 0x00007f2ae1ea56eb in ?? () from /usr/lib/libgpgme-pthread.so.11
#14 0x00007f2ae1ea5e31 in ?? () from /usr/lib/libgpgme-pthread.so.11
#15 0x00007f2ae1eab736 in gpgme_op_keylist_next () from /usr/lib/libgpgme-pthread.so.11
#16 0x00007f2ae883c962 in GpgME::Context::nextKey (this=<optimized out>, e=...) at ../../gpgme++/context.cpp:474
#17 0x00007f2ae8afc552 in do_list_keys (ctx=0x1eaa500, pats=..., keys=..., secretOnly=secretOnly@entry=false) at ../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:74
#18 0x00007f2ae8afcf69 in list_keys (ctx=0x1eaa500, pats=..., secretOnly=false) at ../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:87
#19 0x00007f2ae8affb66 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=0x2540688, f=<optimized out>) at /usr/include/boost/bind/bind.hpp:382
#20 operator()<GpgME::Context*> (a1=@0x2540698: 0x1eaa500, this=0x2540680) 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=0x2540698, a=...) at /usr/include/boost/bind/bind.hpp:243
#22 operator() (this=0x2540680) 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 0x00007f2ae8b00f5f in operator() (this=0x253ffa0) 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=0x253ff88) at ../../libkleo/backends/qgpgme/threadedjobmixin.h:103
#26 0x00007f2aee826d0b in QThreadPrivate::start (arg=0x253ff88) at thread/qthread_unix.cpp:307
#27 0x00007f2aebba8b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#28 0x00007f2aedfd8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2af0f24760 (LWP 16022)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2aedf7b6b8 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2aedf79aa1 in *__GI___libc_free (mem=0x7f2ac4000020) at malloc.c:3736
#3  0x00007f2aee8705d8 in QString::free (d=0x7f2ac4002b20) at tools/qstring.cpp:1235
#4  0x00007f2aee866e86 in ~QString (this=0x7f2ac4003570, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:880
#5  ~QRegExpEngineKey (this=0x7f2ac4003570, __in_chrg=<optimized out>) at tools/qregexp.cpp:870
#6  ~QHashNode (this=0x7f2ac4003560, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:216
#7  deleteNode2 (node=0x7f2ac4003560) at ../../include/QtCore/../../src/corelib/tools/qhash.h:521
#8  deleteNode (node=0x7f2ac4003560, this=0xca49e0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:511
#9  QHash<QRegExpEngineKey, QCache<QRegExpEngineKey, QRegExpEngine>::Node>::remove (this=this@entry=0xca49e0, akey=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:797
#10 0x00007f2aee866f2c in unlink (n=..., this=0xca49d0) at tools/qcache.h:74
#11 QCache<QRegExpEngineKey, QRegExpEngine>::trim (this=this@entry=0xca49d0, m=88) at tools/qcache.h:208
#12 0x00007f2aee86714b in QCache<QRegExpEngineKey, QRegExpEngine>::insert (this=0xca49d0, akey=..., aobject=aobject@entry=0xcc2c50, acost=acost@entry=12) at tools/qcache.h:188
#13 0x00007f2aee8630f4 in derefEngine (key=..., eng=0xcc2c50) at tools/qregexp.cpp:3687
#14 invalidateEngine (priv=0xcc1110) at tools/qregexp.cpp:3743
#15 0x00007f2aee86328c in QRegExp::~QRegExp (this=0x7f2af085c058, __in_chrg=<optimized out>) at tools/qregexp.cpp:3835
#16 0x00007f2aedf34df2 in __run_exit_handlers (status=1, listp=0x7f2aee2824c8, run_list_atexit=true) at exit.c:78
#17 0x00007f2aedf34e45 in *__GI_exit (status=-1006632928) at exit.c:100
#18 0x00007f2aeeec0018 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:770
#19 0x00007f2af0ab5818 in KApplication::xioErrhandler (this=0x7fff9331f040, dpy=0xd77530) at ../../kdeui/kernel/kapplication.cpp:419
#20 0x00007f2aed7e760e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#21 0x00007f2aed7e50ad in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#22 0x00007f2aed7d66af in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#23 0x00007f2aeeef769c in x11EventSourceCheck (s=0xd4bff0) at kernel/qguieventdispatcher_glib.cpp:85
#24 0x00007f2ae5ccc13b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f2ae5ccc5c2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f2ae5ccc744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f2aee950276 in QEventDispatcherGlib::processEvents (this=0xc75b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0x00007f2aeeef783e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f2aee9208af in QEventLoop::processEvents (this=this@entry=0x7fff9331c1b0, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f2aee920b38 in QEventLoop::exec (this=0x7fff9331c1b0, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f2aef30a358 in QDialog::exec (this=0x1cea8c0) at dialogs/qdialog.cpp:554
#32 0x00007f2ae8b6520f in Kleo::KeyRequester::slotDialogButtonClicked (this=0x202c690) at ../../libkleo/ui/keyrequester.cpp:337
#33 0x00007f2aee93754f in QMetaObject::activate (sender=0x202daa0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9331c360) at kernel/qobject.cpp:3547
#34 0x00007f2aef4bbf32 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#35 0x00007f2aef21006e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x202db30) at widgets/qabstractbutton.cpp:548
#36 0x00007f2aef2108a0 in QAbstractButtonPrivate::click (this=this@entry=0x202db30) at widgets/qabstractbutton.cpp:541
#37 0x00007f2aef210b0c in QAbstractButton::mouseReleaseEvent (this=0x202daa0, e=0x7fff9331cc00) at widgets/qabstractbutton.cpp:1123
#38 0x00007f2aeeea5e10 in QWidget::event (this=0x202daa0, event=0x7fff9331cc00) at kernel/qwidget.cpp:8371
#39 0x00007f2aeee5670c in QApplicationPrivate::notify_helper (this=this@entry=0xd79440, receiver=receiver@entry=0x202daa0, e=e@entry=0x7fff9331cc00) at kernel/qapplication.cpp:4556
#40 0x00007f2aeee5b3eb in QApplication::notify (this=<optimized out>, receiver=0x202daa0, e=0x7fff9331cc00) at kernel/qapplication.cpp:4099
#41 0x00007f2af0ab6a36 in KApplication::notify (this=0x7fff9331f040, receiver=0x202daa0, event=0x7fff9331cc00) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007f2aee921b5e in QCoreApplication::notifyInternal (this=0x7fff9331f040, receiver=0x202daa0, event=0x7fff9331cc00) at kernel/qcoreapplication.cpp:915
#43 0x00007f2aeee5754b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QApplicationPrivate::sendMouseEvent (receiver=0x202daa0, event=0x7fff9331cc00, alienWidget=0x202daa0, nativeWidget=0x202c690, buttonDown=0x7f2aef92c2a8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#45 0x00007f2aeeed1fc4 in QETWidget::translateMouseEvent (this=this@entry=0x202c690, event=event@entry=0x7fff9331d370) at kernel/qapplication_x11.cpp:4523
#46 0x00007f2aeeed0d51 in QApplication::x11ProcessEvent (this=0x7fff9331f040, event=0x7fff9331d370) at kernel/qapplication_x11.cpp:3646
#47 0x00007f2aeeef7bc2 in x11EventSourceDispatch (s=0xd4bff0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00007f2ae5ccc355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f2ae5ccc688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f2ae5ccc744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f2aee950276 in QEventDispatcherGlib::processEvents (this=0xc75b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#52 0x00007f2aeeef783e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f2aee9208af in QEventLoop::processEvents (this=this@entry=0x7fff9331d750, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f2aee920b38 in QEventLoop::exec (this=0x7fff9331d750, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f2aef30a358 in QDialog::exec (this=0x200e960) at dialogs/qdialog.cpp:554
#56 0x00007f2aefa5e93f in IdentityPage::slotModifyIdentity (this=0x1b14b40) at ../../kmail/configuredialog.cpp:410
#57 0x00007f2aee93754f in QMetaObject::activate (sender=0x179d430, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9331d900) at kernel/qobject.cpp:3547
#58 0x00007f2aef4bbf32 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#59 0x00007f2aef21006e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x1b1f850) at widgets/qabstractbutton.cpp:548
#60 0x00007f2aef2108a0 in QAbstractButtonPrivate::click (this=this@entry=0x1b1f850) at widgets/qabstractbutton.cpp:541
#61 0x00007f2aef210b0c in QAbstractButton::mouseReleaseEvent (this=0x179d430, e=0x7fff9331e1a0) at widgets/qabstractbutton.cpp:1123
#62 0x00007f2aeeea5e10 in QWidget::event (this=0x179d430, event=0x7fff9331e1a0) at kernel/qwidget.cpp:8371
#63 0x00007f2aeee5670c in QApplicationPrivate::notify_helper (this=this@entry=0xd79440, receiver=receiver@entry=0x179d430, e=e@entry=0x7fff9331e1a0) at kernel/qapplication.cpp:4556
#64 0x00007f2aeee5b3eb in QApplication::notify (this=<optimized out>, receiver=0x179d430, e=0x7fff9331e1a0) at kernel/qapplication.cpp:4099
#65 0x00007f2af0ab6a36 in KApplication::notify (this=0x7fff9331f040, receiver=0x179d430, event=0x7fff9331e1a0) at ../../kdeui/kernel/kapplication.cpp:311
#66 0x00007f2aee921b5e in QCoreApplication::notifyInternal (this=0x7fff9331f040, receiver=0x179d430, event=0x7fff9331e1a0) at kernel/qcoreapplication.cpp:915
#67 0x00007f2aeee5754b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#68 QApplicationPrivate::sendMouseEvent (receiver=0x179d430, event=0x7fff9331e1a0, alienWidget=0x179d430, nativeWidget=0x1a60c30, buttonDown=0x7f2aef92c2a8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#69 0x00007f2aeeed1fc4 in QETWidget::translateMouseEvent (this=this@entry=0x1a60c30, event=event@entry=0x7fff9331e910) at kernel/qapplication_x11.cpp:4523
#70 0x00007f2aeeed0d51 in QApplication::x11ProcessEvent (this=0x7fff9331f040, event=0x7fff9331e910) at kernel/qapplication_x11.cpp:3646
#71 0x00007f2aeeef7bc2 in x11EventSourceDispatch (s=0xd4bff0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#72 0x00007f2ae5ccc355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f2ae5ccc688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f2ae5ccc744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007f2aee950276 in QEventDispatcherGlib::processEvents (this=0xc75b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#76 0x00007f2aeeef783e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x00007f2aee9208af in QEventLoop::processEvents (this=this@entry=0x7fff9331ece0, flags=...) at kernel/qeventloop.cpp:149
#78 0x00007f2aee920b38 in QEventLoop::exec (this=0x7fff9331ece0, flags=...) at kernel/qeventloop.cpp:204
#79 0x00007f2aee925cf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#80 0x0000000000402fe6 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:158
Comment 2 Hendrik Lehmbruch 2013-03-12 09:15:56 UTC
(In reply to comment #1)

forgot the kmail version
kmail -v
Qt: 4.8.2
KDE Development Platform: 4.9.5
KMail: 1.13.7

> here the output for kmail
> 
> Application: KMail (kmail), 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 0x7f2af0f24760 (LWP 16022))]
> 
> Thread 2 (Thread 0x7f2acbebd700 (LWP 16318)):
> [KCrash Handler]
> #6  0x00007f2aedf30475 in *__GI_raise (sig=<optimized out>) at
> ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #7  0x00007f2aedf336f0 in *__GI_abort () at abort.c:92
> #8  0x00007f2aedf6b52b in __libc_message (do_abort=<optimized out>,
> fmt=<optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
> #9  0x00007f2aedf74d76 in malloc_printerr (action=3, str=0x7f2aee049d7d
> "realloc(): invalid next size", ptr=<optimized out>) at malloc.c:6283
> #10 0x00007f2aedf7a94c in _int_realloc (av=0x7f2ac4000020,
> oldp=0x7f2ac40010e0, oldsize=1024, nb=2480) at malloc.c:5238
> #11 0x00007f2aedf7ac60 in *__GI___libc_realloc (oldmem=0x7f2ac40010f0,
> bytes=2471) at malloc.c:3821
> #12 0x00007f2ae1eb4599 in ?? () from /usr/lib/libgpgme-pthread.so.11
> #13 0x00007f2ae1ea56eb in ?? () from /usr/lib/libgpgme-pthread.so.11
> #14 0x00007f2ae1ea5e31 in ?? () from /usr/lib/libgpgme-pthread.so.11
> #15 0x00007f2ae1eab736 in gpgme_op_keylist_next () from
> /usr/lib/libgpgme-pthread.so.11
> #16 0x00007f2ae883c962 in GpgME::Context::nextKey (this=<optimized out>,
> e=...) at ../../gpgme++/context.cpp:474
> #17 0x00007f2ae8afc552 in do_list_keys (ctx=0x1eaa500, pats=..., keys=...,
> secretOnly=secretOnly@entry=false) at
> ../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:74
> #18 0x00007f2ae8afcf69 in list_keys (ctx=0x1eaa500, pats=...,
> secretOnly=false) at ../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:87
> #19 0x00007f2ae8affb66 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=0x2540688, f=<optimized out>) at /usr/include/boost/bind/bind.hpp:382
> #20 operator()<GpgME::Context*> (a1=@0x2540698: 0x1eaa500, this=0x2540680)
> 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=0x2540698,
> a=...) at /usr/include/boost/bind/bind.hpp:243
> #22 operator() (this=0x2540680) 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 0x00007f2ae8b00f5f in operator() (this=0x253ffa0) 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=0x253ff88)
> at ../../libkleo/backends/qgpgme/threadedjobmixin.h:103
> #26 0x00007f2aee826d0b in QThreadPrivate::start (arg=0x253ff88) at
> thread/qthread_unix.cpp:307
> #27 0x00007f2aebba8b50 in start_thread (arg=<optimized out>) at
> pthread_create.c:304
> #28 0x00007f2aedfd8a7d in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #29 0x0000000000000000 in ?? ()
> 
> Thread 1 (Thread 0x7f2af0f24760 (LWP 16022)):
> #0  __lll_lock_wait_private () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
> #1  0x00007f2aedf7b6b8 in _L_lock_9627 () from
> /lib/x86_64-linux-gnu/libc.so.6
> #2  0x00007f2aedf79aa1 in *__GI___libc_free (mem=0x7f2ac4000020) at
> malloc.c:3736
> #3  0x00007f2aee8705d8 in QString::free (d=0x7f2ac4002b20) at
> tools/qstring.cpp:1235
> #4  0x00007f2aee866e86 in ~QString (this=0x7f2ac4003570,
> __in_chrg=<optimized out>) at
> ../../include/QtCore/../../src/corelib/tools/qstring.h:880
> #5  ~QRegExpEngineKey (this=0x7f2ac4003570, __in_chrg=<optimized out>) at
> tools/qregexp.cpp:870
> #6  ~QHashNode (this=0x7f2ac4003560, __in_chrg=<optimized out>) at
> ../../include/QtCore/../../src/corelib/tools/qhash.h:216
> #7  deleteNode2 (node=0x7f2ac4003560) at
> ../../include/QtCore/../../src/corelib/tools/qhash.h:521
> #8  deleteNode (node=0x7f2ac4003560, this=0xca49e0) at
> ../../include/QtCore/../../src/corelib/tools/qhash.h:511
> #9  QHash<QRegExpEngineKey, QCache<QRegExpEngineKey,
> QRegExpEngine>::Node>::remove (this=this@entry=0xca49e0, akey=...) at
> ../../include/QtCore/../../src/corelib/tools/qhash.h:797
> #10 0x00007f2aee866f2c in unlink (n=..., this=0xca49d0) at tools/qcache.h:74
> #11 QCache<QRegExpEngineKey, QRegExpEngine>::trim (this=this@entry=0xca49d0,
> m=88) at tools/qcache.h:208
> #12 0x00007f2aee86714b in QCache<QRegExpEngineKey, QRegExpEngine>::insert
> (this=0xca49d0, akey=..., aobject=aobject@entry=0xcc2c50,
> acost=acost@entry=12) at tools/qcache.h:188
> #13 0x00007f2aee8630f4 in derefEngine (key=..., eng=0xcc2c50) at
> tools/qregexp.cpp:3687
> #14 invalidateEngine (priv=0xcc1110) at tools/qregexp.cpp:3743
> #15 0x00007f2aee86328c in QRegExp::~QRegExp (this=0x7f2af085c058,
> __in_chrg=<optimized out>) at tools/qregexp.cpp:3835
> #16 0x00007f2aedf34df2 in __run_exit_handlers (status=1,
> listp=0x7f2aee2824c8, run_list_atexit=true) at exit.c:78
> #17 0x00007f2aedf34e45 in *__GI_exit (status=-1006632928) at exit.c:100
> #18 0x00007f2aeeec0018 in qt_xio_errhandler () at
> kernel/qapplication_x11.cpp:770
> #19 0x00007f2af0ab5818 in KApplication::xioErrhandler (this=0x7fff9331f040,
> dpy=0xd77530) at ../../kdeui/kernel/kapplication.cpp:419
> #20 0x00007f2aed7e760e in _XIOError () from
> /usr/lib/x86_64-linux-gnu/libX11.so.6
> #21 0x00007f2aed7e50ad in _XEventsQueued () from
> /usr/lib/x86_64-linux-gnu/libX11.so.6
> #22 0x00007f2aed7d66af in XEventsQueued () from
> /usr/lib/x86_64-linux-gnu/libX11.so.6
> #23 0x00007f2aeeef769c in x11EventSourceCheck (s=0xd4bff0) at
> kernel/qguieventdispatcher_glib.cpp:85
> #24 0x00007f2ae5ccc13b in g_main_context_check () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #25 0x00007f2ae5ccc5c2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #26 0x00007f2ae5ccc744 in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #27 0x00007f2aee950276 in QEventDispatcherGlib::processEvents
> (this=0xc75b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
> #28 0x00007f2aeeef783e in QGuiEventDispatcherGlib::processEvents
> (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
> #29 0x00007f2aee9208af in QEventLoop::processEvents
> (this=this@entry=0x7fff9331c1b0, flags=...) at kernel/qeventloop.cpp:149
> #30 0x00007f2aee920b38 in QEventLoop::exec (this=0x7fff9331c1b0, flags=...)
> at kernel/qeventloop.cpp:204
> #31 0x00007f2aef30a358 in QDialog::exec (this=0x1cea8c0) at
> dialogs/qdialog.cpp:554
> #32 0x00007f2ae8b6520f in Kleo::KeyRequester::slotDialogButtonClicked
> (this=0x202c690) at ../../libkleo/ui/keyrequester.cpp:337
> #33 0x00007f2aee93754f in QMetaObject::activate (sender=0x202daa0,
> m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9331c360)
> at kernel/qobject.cpp:3547
> #34 0x00007f2aef4bbf32 in QAbstractButton::clicked (this=<optimized out>,
> _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
> #35 0x00007f2aef21006e in QAbstractButtonPrivate::emitClicked
> (this=this@entry=0x202db30) at widgets/qabstractbutton.cpp:548
> #36 0x00007f2aef2108a0 in QAbstractButtonPrivate::click
> (this=this@entry=0x202db30) at widgets/qabstractbutton.cpp:541
> #37 0x00007f2aef210b0c in QAbstractButton::mouseReleaseEvent
> (this=0x202daa0, e=0x7fff9331cc00) at widgets/qabstractbutton.cpp:1123
> #38 0x00007f2aeeea5e10 in QWidget::event (this=0x202daa0,
> event=0x7fff9331cc00) at kernel/qwidget.cpp:8371
> #39 0x00007f2aeee5670c in QApplicationPrivate::notify_helper
> (this=this@entry=0xd79440, receiver=receiver@entry=0x202daa0,
> e=e@entry=0x7fff9331cc00) at kernel/qapplication.cpp:4556
> #40 0x00007f2aeee5b3eb in QApplication::notify (this=<optimized out>,
> receiver=0x202daa0, e=0x7fff9331cc00) at kernel/qapplication.cpp:4099
> #41 0x00007f2af0ab6a36 in KApplication::notify (this=0x7fff9331f040,
> receiver=0x202daa0, event=0x7fff9331cc00) at
> ../../kdeui/kernel/kapplication.cpp:311
> #42 0x00007f2aee921b5e in QCoreApplication::notifyInternal
> (this=0x7fff9331f040, receiver=0x202daa0, event=0x7fff9331cc00) at
> kernel/qcoreapplication.cpp:915
> #43 0x00007f2aeee5754b in sendEvent (event=<optimized out>,
> receiver=<optimized out>) at
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
> #44 QApplicationPrivate::sendMouseEvent (receiver=0x202daa0,
> event=0x7fff9331cc00, alienWidget=0x202daa0, nativeWidget=0x202c690,
> buttonDown=0x7f2aef92c2a8, lastMouseReceiver=..., spontaneous=true) at
> kernel/qapplication.cpp:3167
> #45 0x00007f2aeeed1fc4 in QETWidget::translateMouseEvent
> (this=this@entry=0x202c690, event=event@entry=0x7fff9331d370) at
> kernel/qapplication_x11.cpp:4523
> #46 0x00007f2aeeed0d51 in QApplication::x11ProcessEvent
> (this=0x7fff9331f040, event=0x7fff9331d370) at
> kernel/qapplication_x11.cpp:3646
> #47 0x00007f2aeeef7bc2 in x11EventSourceDispatch (s=0xd4bff0, callback=0,
> user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
> #48 0x00007f2ae5ccc355 in g_main_context_dispatch () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #49 0x00007f2ae5ccc688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #50 0x00007f2ae5ccc744 in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #51 0x00007f2aee950276 in QEventDispatcherGlib::processEvents
> (this=0xc75b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
> #52 0x00007f2aeeef783e in QGuiEventDispatcherGlib::processEvents
> (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
> #53 0x00007f2aee9208af in QEventLoop::processEvents
> (this=this@entry=0x7fff9331d750, flags=...) at kernel/qeventloop.cpp:149
> #54 0x00007f2aee920b38 in QEventLoop::exec (this=0x7fff9331d750, flags=...)
> at kernel/qeventloop.cpp:204
> #55 0x00007f2aef30a358 in QDialog::exec (this=0x200e960) at
> dialogs/qdialog.cpp:554
> #56 0x00007f2aefa5e93f in IdentityPage::slotModifyIdentity (this=0x1b14b40)
> at ../../kmail/configuredialog.cpp:410
> #57 0x00007f2aee93754f in QMetaObject::activate (sender=0x179d430,
> m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9331d900)
> at kernel/qobject.cpp:3547
> #58 0x00007f2aef4bbf32 in QAbstractButton::clicked (this=<optimized out>,
> _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
> #59 0x00007f2aef21006e in QAbstractButtonPrivate::emitClicked
> (this=this@entry=0x1b1f850) at widgets/qabstractbutton.cpp:548
> #60 0x00007f2aef2108a0 in QAbstractButtonPrivate::click
> (this=this@entry=0x1b1f850) at widgets/qabstractbutton.cpp:541
> #61 0x00007f2aef210b0c in QAbstractButton::mouseReleaseEvent
> (this=0x179d430, e=0x7fff9331e1a0) at widgets/qabstractbutton.cpp:1123
> #62 0x00007f2aeeea5e10 in QWidget::event (this=0x179d430,
> event=0x7fff9331e1a0) at kernel/qwidget.cpp:8371
> #63 0x00007f2aeee5670c in QApplicationPrivate::notify_helper
> (this=this@entry=0xd79440, receiver=receiver@entry=0x179d430,
> e=e@entry=0x7fff9331e1a0) at kernel/qapplication.cpp:4556
> #64 0x00007f2aeee5b3eb in QApplication::notify (this=<optimized out>,
> receiver=0x179d430, e=0x7fff9331e1a0) at kernel/qapplication.cpp:4099
> #65 0x00007f2af0ab6a36 in KApplication::notify (this=0x7fff9331f040,
> receiver=0x179d430, event=0x7fff9331e1a0) at
> ../../kdeui/kernel/kapplication.cpp:311
> #66 0x00007f2aee921b5e in QCoreApplication::notifyInternal
> (this=0x7fff9331f040, receiver=0x179d430, event=0x7fff9331e1a0) at
> kernel/qcoreapplication.cpp:915
> #67 0x00007f2aeee5754b in sendEvent (event=<optimized out>,
> receiver=<optimized out>) at
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
> #68 QApplicationPrivate::sendMouseEvent (receiver=0x179d430,
> event=0x7fff9331e1a0, alienWidget=0x179d430, nativeWidget=0x1a60c30,
> buttonDown=0x7f2aef92c2a8, lastMouseReceiver=..., spontaneous=true) at
> kernel/qapplication.cpp:3167
> #69 0x00007f2aeeed1fc4 in QETWidget::translateMouseEvent
> (this=this@entry=0x1a60c30, event=event@entry=0x7fff9331e910) at
> kernel/qapplication_x11.cpp:4523
> #70 0x00007f2aeeed0d51 in QApplication::x11ProcessEvent
> (this=0x7fff9331f040, event=0x7fff9331e910) at
> kernel/qapplication_x11.cpp:3646
> #71 0x00007f2aeeef7bc2 in x11EventSourceDispatch (s=0xd4bff0, callback=0,
> user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
> #72 0x00007f2ae5ccc355 in g_main_context_dispatch () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #73 0x00007f2ae5ccc688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #74 0x00007f2ae5ccc744 in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #75 0x00007f2aee950276 in QEventDispatcherGlib::processEvents
> (this=0xc75b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
> #76 0x00007f2aeeef783e in QGuiEventDispatcherGlib::processEvents
> (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
> #77 0x00007f2aee9208af in QEventLoop::processEvents
> (this=this@entry=0x7fff9331ece0, flags=...) at kernel/qeventloop.cpp:149
> #78 0x00007f2aee920b38 in QEventLoop::exec (this=0x7fff9331ece0, flags=...)
> at kernel/qeventloop.cpp:204
> #79 0x00007f2aee925cf8 in QCoreApplication::exec () at
> kernel/qcoreapplication.cpp:1187
> #80 0x0000000000402fe6 in main (argc=<optimized out>, argv=<optimized out>)
> at ../../kmail/main.cpp:158
Comment 3 Emanuel Schütze 2013-05-10 06:50:41 UTC
Can you test a current Kleopatra from KDE 4.10.3 please? Works for me without crash in Kleopatra (KDE 4.10.3) of Ggp4win.
Comment 4 Hendrik Lehmbruch 2013-07-29 18:00:47 UTC
Sorry for the big delay.
at the moment kleopatra  did not start, see the terminal output below.
The systray icon is visible but nothing more,
---------------------------------
kleopatra -v
Qt: 4.8.5
KDE: 4.10.5
Kleopatra: 2.1.1
hhl@hhl:~$ kleopatra
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
chan_17 -> OK GPG UI server (Kleopatra/2.1.1) ready to serve
chan_16 <- OK GPG UI server (Kleopatra/2.1.1) ready to serve
chan_16 -> GETINFO pid
chan_17 <- GETINFO pid
chan_17 -> D 17820
chan_17 -> OK
chan_16 <- D 17820
chan_16 <- OK
Server PID = 17820 
chan_16 -> BYE
chan_17 <- BYE
chan_17 -> OK closing connection
ChecksumDefinition[ "sha1sum" ] ("xargs", "-0", "sha1sum", "--") 
ChecksumDefinition[ "sha1sum" ] find -print0 |  "/usr/bin/xargs" ("-0", "sha1sum", "--") 
ChecksumDefinition[ "sha1sum" ] ("sha1sum", "-c", "--") 
ChecksumDefinition[ "sha1sum" ] "/usr/bin/sha1sum" ("-c", "--") "%f" () 
ChecksumDefinition[ "md5sum" ] ("xargs", "-0", "md5sum", "--") 
ChecksumDefinition[ "md5sum" ] find -print0 |  "/usr/bin/xargs" ("-0", "md5sum", "--") 
ChecksumDefinition[ "md5sum" ] ("md5sum", "-c", "--") 
ChecksumDefinition[ "md5sum" ] "/usr/bin/md5sum" ("-c", "--") "%f" () 
hhl@hhl:~$ QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
*** Error in `kleopatra': realloc(): invalid next size: 0x00007f472c004570 ***
Comment 5 Emanuel Schütze 2013-07-30 06:47:03 UTC
Andre can you look at this Kleo crash?
Comment 6 Andre Heinecke 2016-07-14 09:33:33 UTC
I am pretty sure that this was fixed in gpgme-1.5.5

Which contained:
"Fixed crash in key listings for user ids with a backslash."

This caused a similar backtrace. Crash on realloc in gpgme_op_keylist.

Resolving this as fixed upstream.