[kleopatra] [Bug 450824] crash when closing kleopatra

2023-08-29 Thread Andre Heinecke
https://bugs.kde.org/show_bug.cgi?id=450824

Andre Heinecke  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #8 from Andre Heinecke  ---
Thanks for the detailed update. Looking into it. I added a tracking task in our
GnuPG dev tracker. https://dev.gnupg.org/T6688 since this is mostly a GPGME
issue. I hope to remember to close this as  "Resoived upstream" once we have a
fix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2023-08-28 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=450824

--- Comment #7 from Yaroslav Sidlovsky  ---
Gpgme line where assert is triggered:
https://github.com/gpg/gpgme/blob/3f297387bf401475385c458e4d1d95b3eefaf3d8/src/wait-global.c#L125C3-L125C15

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2023-08-28 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=450824

--- Comment #6 from Yaroslav Sidlovsky  ---
Created attachment 161241
  --> https://bugs.kde.org/attachment.cgi?id=161241=edit
More detailed stacktrace from gdb

More detailed stacktrace.

Output from console:
---
org.kde.pim.kleopatra: Running SCD SERIALNO --all failed: Service is not
running (code: 318, source: SCD)
org.kde.pim.kleopatra: SmartCardWidget::Private::cardAddedOrChanged: App  is
not supported
kleopatra: wait-global.c:125: ctx_done: Assertion `li' failed.
KCrash: Application 'kleopatra' crashing...
The Wayland connection experienced a fatal error: Bad file descriptor
---

I think that this line is interesting: `kleopatra: wait-global.c:125: ctx_done:
Assertion `li' failed.`

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2023-08-28 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=450824

--- Comment #5 from Yaroslav Sidlovsky  ---
Created attachment 161240
  --> https://bugs.kde.org/attachment.cgi?id=161240=edit
New crash information added by DrKonqi

kleopatra (3.1.28.230800 (23.08.0)) using Qt 5.15.10

Crashing on exit

-- Backtrace (Reduced):
#9  0x7f68ab180cc5 in _gpgme_wait_global_event_cb () from
/lib64/libgpgme.so.11
#10 0x7f68ab1b3fb4 in _gpgme_cancel_with_err () from /lib64/libgpgme.so.11
#11 0x7f68ab1b4166 in gpgme_cancel () from /lib64/libgpgme.so.11
#12 0x7f68ab1eff8c in GpgME::Context::cancelPendingOperationImmediately()
() from /lib64/libgpgmepp.so.6
#13 0x557b4c973041 in Kleo::DeviceInfoWatcher::Worker::~Worker
(this=, this=) at
/usr/src/debug/kleopatra-23.08.0-1.fc38.x86_64/src/smartcard/deviceinfowatcher.cpp:37

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2023-05-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=450824

--- Comment #4 from yescal...@gmail.com ---
Created attachment 158733
  --> https://bugs.kde.org/attachment.cgi?id=158733=edit
New crash information added by DrKonqi

kleopatra (3.1.26.230400 (23.04.0)) using Qt 5.15.9

I'm running Kleopatra 3.1.26.230400 with GnuPG 2.4.1, GPGME 1.20.0, and
Libgcrypt 1.10.2.

Kleopatra crashes every time when it's shut down via the system tray menu.

I can only reproduce the crash when the `disable-scdaemon` option is enabled in
the `gpg-agent.conf`.

I cannot reproduce the crash with GnuPG 2.2.41 (LTS) installed instead.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (threadid=,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x7fd98da9f2d3 in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78
#8  0x7fd98da4fa08 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#9  0x7fd98da38538 in __GI_abort () at abort.c:79
#10 0x7fd98da3845c in __assert_fail_base (fmt=0x7fd98dbb4b08 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fd98fe9108b "li",
file=file@entry=0x7fd98fe9107d "wait-global.c", line=line@entry=125,
function=function@entry=0x7fd98fe924e0 <__PRETTY_FUNCTION__.1.lto_priv.1>
"ctx_done") at assert.c:92

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2023-05-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=450824

yescal...@gmail.com changed:

   What|Removed |Added

 CC||yescal...@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2022-12-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=450824

--- Comment #3 from osfer9...@gmail.com ---
Created attachment 154852
  --> https://bugs.kde.org/attachment.cgi?id=154852=edit
New crash information added by DrKonqi

kleopatra (3.1.22.220801 (22.08.1)) using Qt 5.15.6

Crashes when closing.

The only error output from launching via terminal: kleopatra:
../../src/wait-global.c:125: ctx_done: Assertion `li' failed.

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=)
at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=) at
./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=, signo=signo@entry=6) at
./nptl/pthread_kill.c:89
#7  0x7f095923bc46 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#8  0x7f09592227fc in __GI_abort () at ./stdlib/abort.c:79

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2022-12-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=450824

osfer9...@gmail.com changed:

   What|Removed |Added

 CC||osfer9...@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2022-08-22 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=450824

--- Comment #2 from Yaroslav Sidlovsky  ---
Created attachment 151494
  --> https://bugs.kde.org/attachment.cgi?id=151494=edit
New crash information added by DrKonqi

kleopatra (3.1.22.220800 (22.08.0)) using Qt 5.15.5

Kleopatra crashes every time on exit.

-- Backtrace (Reduced):
#9  0x7f6829aaeb3e in ctx_done (op_err=, status=, ctx=0x7f67f8004df0) at
/usr/src/debug/gpgme-1.15.1-6.fc36.x86_64/src/wait-global.c:125
#10 _gpgme_wait_global_event_cb (data=0x7f67f8004df0, type=,
type_data=) at
/usr/src/debug/gpgme-1.15.1-6.fc36.x86_64/src/wait-global.c:220
#11 0x7f6829adf9e3 in _gpgme_engine_io_event (type_data=0x7f6807ffe920,
type=GPGME_EVENT_DONE, engine=) at
/usr/src/debug/gpgme-1.15.1-6.fc36.x86_64/src/engine.c:1064
#12 _gpgme_cancel_with_err (ctx=ctx@entry=0x7f67f8004df0,
ctx_err=ctx_err@entry=117440611, op_err=op_err@entry=0) at
/usr/src/debug/gpgme-1.15.1-6.fc36.x86_64/src/gpgme.c:193
#13 0x7f6829adfba4 in gpgme_cancel (ctx=0x7f67f8004df0) at
/usr/src/debug/gpgme-1.15.1-6.fc36.x86_64/src/gpgme.c:210

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2022-08-22 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=450824

Yaroslav Sidlovsky  changed:

   What|Removed |Added

 CC||zawer...@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2022-06-07 Thread Szőts Ákos
https://bugs.kde.org/show_bug.cgi?id=450824

Szőts Ákos  changed:

   What|Removed |Added

 CC||szots...@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 450824] crash when closing kleopatra

2022-06-07 Thread Szőts Ákos
https://bugs.kde.org/show_bug.cgi?id=450824

--- Comment #1 from Szőts Ákos  ---
Created attachment 149538
  --> https://bugs.kde.org/attachment.cgi?id=149538=edit
New crash information added by DrKonqi

kleopatra (3.1.21.220401 (22.04.1)) using Qt 5.15.2

- What I was doing when the application crashed:

Choose File > Quit (exit from program).

The backtrace is similar to OP's but complete.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (threadid=,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x7fdb744a9733 in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78
#8  0x7fdb744566f6 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#9  0x7fdb7443f814 in __GI_abort () at abort.c:79
#10 0x7fdb7443f72b in __assert_fail_base (fmt=,
assertion=, file=, line=,
function=) at assert.c:92

-- 
You are receiving this mail because:
You are on the CC list for the bug.