On Wed, 2024-11-13 at 15:14 +0100, John Paul Adrian Glaubitz wrote:
does anyone have a solution on how to fix Python 3.13 with 2-byte alignment?
This is the backtrace: (gdb) r Starting program: /home/glaubitz/python3.13-3.13.0/build-static/_bootstrap_python ../Programs/_freeze_module.py abc ../Lib/abc.py Python/frozen_modules/abc.h Program received signal SIGSEGV, Segmentation fault. 0x801c56d0 in _PyGCHead_NEXT (gc=0x85f0b6c0) at ../Include/internal/pycore_gc.h:175 175 uintptr_t next = gc->_gc_next; (gdb) bt #0 0x801c56d0 in _PyGCHead_NEXT (gc=0x85f0b6c0) at ../Include/internal/pycore_gc.h:175 #1 update_refs (containers=0x804eb4f2 <_PyRuntime+50314>) at ../Python/gc.c:396 #2 deduce_unreachable (unreachable=0xefffecc8, base=0x804eb4f2 <_PyRuntime+50314>) at ../Python/gc.c:1086 #3 gc_collect_main (tstate=0x80502b22 <_PyRuntime+146106>, generation=0, reason=_Py_GC_REASON_HEAP) at ../Python/gc.c:1360 #4 0x801c6e06 in _Py_RunGC (tstate=0x80502b22 <_PyRuntime+146106>) at ../Python/gc.c:1837 #5 0x801ce9ac in _Py_HandlePending (tstate=0x80502b22 <_PyRuntime+146106>) at ../Python/ceval_gil.c:1296 #6 0x80012936 in _PyEval_EvalFrameDefault (tstate=0x80502b22 <_PyRuntime+146106>, frame=0xc0025238, throwflag=0) at ../Python/generated_cases.c.h:1364 #7 0x8019689e in _PyEval_EvalFrame (throwflag=0, frame=<optimized out>, tstate=<optimized out>) at ../Include/internal/pycore_ceval.h:119 #8 0x800694b8 in _PyFunction_Vectorcall (func=0xc02c2208, stack=0xefffeed4, nargsf=2, kwnames=0x0) at ../Objects/call.c:413 #9 0x80068e54 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=2, args=0xefffeed4, callable=0xc02c2208, tstate=0x804ba000) at ../Include/internal/pycore_call.h:168 #10 object_vacall (tstate=0x80502b22 <_PyRuntime+146106>, base=0x0, callable=0xc02c2208, vargs=<optimized out>) at ../Objects/call.c:819 #11 0x80069d8e in PyObject_CallMethodObjArgs (obj=0x0, name=0x804e4ed4 <_PyRuntime+24172>) at ../Objects/call.c:880 #12 0x801d6a06 in import_find_and_load (abs_name=0xc02e83e0, tstate=0x80502b22 <_PyRuntime+146106>) at ../Python/import.c:3683 #13 PyImport_ImportModuleLevelObject (name=0xc02e83e0, globals=0xc02f5960, locals=0xc02f5960, fromlist=0xc02e81e8, level=0) at ../Python/import.c:3765 #14 0x8018f218 in builtin___import___impl (level=0, fromlist=0xc02e81e8, locals=0xc02f5960, globals=0xc02f5960, name=0xc02e83e0, module=<optimized out>) at ../Python/bltinmodule.c:277 #15 builtin___import__ (module=0xc02a25f0, args=<optimized out>, nargs=5, kwnames=0x0) at ../Python/clinic/bltinmodule.c.h:107 #16 0x800c436c in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0xc02a2668, args=0xeffff01c, nargsf=5, kwnames=0x0) at ../Objects/methodobject.c:441 #17 0x800690ec in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0xeffff01c, callable=0xc02a2668, tstate=0x80502b22 <_PyRuntime+146106>) at ../Include/internal/pycore_call.h:168 #18 _PyObject_CallFunctionVa (tstate=0x80502b22 <_PyRuntime+146106>, callable=0xc02a2668, format=0x8033e43e "OOOOi", va=0xeffff05c) at ../Objects/call.c:552 #19 0x80069662 in PyObject_CallFunction (callable=0xc02a2668, format=0x8033e43e "OOOOi") at ../Objects/call.c:574 #20 0x801d72ee in PyImport_Import (module_name=0xc02e83e0) at ../Python/import.c:3950 #21 0x801d7586 in PyImport_ImportModule (name=0x8033a447 "encodings") at ../Python/import.c:3390 #22 0x8019a866 in _PyCodec_InitRegistry (interp=0x804ea654 <_PyRuntime+46572>) at ../Python/codecs.c:1505 #23 0x80143b3a in _PyUnicode_InitEncodings (tstate=0x80502b22 <_PyRuntime+146106>) at ../Objects/unicodeobject.c:15755 #24 0x801f3246 in init_interp_main (tstate=0x80502b22 <_PyRuntime+146106>) at ../Python/pylifecycle.c:1200 #25 0x801f3624 in pyinit_main (tstate=0x0) at ../Python/pylifecycle.c:1374 #26 pyinit_main (tstate=0x80502b22 <_PyRuntime+146106>) at ../Python/pylifecycle.c:1363 #27 0x801f489e in Py_InitializeFromConfig (config=<optimized out>) at ../Python/pylifecycle.c:1405 #28 0x80009d10 in main (argc=5, argv=0xeffff4a4) at ../Programs/_bootstrap_python.c:94 (gdb) Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913