Open Matthias-Thul opened 2 years ago
Interestingly things work when changing the optimization level to 0
.
Python 3.10.0 (default, Nov 10 2021, 11:24:47) [Clang 12.0.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyjion
>>> pyjion.enable()
True
>>> pyjion.config(level=0)
{'clrjitpath': '/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App/6.0.1/libclrjit.dylib', 'pgc': True, 'graph': False, 'debug': 0, 'level': 0, 'threshold': 0}
>>> import datetime as dt
>>>
Yikes. Which version of Pyjion is this?
This is 1.2.6.
Anything else I can provide to help investigating this?
Please can you run Python in development mode (-X dev
) to enable the crash handler and give a traceback to which function is crashing.
I can't reproduce on an Intel CPU
Hi,
I am on an M1 Mac and am getting the following when import
datetime
.Starting python with
-q -X faulthandler
gives the following additional outputHere is what LLDB shows
Importing other modules and running some simple test functions works just fine.