-
-
Notifications
You must be signed in to change notification settings - Fork 15
Updated to PyO3 0.23 Upload free-threaded wheels #64
Copy link
Copy link
Closed
Description
I noticed today that doing python -m readme_renderer on the free-threaded build segfaults right now, I think due to the dependency on nh3:
goldbaum at Nathans-MBP in ~/Documents/numpy on fix-multithreaded-scaling
± lldb $(pyenv which python3.13t) -- -m readme_renderer README.md
(lldb) target create "/Users/goldbaum/.pyenv/versions/3.13.0t/bin/python3.13t"
Current executable set to '/Users/goldbaum/.pyenv/versions/3.13.0t/bin/python3.13t' (arm64).
(lldb) settings set -- target.run-args "-m" "readme_renderer" "README.md"
(lldb) r
Process 10972 launched: '/Users/goldbaum/.pyenv/versions/3.13.0t/bin/python3.13t' (arm64)
Process 10972 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000183b93610 libsystem_platform.dylib`_platform_strcmp + 64
libsystem_platform.dylib`_platform_strcmp:
-> 0x183b93610 <+64>: ldr q0, [x0], #0x10
0x183b93614 <+68>: ldr q1, [x1], #0x10
0x183b93618 <+72>: cmeq.16b v1, v0, v1
0x183b9361c <+76>: and.16b v0, v0, v1
Target 0: (python3.13t) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x0000000183b93610 libsystem_platform.dylib`_platform_strcmp + 64
frame #1: 0x0000000100baeabc libpython3.13t.dylib`_PyImport_ResolveNameWithPackageContext + 76
frame #2: 0x0000000100a8cee0 libpython3.13t.dylib`_PyModule_CreateInitialized + 280
frame #3: 0x00000001005778e4 nh3.cpython-313t-darwin.so`pyo3::sync::GILOnceCell$LT$T$GT$::init::hd5f4f79830acd43c + 44
frame #4: 0x0000000100536ca4 nh3.cpython-313t-darwin.so`pyo3::impl_::pymodule::ModuleDef::make_module::h01afd408f8152e13 + 136
frame #5: 0x00000001004d0ee8 nh3.cpython-313t-darwin.so`PyInit_nh3 + 60
frame #6: 0x0000000100bb5cf8 libpython3.13t.dylib`_PyImport_RunModInitFunc + 60
frame #7: 0x0000000100bb3238 libpython3.13t.dylib`import_run_extension + 116
frame #8: 0x0000000100bb4cf8 libpython3.13t.dylib`_imp_create_dynamic + 492
frame #9: 0x0000000100a8ba00 libpython3.13t.dylib`cfunction_vectorcall_FASTCALL + 268
frame #10: 0x0000000100b675a8 libpython3.13t.dylib`_PyEval_EvalFrameDefault + 13328
frame #11: 0x0000000100a29e74 libpython3.13t.dylib`object_vacall + 304
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels