Page MenuHome GnuPG

GPA crashes in the pubkey preferences "use advanced mode" switching
Open, NormalPublic

Description

Windows 10 (DE and EN)
Gpg4win 3.1.14

reproduction

  1. Open GPA 0.10.0
  2. Select a key. The line should turn blue
  3. Click on "Preferences" in the menu bar
  4. Click on "Use advanced mode", (if it is selected or de-selected)

Observation: Crash (often, but not always).

(Reported by a user, but reproduced.)

Details

Version
0.10.0

Event Timeline

Sorry, I can' reproduce thus. What kind of key is causing the crash?

I did a fresh install of Gpg4win 3.1.14 and imported my standard pubkey, by using

gpg --locate-key bernhard@intevation.de

on the command line.

It did not crash for me always, but several times. I am using a VM with Windows 10 updates up to a few weeks. If this helps.

What would be the next analysis step. Debugger or Systemview?

A backtrace with gdb from migw-w64 results in

[Switching to Thread 6680.0x2028]
0x74e65b63 in libgobject-2.0-0!g_type_check_instance_cast ()
   from C:\Program Files (x86)\Gpg4win\bin\libgobject-2.0-0.dll

(Because I have no debugging symbols at hand.)

I have reproduced the bug

The bug only happens when you select a key, so a blue line appears on the key itself, otherwise the bug is not there. The key can be any; I tried with the key gpg4win-professional@intervation.de

In image 1 I have selected any key

In image 2 I have do Click on "Use advanced mode"

Result GPA closes unexpectedly

Another way is the following:

  • From File (Windows)
  • From Clipboard (Windows)
  • From Card (Windows)

Thank you!

GPA 0.10.0
WIN 10 64 bit
Gpg4win 3.1.14

werner triaged this task as Normal priority.Jan 5 2021, 9:16 AM