Skip to content

[Bug]: GIMP error when opening PNG file: "Failed to decode Exif metadata." #442

@monkeywoman

Description

@monkeywoman

What happened?

GIMP asked me to file this here, I am not quite aware what the problem should be. I was opening a PNG image. The only strange behaviour of GIMP that I notivced, is that in fhe "open file" dialog the files in my folder were not sorted alphabetivacally altough I had clicked on the "name" header to sort them. The file was opened then, but this error message popped up.

I am sorry if this is should be an unnecessary post, but GIMP asked me to do so.

What should have happened?

The PNG file should have been opened without any further ado.

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:   MIT
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: vor 31 Tagen, um 18:29 CEST
channels:
  latest/stable:    3.0.4 2025-06-12 (525) 276MB -
  latest/candidate: 3.0.4 2025-06-12 (525) 276MB -
  latest/beta:      ↑                            
  latest/edge:      3.0.2 2025-04-10 (514) 276MB -
installed:          3.0.4            (525) 276MB -

Output of snap connections $snap_name

Schnittstelle           Plug                                           Slot                            Notizen
browser-support         gimp:browser-support                           :browser-support                -
content[ffmpeg-2404]    gimp:ffmpeg-2404                               ffmpeg-2404:ffmpeg-2404         -
content[gnome-46-2404]  gimp:gnome-46-2404                             gnome-46-2404:gnome-46-2404     -
content[gpu-2404]       gimp:gpu-2404                                  mesa-2404:gpu-2404              -
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                 gimp:npu-libs                                  -                               -
content                 gimp:openvino-ai-plugins-gimp-libs             -                               -
content                 gimp:openvino-libs                             -                               -
content[sound-themes]   gimp:sound-themes                              gtk-common-themes:sound-themes  -
cups-control            gimp:cups-control                              -                               -
custom-device           gimp:intel-npu                                 -                               -
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                         -
personal-files          gimp:dot-local-share-openvino-ai-plugins-gimp  :personal-files                 -
removable-media         gimp:removable-media                           -                               -
unity7                  gimp:unity7                                    :unity7                         -
wayland                 gimp:wayland                                   :wayland                        -
x11                     gimp:x11                                       :x11

Output of snap version

snap    2.70
snapd   2.70
series  16
ubuntu  25.04
kernel  6.14.0-23-generic

Relevant log output

[    5.951055] kernel: audit: type=1400 audit(1752392530.884:331): apparmor="DENIED" operation="open" class="file" profile="/usr/sbin/cupsd" name="/etc/paperspecs" pid=3866 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[    6.023007] kernel: audit: type=1400 audit(1752392530.956:332): apparmor="DENIED" operation="capable" class="cap" profile="/usr/sbin/cupsd" pid=3866 comm="cupsd" capability=12  capname="net_admin"

Teminal output of app

<!-- Kopieren Sie diese ganzen Informationen, um sie an die Entwickler zu berichten -->



GNU Image Manipulation Program version 3.0.4
git-describe: GIMP_3_0_4
Build: org.gimp.GIMP.snapcraft.stable rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) 

# Libraries #
using babl version 0.1.114 (compiled against version 0.1.114)
using GEGL version 0.4.62 (compiled against version 0.4.62)
using GLib version 2.84.0 (compiled against version 2.84.2)
using GdkPixbuf version 2.42.12 (compiled against version 2.42.12)
using GTK+ version 3.24.49 (compiled against version 3.24.49)
using Pango version 1.56.3 (compiled against version 1.56.3)
using Fontconfig version 2.15.0 (compiled against version 2.15.0)
using Cairo version 1.18.4 (compiled against version 1.18.4)
using gexiv2 version 0.14.2 (compiled against version 0.14.2)
using exiv2 version 0.27.6


> GIMP-WARNUNG: Failed to decode Exif metadata.

Stack trace:

/snap/gimp/525/usr/lib/x86_64-linux-gnu/libgimpbase-3.0.so.0(gimp_stack_trace_print+0x428) [0x74a0ecf1c288]
/snap/gimp/525/usr/bin/gimp(gui_message+0x21d) [0x639bbf5041ed]
/snap/gimp/525/usr/bin/gimp(gimp_show_message+0xc6) [0x639bbf32c656]
/snap/gimp/525/usr/bin/gimp(+0x2de337) [0x639bbf4a3337]
/snap/gimp/525/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x273) [0x74a0ec8ecf63]
/snap/gimp/525/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x93) [0x74a0ec8ed1f3]
/snap/gimp/525/usr/lib/x86_64-linux-gnu/libgexiv2.so.2(+0x24018) [0x74a0ec3ac018]
/snap/gimp/525/usr/lib/x86_64-linux-gnu/libexiv2.so.27(_ZN5Exiv26LogMsgD1Ev+0xc2) [0x74a0eab2bfe2]
/snap/gimp/525/usr/lib/x86_64-linux-gnu/libexiv2.so.27(+0x1befa3) [0x74a0eabf7fa3]
/snap/gimp/525/usr/lib/x86_64-linux-gnu/libexiv2.so.27(+0x1bf22b) [0x74a0eabf822b]
/snap/gimp/525/usr/lib/x86_64-linux-gnu/libexiv2.so.27(_ZN5Exiv28PngImage12readMetadataEv+0x498) [0x74a0eab89aa8]
/snap/gimp/525/usr/lib/x86_64-linux-gnu/libgexiv2.so.2(+0x152be) [0x74a0ec39d2be]
/snap/gimp/525/usr/lib/x86_64-linux-gnu/libgexiv2.so.2(gexiv2_metadata_open_path+0x104) [0x74a0ec39d474]
/snap/gimp/525/usr/lib/x86_64-linux-gnu/libgimpbase-3.0.so.0(gimp_metadata_load_from_file+0xb2) [0x74a0ecf15282]
/snap/gimp/525/usr/bin/gimp(gimp_image_metadata_load_thumbnail+0x7f) [0x639bbf2dce4f]
/snap/gimp/525/usr/bin/gimp(gimp_imagefile_create_thumbnail+0x5bf) [0x639bbf2f20ef]
/snap/gimp/525/usr/bin/gimp(gimp_imagefile_create_thumbnail_weak+0xa9) [0x639bbf2f2239]
/snap/gimp/525/usr/bin/gimp(+0x4306bf) [0x639bbf5f56bf]
/snap/gimp/525/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x62e95) [0x74a0ec8e0e95]
/snap/gimp/525/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x65158) [0x74a0ec8e3158]
/snap/gimp/525/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x30) [0x74a0ec8e3a60]
/snap/gimp/525/gnome-platform/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x16d) [0x74a0ec60d64d]
/snap/gimp/525/usr/bin/gimp(app_run+0x1cd) [0x639bbf4a309d]
/snap/gimp/525/usr/bin/gimp(main+0x397) [0x639bbf2b9bc7]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x74a0eb1e11ca]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x74a0eb1e128b]
/snap/gimp/525/usr/bin/gimp(_start+0x25) [0x639bbf2b9d35]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions