After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776502 - gimp-bug gimp crashed when copying layer
gimp-bug gimp crashed when copying layer
Status: RESOLVED DUPLICATE of bug 757070
Product: GIMP
Classification: Other
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-12-26 15:38 UTC by aligari
Modified: 2017-01-01 10:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bug 776502 - crash when copy layer (3.28 MB, video/ogg)
2016-12-27 12:03 UTC, aligari
Details

Description aligari 2016-12-26 15:38:53 UTC
GNU/LINUKS debian-sid-64bit kernel 4.9.0 nvidia 375.26 -> debian repository.

1. gimp-bug_crashed when copying layer.



Dump console:

his is a development version of GIMP.  Debug messages may appear here.

Unable to update the static FcBlanks: 0x0600
Unable to update the static FcBlanks: 0x0601
Unable to update the static FcBlanks: 0x0602
Unable to update the static FcBlanks: 0x0603
Unable to update the static FcBlanks: 0x06dd
Unable to update the static FcBlanks: 0x070f
Unable to update the static FcBlanks: 0x2028
Unable to update the static FcBlanks: 0x2029
Unable to update the static FcBlanks: 0xfff9
Unable to update the static FcBlanks: 0xfffa
Unable to update the static FcBlanks: 0xfffb
Unable to update the static FcBlanks: 0x0600
Unable to update the static FcBlanks: 0x0601
Unable to update the static FcBlanks: 0x0602
Unable to update the static FcBlanks: 0x0603
Unable to update the static FcBlanks: 0x06dd
Unable to update the static FcBlanks: 0x070f
Unable to update the static FcBlanks: 0x2028
Unable to update the static FcBlanks: 0x2029
Unable to update the static FcBlanks: 0xfff9
Unable to update the static FcBlanks: 0xfffa
Unable to update the static FcBlanks: 0xfffb

(gimp-2.9:17876): Gimp-Widgets-CRITICAL **: gimp_device_info_set_device: assertion '(info->device == NULL && GDK_IS_DEVICE (device)) || (GDK_IS_DEVICE (info->device) && device == NULL)' failed
gimp_display_shell_profile_update
gimp_display_shell_profile_update
gimp_display_shell_profile_update
magic match 4 on file-psd-load
best magic match on file-psd-load
gimp_display_shell_profile_update
src_profile: sRGB IEC61966-2.1
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
gimp_display_shell_profile_update
src_profile: sRGB IEC61966-2.1
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
gimp_display_shell_profile_update
src_profile: sRGB IEC61966-2.1
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
XXXXXX gimp_image_create_color_transforms XXXXXX
XXXXXX gimp_image_create_color_transforms XXXXXX
The program 'gimp-2.9' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 64072 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:18035): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Comment 1 Jehan 2016-12-27 00:59:06 UTC
Hello,

Thanks for reporting. Could we have more details and in particular reproduction steps?
What does "copying layer" mean? Select the whole contents of the layer into another? Click the "Create a duplicate" button? Something else? We need to have exact steps.
Also does it happen every times?
Could you generate a backtrace of the crash?

What is the commit hash of GIMP? Did you update babl and GEGL too?
Comment 2 aligari 2016-12-27 12:00:38 UTC
:-)… step by step:
Menu -> file
1. Open image
Menu -> Layers dock
2. duplicate layer
Menu -> selection
3. select all
Menu -> edit
4. copy
:-|, :-|, :-|… crash ;-/ :-(…

Fresh compilation
commit c86d286   compiling today 27.12.2016 morning ap-to-date
babl and GEGL    compiling today 27.12.2016 morning ap-to-date

Important !!! -> attachment film


console 27.12.2016 morning:

This is a development version of GIMP.  Debug messages may appear here.

Unable to update the static FcBlanks: 0x0600
Unable to update the static FcBlanks: 0x0601
Unable to update the static FcBlanks: 0x0602
Unable to update the static FcBlanks: 0x0603
Unable to update the static FcBlanks: 0x06dd
Unable to update the static FcBlanks: 0x070f
Unable to update the static FcBlanks: 0x2028
Unable to update the static FcBlanks: 0x2029
Unable to update the static FcBlanks: 0xfff9
Unable to update the static FcBlanks: 0xfffa
Unable to update the static FcBlanks: 0xfffb
Unable to update the static FcBlanks: 0x0600
Unable to update the static FcBlanks: 0x0601
Unable to update the static FcBlanks: 0x0602
Unable to update the static FcBlanks: 0x0603
Unable to update the static FcBlanks: 0x06dd
Unable to update the static FcBlanks: 0x070f
Unable to update the static FcBlanks: 0x2028
Unable to update the static FcBlanks: 0x2029
Unable to update the static FcBlanks: 0xfff9
Unable to update the static FcBlanks: 0xfffa
Unable to update the static FcBlanks: 0xfffb

(gimp-2.9:18818): Gimp-Widgets-CRITICAL **: gimp_device_info_set_device: assertion '(info->device == NULL && GDK_IS_DEVICE (device)) || (GDK_IS_DEVICE (info->device) && device == NULL)' failed
gimp_display_shell_profile_update
gimp_display_shell_profile_update
gimp_display_shell_profile_update
magic match 4 on file-jpeg-load
best magic match on file-jpeg-load
jpeg-load: found Exif block (53049 bytes)
gimp_display_shell_profile_update
src_profile: Compatible with Adobe RGB (1998)
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
gimp_display_shell_profile_update
src_profile: Compatible with Adobe RGB (1998)
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
gimp_display_shell_profile_update
src_profile: Compatible with Adobe RGB (1998)
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
XXXXXX gimp_image_create_color_transforms XXXXXX
Missing fast-path babl conversion detected, Implementing missing babl fast paths
accelerates GEGL, GIMP and other software using babl, warnings are printed on
first occurance of formats used where a conversion has to be synthesized
programmatically by babl based on format description

*WARNING*: missing babl fast path(s) between formats "R'G'B'A u8" and "A u8"
The program 'gimp-2.9' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 162713 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:18829): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error


