2.99 MacOS: Python plugins not working properly
Environment/Versions
- GIMP version: 2.99.8
- Package: https://app.circleci.com/pipelines/github/lukaso/gimp-macos-build/31/workflows/04761dd0-5eef-4e8d-8da6-944c7a36b5dd/jobs/35
- Operating System: macOS
Description of the bug
Python plugins using the CI built executables either don't load or hang in the python3.9
executable.
Reproduction
Is the bug reproducible?
Reproduction steps:
- Download application
- Run application
- Application hangs with python3.9 process stopping as per below
Or
- Download application
- Run application from the command line, doing
env -i /Application/GIMP-2.99.app/Contents/MacOS/gimp
- Application will run but all python plugins will warn with something like
** (spyro-plus.py:4124): WARNING **: 17:34:50.887: could not allocate closure
…
Expected result: Python plugins load
Actual result: Hang or python plugins don't load
Additional information
Call stack - non-debug build (top of list is top of stack). The application appears to be hanging on this call:
fstatat$INODE64 (@fstatat$INODE64:6)
find_temp_path (@find_temp_path:140)
mkostemp (@mkostemp:26)
open_temp_exec_file_dir (@open_temp_exec_file_dir:30)
dlmmap_locked (@dlmmap_locked:26)
dlmmap (@dlmmap:37)
ffi_closure_alloc (@ffi_closure_alloc:554)
g_callable_info_prepare_closure (@g_callable_info_prepare_closure:24)
_pygi_make_native_closure (@_pygi_make_native_closure:43)
_wrap_pyg_hook_up_vfunc_implementation (@_wrap_pyg_hook_up_vfunc_implementation:108)
cfunction_call (@cfunction_call:48)
_PyObject_MakeTpCall (@_PyObject_MakeTpCall:111)
call_function (@call_function:158)
_PyEval_EvalFrameDefault (@_PyEval_EvalFrameDefault:6731)
function_code_fastcall (@function_code_fastcall:51)
method_vectorcall (@method_vectorcall:57)
call_function (@call_function:104)
_PyEval_EvalFrameDefault (@_PyEval_EvalFrameDefault:6695)
_PyEval_EvalCode (@_PyEval_EvalCode:720)
_PyFunction_Vectorcall (@_PyFunction_Vectorcall:88)