Raptor Computing Systems Community Forums (BETA)

Software => Applications and Porting => Topic started by: pocock on November 06, 2020, 02:04:35 pm

Title: gimp fails load error: libgomp.so.1: cannot allocate memory in static TLS block
Post by: pocock on November 06, 2020, 02:04:35 pm
On Debian buster, when I try to run gimp, it fails like this:

Code: [Select]
GEGL-Message: 20:50:18.383: Module '/usr/lib/powerpc64le-linux-gnu/gegl-0.4/ff-save.so' load error: /lib/powerpc64le-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
GEGL-Message: 20:50:18.388: Module '/usr/lib/powerpc64le-linux-gnu/gegl-0.4/matting-levin.so' load error: /lib/powerpc64le-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
GEGL-Message: 20:50:18.390: Module '/usr/lib/powerpc64le-linux-gnu/gegl-0.4/raw-load.so' load error: /lib/powerpc64le-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
GEGL-Warning: Module '/usr/lib/powerpc64le-linux-gnu/gegl-0.4/ff-load.so' load error: /lib/powerpc64le-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block


(gimp:39890): GLib-GObject-WARNING **: 20:50:18.483: Fatal error - Could not reload previously loaded plugin '(unknown)'

As a workaround, it works if I run it with this command line:

Code: [Select]
$ LD_PRELOAD=libgomp.so.1 gimp

There is some discussion about this particular issue here (https://bugzilla.redhat.com/show_bug.cgi?id=1722181) in the context of Anaconda, it may need to be adapted into a bug report against Gimp.