segfault while building gimp

Riccardo Mottola riccardo.mottola at libero.it
Mon Nov 26 09:26:43 UTC 2018


Hi,

I think the issue is in GEGL...

On 2018-11-23 08:55:24 +0100 Ken Cunningham 
<ken.cunningham.webuse at gmail.com> wrote:

> When this happens, you need to go manually.
> 
> Go into the directory where the issue occurred:
> 
> cd 
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.10.8/icons/Symbolic-Inverted
> 
> and run the command manually, using sudo (or change the permissions 
> on 
> everything:

It segfaults. I copied the said icon on the desktop and started 
testing:

Koreander:Desktop multix$ GEGL_USE_OPENCL=no GEGL_SWAP=ram 
/opt/local/bin/gegl-0.4 gimp-error.png -o test.png -- 
gegl:invert-gamma
Bus error
Koreander:Desktop multix$ GEGL_USE_OPENCL=no /opt/local/bin/gegl-0.4 
gimp-error.png -o test.png -- gegl:invert-gammaBus error
Koreander:Desktop multix$ /opt/local/bin/gegl-0.4 gimp-error.png -o 
test.png -- gegl:invert-gamma
Bus error


just running gegl, works. so it is the operation that causes issues.

I tried running it in ggdb and get this:

Program received signal SIGBUS, Bus error.
0x95267e10 in strlen () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0  0x95267e10 in strlen () from /usr/lib/libSystem.B.dylib
#1  0x9528a649 in realpath$DARWIN_EXTSN () from 
/usr/lib/libSystem.B.dylib
#2  0x000051cd in main ()


There is no debug info, but a crash in strlen never looks nice. 
Perhaps only some messed up parameter, but it is bad.


Riccardo



More information about the macports-users mailing list