[issue1544339] _ctypes fails to build on Solaris x86 32-bit (Sun compiler)
Skip Montanaro
report at bugs.python.org
Wed Oct 29 15:54:01 CET 2008
Skip Montanaro <skip at pobox.com> added the comment:
*argh* segfault running tests w/ Sun Studio 12 compiled version
of ctypes 1.0.2:
% python ctypes/test/runtests.py -v
sh: objdump: not found
find_library('c') -> sh: objdump: not found
None
find_library('m') -> sh: objdump: not found
None
test_anon (ctypes.test.test_anon.AnonTest) ... ok
test_anon_nonmember (ctypes.test.test_anon.AnonTest) ... ok
test_anon_nonseq (ctypes.test.test_anon.AnonTest) ... ok
test_nested (ctypes.test.test_anon.AnonTest) ... ok
test (ctypes.test.test_array_in_pointer.Test) ... ok
test_2 (ctypes.test.test_array_in_pointer.Test) ... ok
test_classcache (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_from_address (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_from_addressW (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_numeric_arrays (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_simple (ctypes.test.test_arrays.ArrayTestCase) ... ok
test_byval
(ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ...
oktest_callbacks
(ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ...
Segmentation Fault
Beginning of backtrace:
#0 0xfeb50ad4 in ffi_closure_SYSV_inner ()
from
/export/home/skipm/python-sunstudio/lib/python2.4/site-packages/_ctypes.so
#1 0xfeb50cca in ffi_closure_SYSV ()
from
/export/home/skipm/python-sunstudio/lib/python2.4/site-packages/_ctypes.so
#2 0xfe9d141f in _testfunc_callback_i_if ()
from
/export/home/skipm/python-sunstudio/lib/python2.4/site-packages/_ctypes_test.so
#3 0xfeb50c4f in ffi_call_SYSV ()
from
/export/home/skipm/python-sunstudio/lib/python2.4/site-packages/_ctypes.so
#4 0xfeb50aa4 in ffi_call ()
from
/export/home/skipm/python-sunstudio/lib/python2.4/site-packages/_ctypes.so
#5 0xfeb4b440 in _call_function_pointer ()
from
/export/home/skipm/python-sunstudio/lib/python2.4/site-packages/_ctypes.so
#6 0xfeb4baa0 in _CallProc ()
from
/export/home/skipm/python-sunstudio/lib/python2.4/site-packages/_ctypes.so
#7 0xfeb483ea in CFuncPtr_call ()
from
/export/home/skipm/python-sunstudio/lib/python2.4/site-packages/_ctypes.so
#8 0xfeeb23ba in PyObject_Call ()
from /export/home/skipm/python-sunstudio/lib/libpython2.4.so.1.0
#9 0xfef16c38 in do_call ()
from /export/home/skipm/python-sunstudio/lib/libpython2.4.so.1.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1544339>
_______________________________________
More information about the Python-bugs-list
mailing list