Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: GIMP Crashes in certain situation #299

Open
mattitk opened this issue Nov 28, 2024 · 2 comments
Open

[Bug]: GIMP Crashes in certain situation #299

mattitk opened this issue Nov 28, 2024 · 2 comments
Labels

Comments

@mattitk
Copy link

mattitk commented Nov 28, 2024

What happened?

App crashed when I wanted to draw individual pixels. I resized the 'block' shape to 1 and set hardness and force to 100 in tool options. Then i set aspect ratio to 1 and tried to switch tool to fill, zoomed out and back to pencil, then the thing crashed. I there a bug scaling the brushes to size of 1?´

What should have happened?

I should have been able to select the pencil tool again after zooming out. Bug in brush attributes when going to size 1 pixel MAYBE

Output of snap info $snap_name

name:      gimp
summary:   GNU Image Manipulation Program
publisher: Snapcrafters✪
store-url: https://snapcraft.io/gimp
contact:   https://github.com/snapcrafters/gimp/issues
license:   unset
description: |
  Whether you are a graphic designer, photographer, illustrator, or
  scientist, GIMP provides you with sophisticated tools to get your job done.
  You can further enhance your productivity with GIMP thanks to many
  customization options and 3rd party plugins.
  
  This snap is maintained by the Snapcrafters community, and is not
  necessarily endorsed or officially maintained by the upstream developers.
  
  Upstream Project: https://www.gimp.org/
  snapcraft.yaml Build Definition:
  https://github.com/snapcrafters/gimp/blob/master/snap/snapcraft.yaml
commands:
  - gimp
snap-id:      KDHYbyuzZukmLhiogKiUksByRhXD2gYV
tracking:     latest/stable
refresh-date: 2024-09-08
channels:
  latest/stable:     2.10.38   2024-05-10 (436) 540MB -
  latest/candidate:  2.10.38   2024-05-10 (436) 540MB -
  latest/beta:       ↑                                
  latest/edge:       ↑                                
  preview/stable:    3.0.0-RC1 2024-11-07 (452) 388MB -
  preview/candidate: 3.0.0-RC1 2024-11-06 (452) 388MB -
  preview/beta:      ↑                                
  preview/edge:      3.0.0-RC1 2024-11-07 (454) 388MB -
installed:           2.10.38              (436) 540MB -

Output of snap connections $snap_name

Interface                 Plug                  Slot                              Notes
browser-support           gimp:browser-support  :browser-support                  -
content[gnome-3-38-2004]  gimp:gnome-3-38-2004  gnome-3-38-2004:gnome-3-38-2004   -
content[gtk-2-engines]    gimp:gtk-2-engines    gtk2-common-themes:gtk-2-engines  -
content[gtk-3-themes]     gimp:gtk-3-themes     gtk-common-themes:gtk-3-themes    -
content[icon-themes]      gimp:icon-themes      gtk-common-themes:icon-themes     -
content[sound-themes]     gimp:sound-themes     gtk-common-themes:sound-themes    -
cups-control              gimp:cups-control     -                                 -
dbus                      -                     gimp:dbus-gimp                    -
desktop                   gimp:desktop          :desktop                          -
desktop-legacy            gimp:desktop-legacy   :desktop-legacy                   -
gsettings                 gimp:gsettings        :gsettings                        -
home                      gimp:home             :home                             -
network                   gimp:network          :network                          -
opengl                    gimp:opengl           :opengl                           -
removable-media           gimp:removable-media  -                                 -
unity7                    gimp:unity7           :unity7                           -
wayland                   gimp:wayland          :wayland                          -
x11                       gimp:x11              :x11

Output of snap version

~ snap version
snap    2.65.3+22.04
snapd   2.65.3+22.04
series  16
ubuntu  22.04
kernel  6.8.0-48-generic

Relevant log output

[1365224.814041] audit: type=1326 audit(1732802535.666:2235): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289433 comm="gimp" exe="/snap/gimp/436/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f2f3f5ed95d code=0x50000
[1365226.206315] audit: type=1326 audit(1732802537.058:2236): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289433 comm="gimp" exe="/snap/gimp/436/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f2f3f5e45bb code=0x50000
[1365228.628199] audit: type=1326 audit(1732802539.480:2237): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289519 comm="script-fu" exe="/usr/lib/gimp/2.0/plug-ins/script-fu/script-fu" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f330111795d code=0x50000
[1365261.051314] audit: type=1400 audit(1732802571.904:2238): apparmor="DENIED" operation="open" class="file" profile="snap.gimp.gimp" name="/etc/fstab" pid=289433 comm="gimp" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[1365261.058839] audit: type=1400 audit(1732802571.912:2239): apparmor="DENIED" operation="open" class="file" profile="snap.gimp.gimp" name="/run/mount/utab" pid=289433 comm="gimp" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[1365261.108477] audit: type=1326 audit(1732802571.961:2240): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289433 comm="gimp" exe="/snap/gimp/436/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f2f3f5e45bb code=0x50000
[1365268.982959] audit: type=1326 audit(1732802579.834:2241): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289433 comm="gimp" exe="/snap/gimp/436/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f2f3f5e45bb code=0x50000
[1365396.589781] audit: type=1326 audit(1732802707.444:2242): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289572 comm="help" exe="/usr/lib/gimp/2.0/plug-ins/[1365224.814041] audit: type=1326 audit(1732802535.666:2235): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289433 comm="gimp" exe="/snap/gimp/436/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f2f3f5ed95d code=0x50000
[1365226.206315] audit: type=1326 audit(1732802537.058:2236): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289433 comm="gimp" exe="/snap/gimp/436/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f2f3f5e45bb code=0x50000
[1365228.628199] audit: type=1326 audit(1732802539.480:2237): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289519 comm="script-fu" exe="/usr/lib/gimp/2.0/plug-ins/script-fu/script-fu" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f330111795d code=0x50000
[1365261.051314] audit: type=1400 audit(1732802571.904:2238): apparmor="DENIED" operation="open" class="file" profile="snap.gimp.gimp" name="/etc/fstab" pid=289433 comm="gimp" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[1365261.058839] audit: type=1400 audit(1732802571.912:2239): apparmor="DENIED" operation="open" class="file" profile="snap.gimp.gimp" name="/run/mount/utab" pid=289433 comm="gimp" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[1365261.108477] audit: type=1326 audit(1732802571.961:2240): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289433 comm="gimp" exe="/snap/gimp/436/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f2f3f5e45bb code=0x50000
[1365268.982959] audit: type=1326 audit(1732802579.834:2241): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289433 comm="gimp" exe="/snap/gimp/436/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f2f3f5e45bb code=0x50000
[1365396.589781] audit: type=1326 audit(1732802707.444:2242): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289572 comm="help" exe="/usr/lib/gimp/2.0/plug-ins/help/help" sig=0 arch=c000003e syscall=314 compat=0 ip=0x79289ded995d code=0x50000
[1365471.270680] audit: type=1326 audit(1732802782.126:2243): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289601 comm="gimp-debug-tool" exe="/usr/libexec/gimp-debug-tool-2.0" sig=0 arch=c000003e syscall=314 compat=0 ip=0x76aea015795d code=0x50000
help/help" sig=0 arch=c000003e syscall=314 compat=0 ip=0x79289ded995d code=0x50000
[1365471.270680] audit: type=1326 audit(1732802782.126:2243): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.gimp.gimp pid=289601 comm="gimp-debug-tool" exe="/usr/libexec/gimp-debug-tool-2.0" sig=0 arch=c000003e syscall=314 compat=0 ip=0x76aea015795d code=0x50000

Teminal output of app

No response

@mattitk mattitk added the bug label Nov 28, 2024
@mattitk
Copy link
Author

mattitk commented Nov 28, 2024

I was doing 64x64 pixel graphics with 8 bit unsigned little endian RGBA palette. Brush was too smooth so I hard to harden it and zoom out to draw rough lines, after changing back to pencil crash happened

@jnsgruk
Copy link
Member

jnsgruk commented Nov 28, 2024

Hi, can you please try out the preview track and see if you still have the issue?

sudo snap refresh gimp --channel preview/stable

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants