Description:
It seems that 3.15.0-beta.2-26891732290 and specifically python-3.15.0-beta.2-linux-22.04-x64-freethreaded.tar.gz has some build issue.
I.e. this artifact: https://github.com/actions/python-versions/releases/download/3.15.0-beta.2-26891732290/python-3.15.0-beta.2-linux-22.04-x64-freethreaded.tar.gz
(I can locally verify that 24.04 works just fine with the reproducer below.)
This causes segfaults (one example from numpy import random), but it can also be locally reproduced nicely with gdb:
gdb --args correct_python -c 'while True: pass'
Inside gdb: r then Ctrl+c and then, let's do something that is definitely valid code:
p (void*)PyObject_Realloc(0x0, 128)
which then fails with a Segfault in
mi_free (p=0x0) at Objects/mimalloc/alloc.c:576
warning: 576 Objects/mimalloc/alloc.c: No such file or directory
Action version:
See above for precise artifact.
Platform:
Runner type:
Tools version:
Repro steps:
Sorry, I don't have exact reproducer steps at hand right now since I debugged it locally. But I expect that is easier anyway.
As mentioned, installing NumPy and running python -c 'from numpy import random' will reproduce it, though.
EDIT: Ah silly me to repro should just be something like:
python -c 'import ctypes; ctypes.pythonapi.PyObject_Realloc(0, 128)'
(that also simplifies the gdb call)
(Sorry if this is the wrong place, I guess there is a chance it is yet again an upstream issue...)
Description:
It seems that 3.15.0-beta.2-26891732290 and specifically
python-3.15.0-beta.2-linux-22.04-x64-freethreaded.tar.gzhas some build issue.I.e. this artifact: https://github.com/actions/python-versions/releases/download/3.15.0-beta.2-26891732290/python-3.15.0-beta.2-linux-22.04-x64-freethreaded.tar.gz
(I can locally verify that 24.04 works just fine with the reproducer below.)
This causes segfaults (one example
from numpy import random), but it can also be locally reproduced nicely with gdb:Inside gdb:
rthen Ctrl+c and then, let's do something that is definitely valid code:which then fails with a Segfault in
Action version:
See above for precise artifact.
Platform:
Runner type:
Tools version:
Repro steps:
Sorry, I don't have exact reproducer steps at hand right now since I debugged it locally. But I expect that is easier anyway.
As mentioned, installing NumPy and runningpython -c 'from numpy import random'will reproduce it, though.EDIT: Ah silly me to repro should just be something like:
(that also simplifies the gdb call)
(Sorry if this is the wrong place, I guess there is a chance it is yet again an upstream issue...)