[issue38628] Issue with ctypes in AIX

Tony Reix report at bugs.python.org
Fri Jul 24 10:06:21 EDT 2020


Tony Reix <tony.reix at atos.net> added the comment:

On Fedora/PPC64LE, where it is OK, the same debug with gdb gives:

(gdb) where
#0  0x00007ffff7df03b0 in __memchr_power8 () from /lib64/libc.so.6
#1  0x00007fffea167680 in ?? () from /lib64/libffi.so.6
#2  0x00007fffea166284 in ffi_call () from /lib64/libffi.so.6
#3  0x00007fffea1a7fdc in _ctypes_callproc () from /usr/lib64/python3.8/lib-dynload/_ctypes.cpython-38-ppc64le-linux-gnu.so
..........
(gdb) i register
r0             0x7fffea167614      140737120728596
r1             0x7fffffffc490      140737488340112
r2             0x7fffea187f00      140737120861952
r3             0x7fffea33a140      140737122640192
r4             0x6464              25700
r5             0x7                 7
r6             0x0                 0
r7             0x7fffea33a147      140737122640199
r8             0x7fffea33a140      140737122640192

(gdb) x/s 0x7fffea33a140
0x7fffea33a140: "abcdef"

r3: string
r4 : 0x6464 : "d" ??
r5: 7 : length of the string !!!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38628>
_______________________________________


More information about the Python-bugs-list mailing list