You are not logged in.

#1 2017-12-31 16:15:36

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

[SOLVED] gimp crashes when selecting/copying picture

When i open a picture and press <ctrl+a>, <ctrl-c> (select all/copy) the gimp window vanishes after 5 seconds. There is nothing in journalctl and gimp console output (--verbose) shows this:

loading menu '/usr/share/gimp/2.0/menus/image-menu.xml' for /image-menubar
Loading module '/usr/lib/gimp/2.0/modules/libdisplay-filter-lcms.so'
While parsing XMP metadata:
Error: No XMP packet found
clipboard: sending pixbuf data as 'image/png'
clipboard: sending pixbuf data as 'image/png'
clipboard: sending pixbuf data as 'image/png'
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 38033 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.)

(script-fu:4729): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

I already deleted ~/.gimp-2.8 folder but that didn't help.
Any idea what could be wrong? Is anyone not affected by this bug? Is it just me? Is it related to latest x-server update and we maybe just have to wait?

Linux 4.14.9-1-ARCH #1 SMP PREEMPT Tue Dec 26 00:18:37 UTC 2017 x86_64 GNU/Linux
XFCE
GNU Image Manipulation Program version 2.8.22
git-describe: GIMP_2_8_20-60-ge39a4e1203
using GEGL version 0.2.0 (compiled against version 0.2.0)
using GLib version 2.54.0 (compiled against version 2.52.2)
using GdkPixbuf version 2.36.10 (compiled against version 2.36.6)
using GTK+ version 2.24.31 (compiled against version 2.24.31)
using Pango version 1.40.13 (compiled against version 1.40.6)
using Fontconfig version 2.12.6 (compiled against version 2.12.3)
using Cairo version 1.15.10 (compiled against version 1.14.8)

Last edited by Maniaxx (2018-01-01 17:32:30)


sys2064

Offline

#2 2017-12-31 23:33:31

watchdog0
Banned
Registered: 2017-12-23
Posts: 15

Re: [SOLVED] gimp crashes when selecting/copying picture

To get started, you must:
    pacman -Syyu
Then delete all applications to save the buffer, if any, and reboot

Offline

#3 2018-01-01 09:39:29

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [SOLVED] gimp crashes when selecting/copying picture

Both hs kernel and gimp versions are up to date, so what makes you think his system is somehow dated??
Also "pacman -Syyu" is really a bullshit advise; doing "yy" without (apparently) the slightest idea on your side what that means is an attempt to shoot your own foot.

@Maniaxx, the X11 error is likely a red herring - the gimp crashes, the window is destroyed and the still running glib event dispatcher, still handling the CnP receives an X11 error (because the X11 window for the CnP is gone) and for some unknown reason some idiot gtk dev believes an X11 error is a reasonable cause for an abort (what, given the async nature of X11, is plain stupid)
From the symptom description I suspect an OOM - can you watch the RAM load while doing this? Do you get the same behavior with any image, say eg. a 48x48px BMP (and I mean BMP, no alpha channel or compression or anything)

Offline

#4 2018-01-01 17:32:11

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] gimp crashes when selecting/copying picture

Weird.. now it works properly again. Maybe due to reboot or update. No clue.

Thanks anyway!


sys2064

Offline

Board footer

Powered by FluxBB