This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author T.Rex
Recipients Ayappan, David.Edelsohn, Michael.Felt, T.Rex
Date 2020-07-24.14:16:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595600195.99.0.833279158522.issue38628@roundup.psfhosted.org>
In-reply-to
Content
AIX: difference between 32bit and 64bit.

After the second print, the stack is:

32bit:
#0  0xd01407e0 in memchr () from /usr/lib/libc.a(shr.o)
#1  0xd438f480 in ffi_call_AIX () from /opt/freeware/lib/libffi.a(libffi.so.6)
#2  0xd438effc in ffi_call () from /opt/freeware/lib/libffi.a(libffi.so.6)
#3  0xd14979bc in ?? ()
#4  0xd148995c in ?? ()
#5  0xd20fd5d8 in _PyObject_MakeTpCall () from /opt/freeware/lib/libpython3.8.so

64bit:
#0  0x09000000001b0d60 in memchr () from /usr/lib/libc.a(shr_64.o)
#1  0x0900000001217f00 in ffi_closure_ASM () from /opt/freeware/lib/libffi.a(libffi.so.6)
#2  0x0900000001217aac in ffi_prep_closure_loc () from /opt/freeware/lib/libffi.a(libffi.so.6)
#3  0x0900000000d30900 in ?? ()
#4  0x0900000000d22b6c in ?? ()
#5  0x0900000000ebbc18 in _PyObject_MakeTpCall () from /opt/freeware/lib64/libpython3.8.so

So, the execution does not run in the same ffi routines in 32bit and in 64bit. Bug ?

It should be interesting to do the same with Python3 and libffi built with -O0 -g maybe.
History
Date User Action Args
2020-07-24 14:16:36T.Rexsetrecipients: + T.Rex, David.Edelsohn, Michael.Felt, Ayappan
2020-07-24 14:16:36T.Rexsetmessageid: <1595600195.99.0.833279158522.issue38628@roundup.psfhosted.org>
2020-07-24 14:16:35T.Rexlinkissue38628 messages
2020-07-24 14:16:35T.Rexcreate