https://bugs.kde.org/show_bug.cgi?id=342153
Bug ID: 342153
Summary: Kelopatra crashes on the first start up if kgpg
Product: kleopatra
Version: 2.2.0
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kdepim-bugs@kde.org
Reporter: ciborowskima...@gmail.com
CC: m...@kde.org
Application: kleopatra (2.2.0)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.7-300.fc21.x86_64 x86_64
Distribution (Platform): Fedora RPMs
-- Information about the crash:
- What I was doing when the application crashed:
Starting kgpg for the first time. All information provided - defaults accepted.
-- Backtrace:
Application: Kleopatra (kleopatra), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f766cce7900 (LWP 4961))]
Thread 3 (Thread 0x7f7649780700 (LWP 4962)):
#0 0x7f76661331dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x7f765fc86e24 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f7644003460, timeout=-1, context=0x7f76440009a0) at gmain.c:4076
#2 g_main_context_iterate (context=context@entry=0x7f76440009a0,
block=block@entry=1, dispatch=dispatch@entry=1, self=) at
gmain.c:3776
#3 0x7f765fc86f3c in g_main_context_iteration (context=0x7f76440009a0,
may_block=1) at gmain.c:3842
#4 0x7f7666ddda3e in QEventDispatcherGlib::processEvents
(this=0x7f76440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5 0x7f7666dad261 in QEventLoop::processEvents
(this=this@entry=0x7f764977fc80, flags=...) at kernel/qeventloop.cpp:149
#6 0x7f7666dad5c5 in QEventLoop::exec (this=this@entry=0x7f764977fc80,
flags=...) at kernel/qeventloop.cpp:204
#7 0x7f7666ca2b59 in QThread::exec (this=this@entry=0x1ff3df0) at
thread/qthread.cpp:538
#8 0x7f7666d8dcc3 in QInotifyFileSystemWatcherEngine::run (this=0x1ff3df0)
at io/qfilesystemwatcher_inotify.cpp:265
#9 0x7f7666ca53bf in QThreadPrivate::start (arg=0x1ff3df0) at
thread/qthread_unix.cpp:349
#10 0x7f766711e52a in start_thread (arg=0x7f7649780700) at
pthread_create.c:310
#11 0x7f766613e77d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 2 (Thread 0x7f76437fe700 (LWP 5023)):
[KCrash Handler]
#6 assuan_write_line (ctx=ctx@entry=0x0, line=0x7f766c17a11b "GETINFO
agent-check") at assuan-buffer.c:323
#7 0x7f766c16aecc in gpgsm_assuan_simple_command (ctx=0x0, cmd=, status_fnc=0x0, status_fnc_value=0x0) at engine-gpgsm.c:572
#8 0x7f766c16b3fb in gpgsm_keylist (engine=0x7f763a00,
pattern=0x7f766c17759a "", secret_only=1, mode=257) at engine-gpgsm.c:1557
#9 0x7f766c160730 in gpgme_op_keylist_start (ctx=0x1ed38e0, pattern=0x0,
secret_only=1) at keylist.c:886
#10 0x7f766c3a2a36 in GpgME::Context::startKeyListing (this=, pattern=, secretOnly=) at
/usr/src/debug/kdepimlibs-4.14.3/gpgme++/context.cpp:469
#11 0x7f766c3a2acb in GpgME::Context::startKeyListing
(this=this@entry=0x201cff0, patterns=patterns@entry=0x0,
secretOnly=secretOnly@entry=true) at
/usr/src/debug/kdepimlibs-4.14.3/gpgme++/context.cpp:477
#12 0x7f766c87b5b2 in do_list_keys (ctx=ctx@entry=0x201cff0,
keys=std::vector of length 0, capacity 0, secretOnly=secretOnly@entry=true) at
/usr/src/debug/kdepim-4.14.3/libkleo/backends/qgpgme/qgpgmelistallkeysjob.cpp:70
#13 0x7f766c87cc04 in list_keys (ctx=0x201cff0, mergeKeys=)
at
/usr/src/debug/kdepim-4.14.3/libkleo/backends/qgpgme/qgpgmelistallkeysjob.cpp:124
#14 0x7f766c87e1b1 in operator(), std::vector, QString, GpgME::Error>,
boost::tuples::tuple,
std::vector, QString, GpgME::Error> (*)(GpgME::Context*, bool),
boost::_bi::list1 > (f=, a=, this=) at /usr/include/boost/bind/bind.hpp:303
#15 operator() (a1=, this=) at
/usr/include/boost/bind/bind_template.hpp:32
#16 operator(), std::vector, QString, GpgME::Error>,
boost::_bi::bind_t, std::vector, QString, GpgME::Error>,
boost::tuples::tuple,
std::vector, QString, GpgME::Error> (*)(GpgME::Context*, bool),
boost::_bi::list2, boost::_bi::value > >,
boost::_bi::list0> (a=, f=..., this=) at
/usr/include/boost/bind/bind.hpp:243
#17 operator() (this=) at
/usr/include/boost/bind/bind_template.hpp:20
#18
boost::detail::function::function_obj_invoker0 >, std::vector >, 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::tuple >, std::vector >, QString, GpgME::Error, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type> (*)(GpgME::Context*, bool),
boost::_bi::list2, boost::_bi::value > >,
boost::_bi::list1 > >,
boost::tuples::tuple >, std::vector >, QStr