[Gimp-user] gegl segv



I'm having some difficulty building gimp 2.94 from the current development
tarballs. In fact I have the same issue with git latest:

uname -a
Linux onion 4.4.36-8-default #1 SMP Fri Dec 9 16:18:38 UTC 2016 (3ec5648) x86_64
x86_64 x86_64 GNU/Linux


I build babl, gegl,then libmypaint without errors. 

`make gimp` fails at creating icons

make[3]: Entering directory '/data/gimp_29/build/gimp-2.9.4/icons/Symbolic'
  GEN      gimp-core-pixbufs.gresource.xml
  GEN      gimp-core-pixbufs.c
  GEN      gimp-icon-pixbufs.gresource.xml
  GEN      gimp-icon-pixbufs.c
make[3]: Leaving directory '/data/gimp_29/build/gimp-2.9.4/icons/Symbolic'
Making all in Symbolic-Inverted
make[3]: Entering directory
'/data/gimp_29/build/gimp-2.9.4/icons/Symbolic-Inverted'
mkdir -p `dirname 12/gimp-close.png`; /data/gimp_29/install/bin/gegl
../../icons/Symbolic/12/gimp-close.png -o 12/gimp-close.png -- gegl:invert-gamma
/bin/sh: line 1:  5349 Segmentation fault      (core dumped)
/data/gimp_29/install/bin/gegl ../../icons/Symbolic/12/gimp-close.png -o
12/gimp-close.png -- gegl:invert-gamma
Makefile:2175: recipe for target '12/gimp-close.png' failed
make[3]: *** [12/gimp-close.png] Error 139
make[3]: Leaving directory
'/data/gimp_29/build/gimp-2.9.4/icons/Symbolic-Inverted'
Makefile:621: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/data/gimp_29/build/gimp-2.9.4/icons'
Makefile:795: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/data/gimp_29/build/gimp-2.9.4'
Makefile:696: recipe for target 'all' failed
make: *** [all] Error 2

running gegl on the command line SEGVs

I tried building on my laptop (also OpenSUSE leap 42.2) and it builds without
error.

running 'valgrind  gegl ../gimp/icons/Symbolic/12/gimp-linked.png invert-gamma`
gives me:

==5401== Memcheck, a memory error detector
==5401== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==5401== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==5401== Command: gegl ../gimp/icons/Symbolic/12/gimp-linked.png invert-gamma
==5401== 
==5401== Use of uninitialised value of size 8
==5401==    at 0x756917D: strtok_r (in /lib64/libc-2.22.so)
==5401==    by 0x5AADBA8: babl_init_db (babl-cache.c:344)
==5401==    by 0x4E6666E: gegl_post_parse_hook (gegl-init.c:635)
==5401==    by 0x722BAA6: g_option_context_parse (in
/usr/lib64/libglib-2.0.so.0.4800.2)
==5401==    by 0x4E66019: gegl_init (gegl-init.c:251)
==5401==    by 0x4021B8: main (gegl.c:99)
==5401== 
==5401== Use of uninitialised value of size 8
==5401==    at 0x75691AD: strtok_r (in /lib64/libc-2.22.so)
==5401==    by 0x5AADBA8: babl_init_db (babl-cache.c:344)
==5401==    by 0x4E6666E: gegl_post_parse_hook (gegl-init.c:635)
==5401==    by 0x722BAA6: g_option_context_parse (in
/usr/lib64/libglib-2.0.so.0.4800.2)
==5401==    by 0x4E66019: gegl_init (gegl-init.c:251)
==5401==    by 0x4021B8: main (gegl.c:99)
==5401== 
==5401== Conditional jump or move depends on uninitialised value(s)
==5401==    at 0x75691B0: strtok_r (in /lib64/libc-2.22.so)
==5401==    by 0x5AADBA8: babl_init_db (babl-cache.c:344)
==5401==    by 0x4E6666E: gegl_post_parse_hook (gegl-init.c:635)
==5401==    by 0x722BAA6: g_option_context_parse (in
/usr/lib64/libglib-2.0.so.0.4800.2)
==5401==    by 0x4E66019: gegl_init (gegl-init.c:251)
==5401==    by 0x4021B8: main (gegl.c:99)
==5401== 
==5401== Warning: set address range perms: large range [0x200000000,
0x700000000) (noaccess)
==5401== Warning: set address range perms: large range [0x900000000,
0xb00000000) (noaccess)

(gegl:5401): GEGL-gegl-xml.c-WARNING **: Unable to obtain absolute path for
parameter path

==5401== Syscall param writev(vector[...]) points to uninitialised byte(s)
==5401==    at 0x75C756D: ??? (in /lib64/libc-2.22.so)
==5401==    by 0xE52166D: ??? (in /usr/lib64/libxcb.so.1.1.0)
==5401==    by 0xE521A50: ??? (in /usr/lib64/libxcb.so.1.1.0)
==5401==    by 0xE521AD0: xcb_writev (in /usr/lib64/libxcb.so.1.1.0)
==5401==    by 0x1DA6DB85: _XSend (in /usr/lib64/libX11.so.6.3.0)
==5401==    by 0x1DA6E067: _XReply (in /usr/lib64/libX11.so.6.3.0)
==5401==    by 0x1DA69D9C: XSync (in /usr/lib64/libX11.so.6.3.0)
==5401==    by 0x2FF8F767: X11_SetGammaRamp (in /usr/lib64/libSDL-1.2.so.0.11.4)
==5401==    by 0x2FF9199A: X11_CreateWindow (in /usr/lib64/libSDL-1.2.so.0.11.4)
==5401==    by 0x2FF91CA8: X11_SetVideoMode (in /usr/lib64/libSDL-1.2.so.0.11.4)
==5401==    by 0x2FF82781: SDL_SetVideoMode (in /usr/lib64/libSDL-1.2.so.0.11.4)
==5401==    by 0x2FD4A9BB: process (sdl-display.c:101)
==5401==  Address 0x14b17d23 is 19 bytes inside a block of size 16,384 alloc'd
==5401==    at 0x4C2B250: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==5401==    by 0x1DA5E793: XOpenDisplay (in /usr/lib64/libX11.so.6.3.0)
==5401==    by 0x2FF91EFE: X11_VideoInit (in /usr/lib64/libSDL-1.2.so.0.11.4)
==5401==    by 0x2FF8247A: SDL_VideoInit (in /usr/lib64/libSDL-1.2.so.0.11.4)
==5401==    by 0x2FF5C71B: SDL_InitSubSystem (in
/usr/lib64/libSDL-1.2.so.0.11.4)
==5401==    by 0x2FF5C793: SDL_Init (in /usr/lib64/libSDL-1.2.so.0.11.4)
==5401==    by 0x2FD4AAD3: init_sdl (sdl-display.c:53)
==5401==    by 0x2FD4AAD3: process (sdl-display.c:92)
==5401==    by 0x4EA987D: gegl_operation_sink_process (gegl-operation-sink.c:96)
==5401==    by 0x4EB47B8: gegl_processor_work (gegl-processor.c:822)
==5401==    by 0x4EADDA1: gegl_node_process (gegl-node.c:1698)
==5401==    by 0x402849: main (gegl.c:230)
==5401== 

^C

any ideas where I might look for inspiriation?

TIA



-- 
damianc (via www.gimpusers.com/forums)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]