FS#80232 - [gimp] crashed with a fatal error - segfault

Attached to Project: Arch Linux
Opened by berlo (berlo) - Saturday, 11 November 2023, 16:53 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 14 November 2023, 21:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Christian Heusel (gromit)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Crash when launching gimp (Plasma menu or command)
$ gimp
gimp: Gimp-Core-CRITIQUE: gimp_temp_buf_new: assertion 'width > 0 && height > 0 && bpp > 0' failed
gimp: fatal error: Erreur de segmentation

(script-fu:4474): LibGimpBase-WARNING **: 17:19:53.815: script-fu: gimp_wire_read(): error


OS: Arch Linux
Kernel: x86_64 Linux 6.6.1-arch1-1
Resolution: 1920x1080
DE: KDE 5.111.0 / Plasma 5.27.9
WM: KWin
GTK Theme: Breeze [GTK3]
Disk: 233G / 472G (52%)
CPU: Intel Core i7-8850H @ 12x 4.3GHz [52.0°C]
GPU: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
RAM: 5836MiB / 15661MiB

Bug Information
```
GNU Image Manipulation Program version 2.10.36
git-describe: GIMP_2_10_36
Build: unknown rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20230801 (GCC)

# Libraries #
using babl version 0.1.106 (compiled against version 0.1.106)
using GEGL version 0.4.46 (compiled against version 0.4.46)
using GLib version 2.78.1 (compiled against version 2.78.1)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.51.0 (compiled against version 1.51.0)
using Fontconfig version 2.14.2 (compiled against version 2.14.2)
using Cairo version 1.18.0 (compiled against version 1.18.0)

```
> fatal error: Erreur de segmentation

Stack trace:
```
/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x458)[0x7f06af702378]
/usr/bin/gimp-2.10(+0xd4032)[0x558859c48032]
/usr/bin/gimp-2.10(+0xd43fe)[0x558859c483fe]
/usr/bin/gimp-2.10(+0xd4462)[0x558859c48462]
/usr/lib/libc.so.6(+0x3e710)[0x7f06ae489710]
/usr/bin/gimp-2.10(+0x4522c1)[0x558859fc62c1]
/usr/bin/gimp-2.10(gimp_viewable_get_preview+0x111)[0x558859fefd71]
/usr/bin/gimp-2.10(+0x47f7e3)[0x558859ff37e3]
/usr/bin/gimp-2.10(gimp_viewable_get_pixbuf+0x11c)[0x558859feff9c]
/usr/bin/gimp-2.10(+0x2c7084)[0x558859e3b084]
/usr/bin/gimp-2.10(+0x2c5927)[0x558859e39927]
/usr/bin/gimp-2.10(gimp_view_renderer_draw+0xda)[0x558859e3aeea]
/usr/bin/gimp-2.10(+0x2bf906)[0x558859e33906]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_propagate_expose+0x19d)[0x7f06af2bacdd]
/usr/lib/libgtk-x11-2.0.so.0(+0x15c9a3)[0x7f06af35c9a3]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_propagate_expose+0x19d)[0x7f06af2bacdd]
/usr/lib/libgtk-x11-2.0.so.0(+0xb9683)[0x7f06af2b9683]
/usr/lib/libgtk-x11-2.0.so.0(+0x16984c)[0x7f06af36984c]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_propagate_expose+0x19d)[0x7f06af2bacdd]
/usr/lib/libgtk-x11-2.0.so.0(+0x169b64)[0x7f06af369b64]
/usr/lib/libgtk-x11-2.0.so.0(+0xb9683)[0x7f06af2b9683]
/usr/lib/libgtk-x11-2.0.so.0(+0x16984c)[0x7f06af36984c]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_propagate_expose+0x19d)[0x7f06af2bacdd]
/usr/lib/libgtk-x11-2.0.so.0(+0x78e05)[0x7f06af278e05]
/usr/lib/libgtk-x11-2.0.so.0(+0xb9683)[0x7f06af2b9683]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_propagate_expose+0x19d)[0x7f06af2bacdd]
/usr/lib/libgtk-x11-2.0.so.0(+0x78e05)[0x7f06af278e05]
/usr/lib/libgtk-x11-2.0.so.0(+0xb9683)[0x7f06af2b9683]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_propagate_expose+0x19d)[0x7f06af2bacdd]
/usr/lib/libgtk-x11-2.0.so.0(+0x78e05)[0x7f06af278e05]
/usr/lib/libgtk-x11-2.0.so.0(+0xb9683)[0x7f06af2b9683]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_propagate_expose+0x19d)[0x7f06af2bacdd]
/usr/lib/libgtk-x11-2.0.so.0(+0x78e05)[0x7f06af278e05]
/usr/lib/libgtk-x11-2.0.so.0(+0xb9683)[0x7f06af2b9683]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_propagate_expose+0x19d)[0x7f06af2bacdd]
/usr/lib/libgtk-x11-2.0.so.0(+0x78e05)[0x7f06af278e05]
/usr/lib/libgtk-x11-2.0.so.0(+0xb9683)[0x7f06af2b9683]
/usr/lib/libgtk-x11-2.0.so.0(+0x138f08)[0x7f06af338f08]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa6)[0x7f06ae8b9626]
/usr/lib/libgobject-2.0.so.0(+0x430ea)[0x7f06ae8e80ea]
/usr/lib/libgobject-2.0.so.0(+0x33335)[0x7f06ae8d8335]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x37)[0x7f06ae8d8c77]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x94)[0x7f06ae8d8d34]
/usr/lib/libgtk-x11-2.0.so.0(+0x26d88d)[0x7f06af46d88d]

```
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 14 November 2023, 21:08 GMT
Reason for closing:  Upstream
Additional comments about closing:  Please refer to the comments section.
Comment by Toolybird (Toolybird) - Saturday, 11 November 2023, 22:56 GMT
Hey, thanks for reporting this crash. I know you just followed the on-screen instructions, but unfortunately the information provided in the Stack trace is of little use in getting the bug properly investigated. You can help greatly by providing a "quality" trace that includes debugging information as follows.

