GNOME Bugzilla – Bug 441812
Seg fault when pasting into a layer with a mask
Last modified: 2008-01-15 14:12:13 UTC
I seem to be able to reproducibly crash GIMP 2.3.17 when pasting onto either the base layer or layer mask of a image. Image is 4368x2912 pixels. Has 4 layers, the top two with masks. Copy the second layer (without mask) and paste onto the third with the layer set to edit mask or not and it's seg faulting - reproduced within a gdb run so have a stack trace available attached below. Layer 4 with maks, mode overlay Layer 3 with mask, mode overlay Layer 2 mode normal, not visible Layer 1 (background) is normal mode $ gdb gimp GNU gdb Red Hat Linux (6.5-15.fc6rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/gimp [Thread debugging using libthread_db enabled] [New Thread -1208334656 (LWP 11029)] This is a development version of GIMP. Debug messages may appear here. [New Thread -1210434672 (LWP 11055)] [New Thread -1220924528 (LWP 11056)] (null): image-type contains unrecognizable parts:'+' Program received signal SIGSEGV, Segmentation fault.
+ Trace 136440
Thread NaN (LWP 11029)
Hmmm... it's even worse - just tried again with a much simpler image 377x233 (default) white background. Open image, duplicate layer, scribble on the background, copy and paste onto the background copy layer, click the anchor icon and crash with this trace: $ gdb gimp GNU gdb Red Hat Linux (6.5-15.fc6rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/gimp [Thread debugging using libthread_db enabled] [New Thread -1208285504 (LWP 11249)] This is a development version of GIMP. Debug messages may appear here. [New Thread -1210385520 (LWP 11275)] [New Thread -1220875376 (LWP 11276)] (null): image-type contains unrecognizable parts:'+' Program received signal SIGSEGV, Segmentation fault.
+ Trace 136441
Thread NaN (LWP 11249)
I can't reproduce this. The histogram dialog from the second stack trace also doesn't cause any problems here.
I was able to reproduce it but the problem is fixed now due to the changes made for bug #441878. I am closing this report as a duplicate. *** This bug has been marked as a duplicate of 441878 ***