GIMP encountered an error: GIMP-CRITICAL: gimp_image_get_base_type
Environment/Versions
- GIMP version: 2.99.19
- Package: AppImage from !1440 (merged)
- Operating System: Linux Debian 12
Description of the bug
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- start GIMP
- File menu, New image
- File menu, New image
- close the second empty image
- open File menu
…
Expected result: file menu open
Actual result: GIMP Debug open with the error
Additional information
If you have a backtrace for a crash or a warning, paste it here.
GNU Image Manipulation Program version 2.99.19
git-describe: 01e4442
Build: org.gimp.GIMP_official rev 0 for linux
# C compiler #
Debian clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: ././/bin
Found candidate GCC installation: ././/bin/../lib/gcc/x86_64-linux-gnu/12
Selected GCC installation: ././/bin/../lib/gcc/x86_64-linux-gnu/12
Candidate multilib: .;@m64
Selected multilib: .;@m64
# Libraries #
using babl version 0.1.109 (compiled against version 0.1.109)
using GEGL version 0.4.49 (compiled against version 0.4.49)
using GLib version 2.74.6 (compiled against version 2.74.6)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 3.24.38 (compiled against version 3.24.38)
using Pango version 1.50.12 (compiled against version 1.50.12)
using Fontconfig version 2.14.1 (compiled against version 2.14.1)
using Cairo version 1.16.0 (compiled against version 1.16.0)
GIMP-CRITICAL: gimp_image_get_base_type: assertion 'GIMP_IS_IMAGE (image)' failed
Stack trace:
# Stack traces obtained from PID 1801662 - Thread 1801662 #
[New LWP 1801677]
[New LWP 1801678]
[New LWP 1801679]
[New LWP 1801680]
[New LWP 1801681]
[New LWP 1801682]
[New LWP 1801683]
[New LWP 1801684]
[New LWP 1801685]
[New LWP 1801686]
[New LWP 1801747]
[New LWP 1801898]
[New LWP 1802343]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__GI___libc_read (nbytes=255, buf=0x7fff000e2f20, fd=20) at ../sysdeps/unix/sysv/linux/read.c:26
Id Target Id Frame
* 1 Thread 0x7f319ee361c0 (LWP 1801662) "ld-linux-x86-64" __GI___libc_read (nbytes=255, buf=0x7fff000e2f20, fd=20) at ../sysdeps/unix/sysv/linux/read.c:26
2 Thread 0x7f319ce736c0 (LWP 1801677) "gmain" 0x00007f31a168315f in __GI___poll (fds=0x5555574c8ed0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
3 Thread 0x7f3197fff6c0 (LWP 1801678) "gdbus" 0x00007f31a168315f in __GI___poll (fds=0x55555c5a8180, nfds=8, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
4 Thread 0x7f31977fe6c0 (LWP 1801679) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
5 Thread 0x7f3196ffd6c0 (LWP 1801680) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
6 Thread 0x7f31967fc6c0 (LWP 1801681) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
7 Thread 0x7f3195ffb6c0 (LWP 1801682) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
8 Thread 0x7f31957fa6c0 (LWP 1801683) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
9 Thread 0x7f3194ff96c0 (LWP 1801684) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
10 Thread 0x7f317ffff6c0 (LWP 1801685) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
11 Thread 0x7f317d3ff6c0 (LWP 1801686) "async" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
12 Thread 0x7f314ffff6c0 (LWP 1801747) "dconf worker" 0x00007f31a168315f in __GI___poll (fds=0x55555b272c00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
13 Thread 0x7f31691fd6c0 (LWP 1801898) "swap writer" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
14 Thread 0x7f31689fc6c0 (LWP 1802343) "pool-gimp-2.99" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#0 __GI___libc_read (nbytes=255, buf=0x7fff000e2f20, fd=20) at ../sysdeps/unix/sysv/linux/read.c:26
sc_ret = -512
sc_cancel_oldtype = 0
sc_ret = <optimized out>
sc_ret = <optimized out>
__arg2 = <optimized out>
_a3 = <optimized out>
_a1 = <optimized out>
resultvar = <optimized out>
__arg3 = <optimized out>
__arg1 = <optimized out>
_a2 = <optimized out>
#1 __GI___libc_read (fd=20, buf=buf@entry=0x7fff000e2f20, nbytes=nbytes@entry=255) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2 0x00007f31a553f968 in gimp_stack_trace_print (prog_name=0x0, stream=0x0, trace=0x7fff000e3388) at ../libgimpbase/gimputils.c:1394
status = <optimized out>
gimp_pid = "1801662\000\000\305pM\215x\210\036"
buffer = "\260DQWUU\000\000\333\326a\2411\177\000\000\220o\261[UU\000\000\270/\016\000\377\177\000\000\250/\016\000\000\000\000\000\300/\016\000\377\177", '\000' <repeats 11 times>, "\305pM\215x\210\036\260/\016\000\377\177\000\000p\373\377\377\377\377\377\377\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\264\212]UU", '\000' <repeats 18 times>, "\217\376a\2411\177\000\000\332\b_]UU\000\000\351o\261[UU\000\000\t\t_]UU\000\000\230\263\212]UU\000\000\377\377\377\377\377\377\377\377\203\377Z\2411\177\000\000\220o\261[UU\000\000D+\320\2421\177\000\000\260\b_]UU\000\000"...
sync_fd = {18, 19}
out_fd = {20, 21}
stack_printed = 0
gtrace = 0x0
pid = 1801662
eintr_count = 0
tid = 1801662
fork_pid = 1802352
read_n = <optimized out>
#3 0x00007f31a35231a8 in ?? ()
No symbol table info available.
#4 0x000055555baa3440 in ?? ()
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
[Inferior 1 (process 1801662) detached]