Python 3.12.3 Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.4.0) [Python 3.12.3] SbkObjectType_tp_new metatype=MetaQObjectHasTraits name=NewBase args=PyObject("tuple", ...(0x7f0c86456610, refs=4294967295, "str", 0x10481502 basicsize=64, "NewBase" ), (0x7f0c81e594a0, refs=3, "tuple", 0x4485522 [base] [gc] [tuple] [ready] [immutabletype] [sequence], basicsize=24, 1 <(0x61a0000be2b0, refs=65, type: "PySide6.QtCore.QObject", 0x85600 [heaptype] [base] [gc] [ready], basicsize=40, bases=[1]{"Shiboken.Object"}, mro=[3]{"PySide6.QtCore.QObject", "Shiboken.Object", "object"}, underlying="Shiboken.ObjectType")>), (0x7f0c81e54ad0, refs=3, "dict", 0x20485542 [base] [gc] [dict] [ready] [immutabletype] [mapping], basicsize=48, {})>) pyBases=PyObject(0x7f0c81e594a0, refs=2, "tuple", 0x4485522 [base] [gc] [tuple] [ready] [immutabletype] [sequence], basicsize=24, 1 <(0x61a0000be2b0, refs=64, type: "PySide6.QtCore.QObject", 0x85600 [heaptype] [base] [gc] [ready], basicsize=40, bases=[1]{"Shiboken.Object"}, mro=[3]{"PySide6.QtCore.QObject", "Shiboken.Object", "object"}, underlying="Shiboken.ObjectType")>) SbkObjectType_tp_new pyBases[0] 0x61a0000be2b0 PySide6.QtCore.QObject PepType_Type_tp_new metatype=MetaQObjectHasTraits rets 0x61a0000c96b0 SbkObjectType_tp_new metatype=MetaQObjectHasTraits newType=0x61a0000c96b0 SbkObjectType_tp_new Shiboken::getCppBaseClasses()-> PySide6.QtCore.QObject ================================================================= ==169795==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61a0000c9b40 at pc 0x7f0c8616f94c bp 0x7ffda574f860 sp 0x7ffda574f850 WRITE of size 1 at 0x61a0000c9b40 thread T0 #0 0x7f0c8616f94b in SbkObjectType_tp_new /data0/frkleint/pyside-setup12s/sources/shiboken6/libshiboken/basewrapper.cpp:573 #1 0x7f0c8a8f65cc in type_call ../cpython_src312/Objects/typeobject.c:1661 #2 0x7f0c8a858c9f in _PyObject_MakeTpCall ../cpython_src312/Objects/call.c:240 #3 0x7f0c8a858172 in _PyObject_VectorcallTstate ../cpython_src312/Include/internal/pycore_call.h:90 #4 0x7f0c8a8590a5 in PyObject_Vectorcall ../cpython_src312/Objects/call.c:325 #5 0x7f0c8a9dcf9d in _PyEval_EvalFrameDefault Python/bytecodes.c:2706 #6 0x7f0c8a9c36df in _PyEval_EvalFrame ../cpython_src312/Include/internal/pycore_ceval.h:89 #7 0x7f0c8a9e83ed in _PyEval_Vector ../cpython_src312/Python/ceval.c:1683 #8 0x7f0c8a9c50e1 in PyEval_EvalCode ../cpython_src312/Python/ceval.c:578 #9 0x7f0c8aa7f34a in run_eval_code_obj ../cpython_src312/Python/pythonrun.c:1722 #10 0x7f0c8aa7f44d in run_mod ../cpython_src312/Python/pythonrun.c:1743 #11 0x7f0c8aa7f100 in pyrun_file ../cpython_src312/Python/pythonrun.c:1643 #12 0x7f0c8aa7c23b in _PyRun_SimpleFileObject ../cpython_src312/Python/pythonrun.c:433 #13 0x7f0c8aa7b630 in _PyRun_AnyFileObject ../cpython_src312/Python/pythonrun.c:78 #14 0x7f0c8aab5749 in pymain_run_file_obj ../cpython_src312/Modules/main.c:360 #15 0x7f0c8aab5823 in pymain_run_file ../cpython_src312/Modules/main.c:379 #16 0x7f0c8aab612a in pymain_run_python ../cpython_src312/Modules/main.c:629 #17 0x7f0c8aab6270 in Py_RunMain ../cpython_src312/Modules/main.c:709 #18 0x7f0c8aab6318 in pymain_main ../cpython_src312/Modules/main.c:739 #19 0x7f0c8aab63e0 in Py_BytesMain ../cpython_src312/Modules/main.c:763 #20 0x55b3ed39516c in main ../cpython_src312/Programs/python.c:15 #21 0x7f0c8a43ed8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #22 0x7f0c8a43ee3f in __libc_start_main_impl ../csu/libc-start.c:392 #23 0x55b3ed395084 in _start (/data0/frkleint/cpython312/bin/python3.12+0x1084) 0x61a0000c9b40 is located 56 bytes to the right of 1160-byte region [0x61a0000c9680,0x61a0000c9b08) allocated by thread T0 here: #0 0x7f0c8afd8887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f0c8a8d8786 in _PyMem_RawMalloc ../cpython_src312/Objects/obmalloc.c:45 #2 0x7f0c8a8dc7ec in _PyMem_DebugRawAlloc ../cpython_src312/Objects/obmalloc.c:2096 #3 0x7f0c8a8dc8c1 in _PyMem_DebugRawMalloc ../cpython_src312/Objects/obmalloc.c:2129 #4 0x7f0c8a8d9a8d in PyMem_RawMalloc ../cpython_src312/Objects/obmalloc.c:662 #5 0x7f0c8a8dba54 in _PyObject_Malloc ../cpython_src312/Objects/obmalloc.c:1569 #6 0x7f0c8a8dc7ec in _PyMem_DebugRawAlloc ../cpython_src312/Objects/obmalloc.c:2096 #7 0x7f0c8a8dc8c1 in _PyMem_DebugRawMalloc ../cpython_src312/Objects/obmalloc.c:2129 #8 0x7f0c8a8dce45 in _PyMem_DebugMalloc ../cpython_src312/Objects/obmalloc.c:2281 #9 0x7f0c8a8d9ecf in PyObject_Malloc ../cpython_src312/Objects/obmalloc.c:801 #10 0x7f0c8a8f6786 in _PyType_AllocNoTrack ../cpython_src312/Objects/typeobject.c:1698 #11 0x7f0c8a8f6852 in PyType_GenericAlloc ../cpython_src312/Objects/typeobject.c:1722 #12 0x7f0c8a8fa518 in type_new_alloc ../cpython_src312/Objects/typeobject.c:3319 #13 0x7f0c8a8fb58d in type_new_init ../cpython_src312/Objects/typeobject.c:3759 #14 0x7f0c8a8fb655 in type_new_impl ../cpython_src312/Objects/typeobject.c:3782 #15 0x7f0c8a8fbc89 in type_new ../cpython_src312/Objects/typeobject.c:3926 #16 0x7f0c861ec40d in PepType_Type_tp_new /data0/frkleint/pyside-setup12s/sources/shiboken6/libshiboken/pep384impl.cpp:878 #17 0x7f0c8616f371 in SbkObjectType_tp_new /data0/frkleint/pyside-setup12s/sources/shiboken6/libshiboken/basewrapper.cpp:551 #18 0x7f0c8a8f65cc in type_call ../cpython_src312/Objects/typeobject.c:1661 #19 0x7f0c8a858c9f in _PyObject_MakeTpCall ../cpython_src312/Objects/call.c:240 #20 0x7f0c8a858172 in _PyObject_VectorcallTstate ../cpython_src312/Include/internal/pycore_call.h:90 #21 0x7f0c8a8590a5 in PyObject_Vectorcall ../cpython_src312/Objects/call.c:325 #22 0x7f0c8a9dcf9d in _PyEval_EvalFrameDefault Python/bytecodes.c:2706 #23 0x7f0c8a9c36df in _PyEval_EvalFrame ../cpython_src312/Include/internal/pycore_ceval.h:89 #24 0x7f0c8a9e83ed in _PyEval_Vector ../cpython_src312/Python/ceval.c:1683 #25 0x7f0c8a9c50e1 in PyEval_EvalCode ../cpython_src312/Python/ceval.c:578 #26 0x7f0c8aa7f34a in run_eval_code_obj ../cpython_src312/Python/pythonrun.c:1722 #27 0x7f0c8aa7f44d in run_mod ../cpython_src312/Python/pythonrun.c:1743 #28 0x7f0c8aa7f100 in pyrun_file ../cpython_src312/Python/pythonrun.c:1643 #29 0x7f0c8aa7c23b in _PyRun_SimpleFileObject ../cpython_src312/Python/pythonrun.c:433 SUMMARY: AddressSanitizer: heap-buffer-overflow /data0/frkleint/pyside-setup12s/sources/shiboken6/libshiboken/basewrapper.cpp:573 in SbkObjectType_tp_new Shadow bytes around the buggy address: 0x0c3480011310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3480011320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3480011330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3480011340: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3480011350: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c3480011360: 00 fa fa fa fa fa fa fa[fa]fa fa fa fa fa fa fa 0x0c3480011370: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c3480011380: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c3480011390: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c34800113a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c34800113b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==169795==ABORTING for comparison: =============== Python 3.10.12 Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.4.0) [Python 3.10.12] SbkObjectType_tp_new metatype=MetaQObjectHasTraits name=NewBase args=PyObject(0x7f647e2ceb00, refs=1, "tuple", 0x4485520 [base] [gc] [tuple] [ready] [immutabletype] [sequence], basicsize=24, 3 <(0x7f648268f530, refs=5, "str", 0x10481500 [base] [unicode] [ready] [immutabletype], basicsize=80, "NewBase" (7) [1byte] [ascii] [compact], data="NewBase", no-utf8), (0x7f64827155a0, refs=3, "tuple", 0x4485520 [base] [gc] [tuple] [ready] [immutabletype] [sequence], basicsize=24, 1 <(0x6190001c7f90, refs=65, type: "PySide6.QtCore.QObject", 0x85600 [heaptype] [base] [gc] [ready], basicsize=40, bases=[1]{"Shiboken.Object"}, mro=[3]{"PySide6.QtCore.QObject", "Shiboken.Object", "object"}, underlying="Shiboken.ObjectType")>), (0x7f6482fed2c0, refs=3, "dict", 0x20485540 [base] [gc] [dict] [ready] [immutabletype] [mapping], basicsize=48, {})>) pyBases=PyObject(0x7f64827155a0, refs=2, "tuple", 0x4485520 [base] [gc] [tuple] [ready] [immutabletype] [sequence], basicsize=24, 1 <(0x6190001c7f90, refs=64, type: "PySide6.QtCore.QObject", 0x85600 [heaptype] [base] [gc] [ready], basicsize=40, bases=[1]{"Shiboken.Object"}, mro=[3]{"PySide6.QtCore.QObject", "Shiboken.Object", "object"}, underlying="Shiboken.ObjectType")>) SbkObjectType_tp_new pyBases[0] 0x6190001c7f90 PySide6.QtCore.QObject PepType_Type_tp_new metatype=MetaQObjectHasTraits rets 0x6190001ed790 SbkObjectType_tp_new metatype=MetaQObjectHasTraits newType=0x6190001ed790 SbkObjectType_tp_new Shiboken::getCppBaseClasses()-> PySide6.QtCore.QObject SbkObjectType_tp_new metatype=MetaQObjectHasTraits rets=0x6190001ed790