Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 pre-check #989

Open
1 task
sklam opened this issue Sep 13, 2023 · 1 comment
Open
1 task

Python 3.12 pre-check #989

sklam opened this issue Sep 13, 2023 · 1 comment
Labels
3.12 Python 3.12 related issues

Comments

@sklam
Copy link
Member

sklam commented Sep 13, 2023

           Fatal Python error: Illegal instruction
           Current thread 0x0000000205656280 (most recent call first):
           File "/path/to/llvmlite/llvmlite/binding/ffi.py", line 190 in __call__
           File "/path/to/llvmlite/llvmlite/binding/executionengine.py", line 92 in finalize_object
           File "/path/to/llvmlite/llvmlite/tests/test_binding.py", line 989 in get_sum

lldb backtrace:

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x12)
  * frame #0: 0x000000010b60aad0 _ctypes.cpython-312-darwin.so`_CallPythonObject + 64
    frame #1: 0x000000010b60aa4e _ctypes.cpython-312-darwin.so`closure_fcn + 46
    frame #2: 0x00000001096254c4 libffi.8.dylib`ffi_closure_unix64_inner + 564
    frame #3: 0x0000000109625b0c libffi.8.dylib`ffi_closure_unix64 + 72
    frame #4: 0x000000012db93d94 libllvmlite.dylib`LLVMPYObjectCache::notifyObjectCompiled(this=0x00006000002209a0, M=0x0000000109599580, MBR=MemoryBufferRef @ 0x00000003017a3130) at executionengine.cpp:195:13
    frame #5: 0x000000012ee84a5f libllvmlite.dylib`llvm::MCJIT::emitObject(llvm::Module*) + 463
    frame #6: 0x000000012ee84c60 libllvmlite.dylib`llvm::MCJIT::generateCodeForModule(llvm::Module*) + 208
    frame #7: 0x000000012ee85a7e libllvmlite.dylib`llvm::MCJIT::finalizeObject() + 446
    frame #8: 0x000000012db933ae libllvmlite.dylib`::LLVMPY_FinalizeObject(EE=0x000000010a094a00) at executionengine.cpp:63:23

or

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
  * frame #0: 0x000000010ad3cfc9
    frame #1: 0x000000012ee84a5f libllvmlite.dylib`llvm::MCJIT::emitObject(llvm::Module*) + 463
    frame #2: 0x000000012ee84c60 libllvmlite.dylib`llvm::MCJIT::generateCodeForModule(llvm::Module*) + 208
    frame #3: 0x000000012ee85a7e libllvmlite.dylib`llvm::MCJIT::finalizeObject() + 446
    frame #4: 0x000000012db933ae libllvmlite.dylib`::LLVMPY_FinalizeObject(EE=0x0000000109881a00) at executionengine.cpp:63:23
@esc esc added the 3.12 Python 3.12 related issues label Sep 13, 2023
@esc
Copy link
Member

esc commented Nov 22, 2023

@sklam can this now be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 Python 3.12 related issues
Projects
None yet
Development

No branches or pull requests

2 participants