Message30357
Logged In: YES
user_id=33168
This is the code that crashes:
from ctypes import *
print cast(c_void_p(0), POINTER(c_int))
***
#0 ffi_call_unix+0x20 ()
at trunk/Modules/_ctypes/libffi/src/ia64/unix.S:63
#1 0x2000000079194d30:0 in ffi_call (cif=0x7fffe020,
fn=0x7913a860,
rvalue=0x7fffe090, avalue=0x7fffe070)
at trunk/Modules/_ctypes/libffi/src/ia64/ffi.c:372
#2 0x20000000791762f0:0 in _call_function_pointer (flags=4101,
pProc=0x7913a860, avalues=0x7fffe070, atypes=0x7fffe050,
restype=0x40081de8, resmem=0x7fffe090, argcount=3)
at trunk/Modules/_ctypes/callproc.c:665
#3 0x20000000791781d0:0 in _CallProc (pProc=0x7913a860,
argtuple=0x401cdd78,
flags=4101, argtypes=0x401ef7b8, restype=0x400eacd8,
checker=0x0)
at trunk/Modules/_ctypes/callproc.c:1001
#4 0x2000000079165350:0 in CFuncPtr_call (self=0x4007abe8,
inargs=0x401cdd78,
kwds=0x0)
at trunk/Modules/_ctypes/_ctypes.c:3364
***
Also note there are a bunch of errors like this:
Warning: could not import ctypes.test.test_cfuncs:
Unsatisfied code symbol '__divsf3' in load module
'trunk/build/lib.hp-ux-B.11.23-ia64-2.6/_ctypes_test.so'.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:44:28 | admin | link | issue1582742 messages |
2007-08-23 14:44:28 | admin | create | |
|