Page MenuHome GnuPG

Kleopatra: Encrypting two files in an archive on a mounted network share on windows with one CPU never finishes
Closed, ResolvedPublic

Description

This one was very hard to find. Thanks to a tester who found the reason in the end.

To Reproduce:

  • Use Windows 10 in a virtual machine and give it only one CPU thread.
  • Create a local folder e.g c:\temp and put two files into this folder.
  • Enable Network sharing for this folder
  • Mount the shared folder as a network drive
  • Encrypt the two files in the folder and keep Archiving selected.

This is totally weird because if you encrypt the files using local paths it works. Or if you give two threads to the machine.

It also works if you just use gpgtar on the command line. Even if you call it like Kleopatra with --skip-crypto using file names and pipe that to gpg.

Event Timeline

aheinecke created this task.
aheinecke changed the task status from Open to Testing.Aug 22 2022, 11:50 AM
aheinecke moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

The fix did not work, the hangs occured later in testing again. After further debugging we found the issue to be that we did not Close the handles we inherited to the child.

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ebo added a subscriber: ebo.

works, I did not encounter the issue following the description