GNOME Bugzilla – Bug 778895
Segment Fault > Layer with layer mask + blend mode (except Normal)
Last modified: 2017-02-19 18:45:15 UTC
Created attachment 346162 [details] GIMP archive used to test the segment fault steps When you try paint over a layer with a layer mask, and with a blend mode different of the Normal... this is causing segment fault always. --- The steps are: 1) create a document with 2 layers (transparent on top and background on bottom); 2) on top layer add a layer mask; 3) change the the blend mode of the top layer to any blend different of the Normal; 4) choose a paint tool and try paint over top layer (with layer mask). 5) crash with segment fault. --- Notes: a) if you disable the layer mask the segment fault don't happens. b) I have tested with full opacity and full transparent, the behavior is the same. --- My Terminal had this output: jag@jagnome:/opt/gimp-default-master/bin$ ./gimp-2.9 GEGL-Message: Module '/opt/gimp-default-master/lib/gegl-0.3/text.so' load error: /opt/gimp-default-master/lib/gegl-0.3/text.so: undefined symbol: pango_attr_foreground_alpha_new This is a development version of GIMP. Debug messages may appear here. gimp_display_shell_profile_update gimp_display_shell_profile_update gimp_display_shell_profile_update 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 "cairo-ARGB32" and "R'G'B'A u8" magic match 9 on gimp-xcf-load best magic match on gimp-xcf-load gimp_display_shell_profile_update src_profile: GIMP built-in sRGB src_format: R'G'B'A u8 dest_format: R'G'B'A u8 gimp_display_shell_profile_update src_profile: GIMP built-in sRGB src_format: R'G'B'A u8 dest_format: R'G'B'A u8 gimp_display_shell_profile_update src_profile: GIMP built-in sRGB src_format: R'G'B'A u8 dest_format: R'G'B'A u8 (script-fu:4714): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error Segmentation fault (core dumped) --- My DE is Gnome 3.10 Ubuntu Gnome 14.04.2 GIMP 2.9.5 Git Master - commit 608070f
Created attachment 346164 [details] gdb output
Created attachment 346165 [details] gdb terminal output
Thanks for reporting. Fixed in master: commit f2ea9953163a024d6486260e4b268cda78a045cb Author: Ell <ell_se@yahoo.com> Date: Sat Feb 18 20:23:35 2017 -0500 app: fix infinite recursion when compositing unaligned buffers app/operations/layer-modes/gimpoperationlayermode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
*** Bug 778876 has been marked as a duplicate of this bug. ***