***This happens most often 99 %***
Comment 3 aligari 2016-12-27 12:03:15 UTC
Created attachment 342494 [details]
bug 776502 - crash when copy layer
Comment 4 Michael Schumacher 2016-12-27 13:30:24 UTC
Do you use a clipboard manager?
Comment 5 Jehan 2016-12-27 13:48:24 UTC
I cannot reproduce with your step on a fresh master.

Also commit c86d286 does not exist in our repository. Are you using some custom or third-party branch by any chance? Could you please test with the official master of GIMP: git://git.gnome.org/gimp ? (same for babl and GEGL, make sure you use the official ones)

Finally if you can reproduce with official master, we would need a backtrace of the crash since we cannot reproduce.
Run GIMP in gdb:

> gdb gimp-2.9
> run

Do your steps, and when GIMP crashes:

> bt

Copy paste the outputted backtrace onto the bug report.
Comment 6 aligari 2016-12-27 15:06:03 UTC
Previous compilation was made from the repository: https://github.com/GNOME/

Current: git://git.gnome.org/

All operations as before:


gdb gimp-2.9
GNU gdb (Debian 7.12-4) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gimp-2.9...done.
(gdb) run
Starting program: /home/instaler/0_devel_0/gimp-dev/bin/gimp-2.9 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe8460700 (LWP 21652)]
[New Thread 0x7fffe2840700 (LWP 21653)]
This is a development version of GIMP.  Debug messages may appear here.

[New Thread 0x7fffca28e700 (LWP 21658)]
Unable to update the static FcBlanks: 0x0600
Unable to update the static FcBlanks: 0x0601
Unable to update the static FcBlanks: 0x0602
Unable to update the static FcBlanks: 0x0603
Unable to update the static FcBlanks: 0x06dd
Unable to update the static FcBlanks: 0x070f
Unable to update the static FcBlanks: 0x2028
Unable to update the static FcBlanks: 0x2029
Unable to update the static FcBlanks: 0xfff9
Unable to update the static FcBlanks: 0xfffa
Unable to update the static FcBlanks: 0xfffb
Unable to update the static FcBlanks: 0x0600
Unable to update the static FcBlanks: 0x0601
Unable to update the static FcBlanks: 0x0602
Unable to update the static FcBlanks: 0x0603
Unable to update the static FcBlanks: 0x06dd
Unable to update the static FcBlanks: 0x070f
Unable to update the static FcBlanks: 0x2028
Unable to update the static FcBlanks: 0x2029
Unable to update the static FcBlanks: 0xfff9
Unable to update the static FcBlanks: 0xfffa
Unable to update the static FcBlanks: 0xfffb
[New Thread 0x7fffc9249700 (LWP 21665)]
[Thread 0x7fffc9249700 (LWP 21665) exited]

(gimp-2.9:21628): Gimp-Widgets-CRITICAL **: gimp_device_info_set_device: assertion '(info->device == NULL && GDK_IS_DEVICE (device)) || (GDK_IS_DEVICE (info->device) && device == NULL)' failed
gimp_display_shell_profile_update
gimp_display_shell_profile_update
gimp_display_shell_profile_update
[Thread 0x7fffca28e700 (LWP 21658) exited]
magic match 4 on file-jpeg-load
best magic match on file-jpeg-load
[New Thread 0x7fffca28e700 (LWP 21756)]
jpeg-load: found Exif block (52965 bytes)
gimp_display_shell_profile_update
src_profile: Compatible with Adobe RGB (1998)
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
gimp_display_shell_profile_update
src_profile: Compatible with Adobe RGB (1998)
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
gimp_display_shell_profile_update
src_profile: Compatible with Adobe RGB (1998)
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
XXXXXX gimp_image_create_color_transforms XXXXXX
Missing fast-path babl conversion detected, Implementing missing babl fast paths
accelerates GEGL, GIMP and other software using babl, warnings are printed on
first occurance of formats used where a conversion has to be synthesized
programmatically by babl based on format description

*WARNING*: missing babl fast path(s) between formats "R'G'B'A u8" and "A u8"

(gimp-2.9:21628): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(gimp-2.9:21628): Gdk-CRITICAL **: IA__gdk_window_set_events: assertion 'GDK_IS_WINDOW (window)' failed
The program 'gimp-2.9' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 35532 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.)
[Thread 0x7fffca28e700 (LWP 21756) exited]
[Thread 0x7fffe8460700 (LWP 21652) exited]
[Thread 0x7ffff7fade00 (LWP 21628) exited]

(script-fu:21694): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
[Inferior 1 (process 21628) exited with code 01]
(gdb) bt
No stack.
(gdb)

Regards   Aligari :)
Comment 7 aligari 2017-01-01 08:43:32 UTC
:-)… problem solved. The error was caused by a clipboard manager -> copyq.

A.
Comment 8 Michael Schumacher 2017-01-01 10:42:21 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 757070 ***