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". 81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [Current thread is 1 (Thread 0x7f766cce7900 (LWP 4961))] Thread 3 (Thread 0x7f7649780700 (LWP 4962)): #0 0x00007f76661331dd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f765fc86e24 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=<optimized out>) at gmain.c:3776 #3 0x00007f765fc86f3c in g_main_context_iteration (context=0x7f76440009a0, may_block=1) at gmain.c:3842 #4 0x00007f7666ddda3e in QEventDispatcherGlib::processEvents (this=0x7f76440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #5 0x00007f7666dad261 in QEventLoop::processEvents (this=this@entry=0x7f764977fc80, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f7666dad5c5 in QEventLoop::exec (this=this@entry=0x7f764977fc80, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f7666ca2b59 in QThread::exec (this=this@entry=0x1ff3df0) at thread/qthread.cpp:538 #8 0x00007f7666d8dcc3 in QInotifyFileSystemWatcherEngine::run (this=0x1ff3df0) at io/qfilesystemwatcher_inotify.cpp:265 #9 0x00007f7666ca53bf in QThreadPrivate::start (arg=0x1ff3df0) at thread/qthread_unix.cpp:349 #10 0x00007f766711e52a in start_thread (arg=0x7f7649780700) at pthread_create.c:310 #11 0x00007f766613e77d 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 0x00007f766c16aecc in gpgsm_assuan_simple_command (ctx=0x0, cmd=<optimized out>, status_fnc=0x0, status_fnc_value=0x0) at engine-gpgsm.c:572 #8 0x00007f766c16b3fb in gpgsm_keylist (engine=0x7f7630000a00, pattern=0x7f766c17759a "", secret_only=1, mode=257) at engine-gpgsm.c:1557 #9 0x00007f766c160730 in gpgme_op_keylist_start (ctx=0x1ed38e0, pattern=0x0, secret_only=1) at keylist.c:886 #10 0x00007f766c3a2a36 in GpgME::Context::startKeyListing (this=<optimized out>, pattern=<optimized out>, secretOnly=<optimized out>) at /usr/src/debug/kdepimlibs-4.14.3/gpgme++/context.cpp:469 #11 0x00007f766c3a2acb 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 0x00007f766c87b5b2 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 0x00007f766c87cc04 in list_keys (ctx=0x201cff0, mergeKeys=<optimized out>) at /usr/src/debug/kdepim-4.14.3/libkleo/backends/qgpgme/qgpgmelistallkeysjob.cpp:124 #14 0x00007f766c87e1b1 in operator()<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, std::vector<GpgME::Key>, QString, GpgME::Error>, boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, std::vector<GpgME::Key>, QString, GpgME::Error> (*)(GpgME::Context*, bool), boost::_bi::list1<GpgME::Context*&> > (f=<optimized out>, a=<synthetic pointer>, this=<optimized out>) at /usr/include/boost/bind/bind.hpp:303 #15 operator()<GpgME::Context*> (a1=<optimized out>, this=<optimized out>) at /usr/include/boost/bind/bind_template.hpp:32 #16 operator()<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, std::vector<GpgME::Key>, QString, GpgME::Error>, boost::_bi::bind_t<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, std::vector<GpgME::Key>, QString, GpgME::Error>, boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, std::vector<GpgME::Key>, QString, GpgME::Error> (*)(GpgME::Context*, bool), boost::_bi::list2<boost::arg<1>, boost::_bi::value<bool> > >, boost::_bi::list0> (a=<synthetic pointer>, f=..., this=<optimized out>) at /usr/include/boost/bind/bind.hpp:243 #17 operator() (this=<optimized out>) at /usr/include/boost/bind/bind_template.hpp:20 #18 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> >, 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::tuple<GpgME::KeyListResult, std::vector<GpgME::Key, std::allocator<GpgME::Key> >, 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> (*)(GpgME::Context*, bool), boost::_bi::list2<boost::arg<1>, 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> >, 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> >::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:132 #19 0x00007f766c88141d in operator() (this=0x2043f50) at /usr/include/boost/function/function_template.hpp:767 #20 Kleo::_detail::Thread<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key, std::allocator<GpgME::Key> >, 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> >::run (this=0x2043f38) at /usr/src/debug/kdepim-4.14.3/libkleo/backends/qgpgme/threadedjobmixin.h:103 #21 0x00007f7666ca53bf in QThreadPrivate::start (arg=0x2043f38) at thread/qthread_unix.cpp:349 #22 0x00007f766711e52a in start_thread (arg=0x7f76437fe700) at pthread_create.c:310 #23 0x00007f766613e77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f766cce7900 (LWP 4961)): #0 0x00007f76671261cd in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f765fcc9d30 in read (__nbytes=16, __buf=0x7fff77633d30, __fd=<optimized out>) at /usr/include/bits/unistd.h:44 #2 g_wakeup_acknowledge (wakeup=0x1e9f330) at gwakeup.c:210 #3 0x00007f765fc868ec in g_main_context_check (context=context@entry=0x1f01c40, max_priority=2147483647, fds=fds@entry=0x1efb650, n_fds=n_fds@entry=5) at gmain.c:3579 #4 0x00007f765fc86dc3 in g_main_context_iterate (context=context@entry=0x1f01c40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3778 #5 0x00007f765fc86f3c in g_main_context_iteration (context=0x1f01c40, may_block=1) at gmain.c:3842 #6 0x00007f7666ddda1e in QEventDispatcherGlib::processEvents (this=0x1ea39d0, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #7 0x00007f76681e4136 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #8 0x00007f7666dad261 in QEventLoop::processEvents (this=this@entry=0x7fff77634280, flags=...) at kernel/qeventloop.cpp:149 #9 0x00007f7666dad5c5 in QEventLoop::exec (this=this@entry=0x7fff77634280, flags=...) at kernel/qeventloop.cpp:204 #10 0x000000000043b687 in selfCheck (splash=...) at /usr/src/debug/kdepim-4.14.3/kleopatra/main.cpp:159 #11 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.14.3/kleopatra/main.cpp:294 Reported using DrKonqi
I'm a google code-in student who is doing a bug triaging task. I can't reproduce this bug, can you provide some more information?
Created attachment 90117 [details] attachment-22409-0.html Hi, Thank you for your reply. I am using Fedora 21 with Mate 1.8.1 as the window manager. I have Fedora repositories and rpmfusion. 1) When I start Kleopatra it produces a test report with one test failing : Gpg-Agent Connectivity , result : unexpected error and the details are : 'The error returned was : IPC parameter error' and when I continue ot crashes with sig11 - segmentation fault. 2) What I used KGpg for the first time it guided me through the setup where I accepted all the defaults. The end result was Kleopatra crash, details of which were submitted. 3) Note that I use a mixture of Mate , Gnome and KDE programs/applets none of which has been build from source. I will be more than happy to assist further but for now I guess it is Merry Christmas. Thanks again Regards Marek On 24 December 2014 at 15:30, pcchou <pcchou@pcchou.me> wrote: > https://bugs.kde.org/show_bug.cgi?id=342153 > > pcchou <pcchou@pcchou.me> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |pcchou@pcchou.me > > --- Comment #1 from pcchou <pcchou@pcchou.me> --- > I'm a google code-in student who is doing a bug triaging task. > I can't reproduce this bug, can you provide some more information? > > -- > You are receiving this mail because: > You reported the bug. >
Looks like the crash may be related to kleopatra expecting gpg-agent to be running (and not gracefully handling the case when it is not). fedora automatically starts gpg-agent in kde sessions, but other DE's don't support doing that easily.
Reporter, to test, try: $ source /etc/kde/env/gpg-agent-startup.sh $ kleopatra does it work better? (and when done, optionally cleanup with: $/etc/kde/shutdown/gpg-agent-shutdown.sh )
If you can provide the information requested in comment #4, please add it.
To further investigate this issue, KDE developers need the information requested in comment #4. If you can provide it, or need help with finding that information, please add a comment.
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 set the bug status 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!
Dear Bug Submitter, 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!