LIMITED ======= conversion-qbytearray-pybytes SbkQByteArray_getbufferproc fl=0x 0 VIEW-IN: Py_buffer(size= 80 obj= 0x0 buf= 0x0 len= 0 ro= 0 itemsize 0 fmt= ndim= 0 shape= 0x0 strides= 0x0 suboffsets= 0x0 ) SbkQByteArray_getbufferproc LIM SbkQByteArray_getbufferproc LIMITED VIEW-OUT: Py_buffer(size= 80 obj= 0x7f4554976800 buf= 0x561988c024f0 len= 8 ro= 0 itemsize 1 fmt= c ndim= 1 shape= 0x0 strides= 0x7fff4099b7d8 suboffsets= 0x0 ) Python 3.10.12 Qt 6.7.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.4.0) [Python limited API 3.10.12] bytes (25, 2500) Segmentation fault (core dumped) NON-LIMITED =========== conversion-qbytearray-pybytes SbkQByteArray_getbufferproc fl=0x 0 VIEW-IN: Py_buffer(size= 80 obj= 0x0 buf= 0x0 len= 0 ro= 0 itemsize 0 fmt= ndim= 0 shape= 0x0 strides= 0x0 suboffsets= 0x0 ) SbkQByteArray_getbufferproc NON-LIMITED VIEW-OUT: Py_buffer(size= 80 obj= 0x7fef303fba00 buf= 0x55c1b582f500 len= 8 ro= 0 itemsize 1 fmt= ndim= 1 shape= 0x0 strides= 0x0 suboffsets= 0x0 ) Python 3.10.12 Qt 6.7.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.4.0) [Python 3.10.12] bytes (25, 2500) QByteArray (25, 2500)