If gimp crash with message like this:
try to open it as
Code:
(script-fu:1545): LibGimp-ERROR **: shmat() failed: Invalid argument
Could not attach to gimp shared memory segment
(gimp:1544): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
GIMP-Error: Plug-in crashed: "script-fu"
(/usr/local/libexec/gimp/2.2/plug-ins/script-fu)
The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.
gimp --no-shm