Ensure the "gdb" pkg is installed (e.g. $ sudo pacman -S gdb)

$ coredumpctl gdb (then answer y when it asks "Enable debuginfod for this session?")
(gdb) set logging enabled
(gdb) bt (or bt full)

Then post gdb.txt

Please read the following links [1][2] for more details about creating good traces.

[1] https://blogs.gnome.org/mcatanzaro/2021/09/18/creating-quality-backtraces-for-crash-reports/
[2] https://wiki.archlinux.org/title/Debugging/Getting_traces
Comment by berlo (berlo) - Sunday, 12 November 2023, 13:56 GMT
Thanks for your help, this is my first bug report, I'm learning and doing my best. I'm happy to participate despite my poor development skills.
Here is the requested gdb.txt file.
   gdb.txt (184.9 KiB)
Comment by Toolybird (Toolybird) - Sunday, 12 November 2023, 20:35 GMT
The trace looks good, excellent work! The next step is to report it upstream to the Gimp developers (and provide them with the trace).

I just noticed a new upstream ticket [1] where the trace looks very similar. I have taken the liberty of adding a note in that upstream ticket pointing to your trace. Let's wait and see what happens in the upstream ticket.

[1] https://gitlab.gnome.org/GNOME/gimp/-/issues/10317
Comment by Toolybird (Toolybird) - Tuesday, 14 November 2023, 21:08 GMT
@berlo, as per the upstream ticket, more information is needed by the upstream developers. Please get involved in that upstream ticket and help out if you can.

Seeing as this doesn't appear to be an Arch packaging issue, I will mark it closed for the time being. Hopefully upstream will be able to get to the bottom of it and provide a fix.

Loading...