mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #313] Firejail and libpng / setjmp(png_jmpbuf) (cannot save PNG) #221
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Sidnioulz on GitHub (Feb 21, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/313
I cannot save PNG files from within a Firejail sandbox. Tested with xfce4-screenshooter, and with GIMP. The issue appears to be that the setjmp(png_jmpbuf) system call fails, inside gdk-pixbuf's implementation of PNG file saving (see io-png.c::real_save_png for the implementation).
@netblue30 commented on GitHub (Feb 21, 2016):
How do you run it? Are you starting GIMP/xfce4-screenshooter from Firefox?
@Sidnioulz commented on GitHub (Feb 21, 2016):
I usually just firejail into a Bash session and work from there. The problem occurs with or without the generic profile, and regardless of whether I spawn a bash and work from the Bash or call the apps directly (e.g. firejail gimp).
@netblue30 commented on GitHub (Feb 22, 2016):
What distro are you running? I doesn't happen on on Debian 8. Also, what project is io-png.c::real_save_png coming from, I'd like to take a look. Thanks!
@Sidnioulz commented on GitHub (Feb 22, 2016):
I'm running ArchLinux,4.3.3-2-ARCH #1 SMP PREEMPT Wed Dec 23 20:09:18 CET 2015 x86_64 GNU/Linux.
https://git.gnome.org/browse/gdk-pixbuf/tree/gdk-pixbuf/io-png.c would contain said code. If you can't reproduce I can try and identify the faulty code lines in GIMP's xcf/jpg saving routines too, albeit not immediately.
@netblue30 commented on GitHub (Feb 24, 2016):
I'll look into it, thanks!
@Fred-Barclay commented on GitHub (Oct 7, 2017):
I can create/save .png images with Gimp or mate-screenshot, using the gimp and default profiles, on 64-bit Arch running the 4.13 kernel. Let's close for now. 😄