GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — "import hashlib" crashes on aarch64 after Finalize and re-initialize · Issue #121087 · python/cpython Closed Labels type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump DescriptionCrash reportWhat happened?Compiling and linking below program results in a crash when run on aarch64 (macOS, Debian VM or Ubuntu 22 VM in Azure for example): #include <Python.h> int main(int argc, char *argv[]) { Py_Initialize(); PyRun_SimpleString("import hashlib\nprint('test1')"); Py_Finalize(); Py_Initialize(); PyRun_SimpleString("import trace\ntrace.Trace().run('import hashlib')\nprint('test2')"); Py_Finalize(); return 0; } The trace in the second import is just for better context. The backtrace looks like this: Looking at the hashlib_openssl_md5 function, the use of static non-const structures seems very suspicious at least. CPython versions tested on:3.12 Operating systems tested on:Linux, macOS Output from running 'python -VV' on the command line:Python 3.12.4 (main, Jun 8 2024, 04:51:36) [Clang 15.0.0 (clang-1500.1.0.2.5)] Activity
MetadataMetadataAssigneesLabelstype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |