snapcrafters / gimp

Unofficial GNU Image Manipulation Program (GIMP) installer for Linux
https://snapcraft.io/gimp
MIT License
52 stars 26 forks source link

[Bug]: Fails to allocate 3.403×10^14 YB (yottabytes) on startup #192

Open cyclotron3k opened 2 years ago

cyclotron3k commented 2 years ago

What happened?

Snap does not start. Fails when trying to allocate 30 × estimated amount of information contained in the biosphere[1]

[1] Source: Wolfram Alpha

What should have happened?

The app should start

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: today at 13:32 AEST
channels:
  latest/stable:    2.10.28 2021-12-20 (383) 410MB -
  latest/candidate: 2.10.28 2021-11-09 (383) 410MB -
  latest/beta:      ↑                              
  latest/edge:      2.10.30 2022-05-04 (389) 553MB -
installed:          2.10.28            (383) 410MB -

Output of snap connections $snap_name

Interface                 Plug                  Slot                             Notes
browser-support           gimp:browser-support  :browser-support                 -
content[gnome-3-28-1804]  gimp:gnome-3-28-1804  gnome-3-28-1804:gnome-3-28-1804  -
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    2.55.3+22.04ubuntu1
snapd   2.55.3+22.04ubuntu1
series  16
ubuntu  22.04
kernel  5.15.0-27-generic

Relevant log output

No response

Teminal output of app

Fontconfig warning: FcPattern object weight does not accept value [80 205)
/snap/gimp/383/usr/bin/gimp: Gimp-Text-CRITICAL: gimp_font_factory_load_names: assertion 'fontset' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_scale_simple: assertion 'dest_width > 0' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GLib-ERROR **: 13:33:26.828: ../../../../glib/gmem.c:333: overflow allocating 18446744073709551615*18446744073709551615 bytes

(script-fu:53153): LibGimpBase-WARNING **: 13:33:26.941: script-fu: gimp_wire_read(): error
[1]    53077 trace trap (core dumped)  gimp
cyclotron3k commented 2 years ago

Erasing $HOME/snap/gimp has not resolved the issue.