GIMP crashes after copying a large area and launching Krita
GIMP version: 2.10.6
Operating System: Linux all
Package: package from ppa:otto-kesselgulasch/gimp
Description of the bug
GIMP crashes after launching Krita, when there is a large-sized (10000px x 10000px, for example) image in GIMP's clipboard.
Reproduction
Always
Reproduction steps:
- Create or open large-sized (10000px x 10000px in my case) image in GIMP
- Make some small changes, e.g. paint with a brush
- Press Ctrl+A and Ctrl+C
- Launch Krita
- GIMP immediately crashes
Expected result: copying pixels in GIMP and pasting them to Krita
Actual result: GIMP crashes, when Krita starts
Additional information
Stderr info
The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 37082 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
GDB backtrace info into linux.org.ru forum theme
(gdb) bt
#0 0x00007ffff7a4c050 in gdk_x_error (display=0x555555d70700, error=0x7fffffffda80) at ./gdk/x11/gdkmain-x11.c:458
#1 0x00007ffff641b0fa in _XError () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#2 0x00007ffff6418067 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#3 0x00007ffff641810d in () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#4 0x00007ffff6419030 in _XReply () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#5 0x00007ffff641498d in XSync () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#6 0x00007ffff6414a2b in () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#7 0x00007ffff63f56c3 in XChangeProperty ()
at /usr/lib/x86_64-linux-gnu/libX11.so.6
#8 0x00007ffff7a4e502 in IA__gdk_property_change (window=0x55555a57bea0, property=0xbe, type=0x88, format=8, mode=GDK_PROP_MODE_REPLACE, data=0x5555dafc6680 "\377\330\377", <incomplete sequence \340>, nelements=262144)
at ./gdk/x11/gdkproperty-x11.c:732
#9 0x00007ffff7c37f48 in _gtk_selection_incr_event (window=<optimized out>, event=event@entry=0x55555a2918f0) at ./gtk/gtkselection.c:2593
#10 0x00007ffff7bd1944 in IA__gtk_main_do_event (event=0x55555a2918f0)
at ./gtk/gtkmain.c:1540
#11 0x00007ffff7a44bac in gdk_event_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ./gdk/x11/gdkevents-x11.c:2425
#12 0x00007ffff68ddc3e in g_main_context_dispatch ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff68dded8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Edited by Alexandre Prokoudine