New submission from python272 <[email protected]>:
[meego]$/opt/org.python.python-2.7.2/bin/python -m test.regrtest ...
...
test_callback_register_double
(ctypes.test.test_callbacks.SampleCallbacksTestCase) ... Segmentation fault
this is after a native (not cross-compile) configure; make; make install on
armv7:
== CPython 2.7.2 (default, Jul 25 2011, 11:06:06) [GCC 4.5.1 20100731 (MeeGo
4.5.1-1) [release 4.5-2010.09-1]]
== Linux-2.6.37-24.5.CE-adaptation-n900-armv7l-with-glibc2.4 little-endian
== /tmp/test_python_6700
Testing with flags: sys.flags(debug=0, py3k_warning=0, division_warning=0,
division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0,
no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0,
unicode=0, bytes_warning=0)
that is the only regrtest seg fault, but there are several worrisome(?)
failures in test_ctypes:
...
======================================================================
FAIL: test_longlongresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/org.python.python-2.7.2/lib/python2.7/ctypes/test/test_functions.py",
line 167, in test_longlongresult
self.assertEqual(result, 21)
AssertionError: 10L != 21
...
Ran 335 tests in 3.949s
FAILED (failures=17, errors=1, skipped=1)
test test_ctypes failed -- multiple errors occurred
1 test failed:
test_ctypes
============
a few other test modules have failures, they appear to be less severe:
test_cmath
test_float
#http://bugs.python.org/issue12331
test_lib2to3
test_math
test_pyexpat
test_strtod
=================
note: the arm systems i have access to (meego armv7 & android sl4a/py4a) both
natively use python < 2.6.7; forgive my ignorance if 2.7 series is not expected
to be mature on arm. please also forgive if i should have just disabled ctypes
in setup.py as many of the online (cross-compile) instructions suggest:
disabled_module_list.append('_ctypes')
===============
test_ctypes for a native build of 2.6.7 does not seg fault, but does have the
same test failures:
========
...
Ran 327 tests in 3.025s
FAILED (failures=17)
test test_ctypes failed -- multiple errors occurred
1 test failed:
test_ctypes
----------
components: Tests
messages: 141131
nosy: python272
priority: normal
severity: normal
status: open
title: test_ctypes seg fault (test_callback_register_double); armv7; gcc 4.5.1
type: crash
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12640>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com