pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
1.86k stars 127 forks source link

zathura hangs after invoking `print` #431

Closed sebastinas closed 2 months ago

sebastinas commented 7 months ago

On GitLab by @jpalus on Nov 6, 2023, 22:26


Noticed today that :print started to hang zathura entirely. No print dialog is shown, no CPU is used, zathura can only be killed. After some debugging it turns out to be a problem with default sandbox that explicitly disallows vmsplice.

In my particular setup I'm connecting to network CUPS printer over secure connection using GnuTLS configured to make use of AF_ALG kernel crypto API through libkcapi which in turn makes use of vmsplice: https://github.com/smuellerDD/libkcapi/blob/0e3e2032a97c51697a5134ca6eabbd5708e9498a/lib/kcapi-kernel-if.c#L324

sebastinas commented 7 months ago

mentioned in commit 17cb9c82e2fcb969e3d8a5e54e20d7baba6d6a35

sebastinas commented 6 months ago

On GitLab by @jpalus on Dec 8, 2023, 18:42


mentioned in commit c52142f6cf4ccd953aa203bfa2aec96f052ae4fd