Author Topic: gimp fails load error: libgomp.so.1: cannot allocate memory in static TLS block  (Read 3281 times)

pocock

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +32/-0
    • View Profile
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 in the context of Anaconda, it may need to be adapted into a bug report against Gimp.

Debian Developer
https://danielpocock.com