[New-bugs-announce] [issue12927] test_ctypes: segfault with suncc

Stefan Krah report at bugs.python.org
Wed Sep 7 14:45:14 CEST 2011


New submission from Stefan Krah <stefan-usenet at bytereef.org>:

stefan at opensolaris:~/hg/cpython$ ./python -m test -uall -v test_ctypes
== CPython 3.3.0a0 (default:5c8b6e03ebfe, Sep 7 2011, 13:41:08) [C]
==   Solaris-2.11-i86pc-i386-32bit little-endian
==   /export/home/stefan/hg/cpython/build/test_python_28849
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0)
[1/1] test_ctypes
test_cast (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok
test_memmove (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok
test_memset (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok
test_string_at (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok
test_wstring_at (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok
test_chararray (ctypes.test.test_delattr.TestCase) ... ok
test_simple (ctypes.test.test_delattr.TestCase) ... ok
test_struct (ctypes.test.test_delattr.TestCase) ... ok
test_struct_by_value (ctypes.test.test_win32.Structures) ... ok
test_buffers (ctypes.test.test_unicode.StringTestCase) ... ok
test_func (ctypes.test.test_unicode.StringTestCase) ... ok
test_wcslen (ctypes.test.test_unicode.StringTestCase) ... ok
test_buffers (ctypes.test.test_unicode.UnicodeTestCase) ... ok
test_wcslen (ctypes.test.test_unicode.UnicodeTestCase) ... ok
test_compare (ctypes.test.test_simplesubclasses.Test) ... ok
test_ignore_retval (ctypes.test.test_simplesubclasses.Test) ... Fatal Python error: Segmentation fault

Current thread 0x00000001:
  File "/export/home/stefan/hg/cpython/Lib/ctypes/test/test_simplesubclasses.py", line 24 in test_ignore_retval
  File "/export/home/stefan/hg/cpython/Lib/unittest/case.py", line 386 in _executeTestPart
  File "/export/home/stefan/hg/cpython/Lib/unittest/case.py", line 441 in run
  File "/export/home/stefan/hg/cpython/Lib/unittest/case.py", line 493 in __call__
  File "/export/home/stefan/hg/cpython/Lib/unittest/suite.py", line 105 in run
  File "/export/home/stefan/hg/cpython/Lib/unittest/suite.py", line 67 in __call__
  File "/export/home/stefan/hg/cpython/Lib/unittest/suite.py", line 105 in run
  File "/export/home/stefan/hg/cpython/Lib/unittest/suite.py", line 67 in __call__
  File "/export/home/stefan/hg/cpython/Lib/unittest/suite.py", line 105 in run
  File "/export/home/stefan/hg/cpython/Lib/unittest/suite.py", line 67 in __call__
  File "/export/home/stefan/hg/cpython/Lib/unittest/runner.py", line 168 in run
  File "/export/home/stefan/hg/cpython/Lib/test/support.py", line 1293 in _run_suite
  File "/export/home/stefan/hg/cpython/Lib/test/support.py", line 1327 in run_unittest
  File "/export/home/stefan/hg/cpython/Lib/test/test_ctypes.py", line 13 in test_main
  File "/export/home/stefan/hg/cpython/Lib/test/regrtest.py", line 1140 in runtest_inner
  File "/export/home/stefan/hg/cpython/Lib/test/regrtest.py", line 916 in runtest
  File "/export/home/stefan/hg/cpython/Lib/test/regrtest.py", line 708 in main
  File "/export/home/stefan/hg/cpython/Lib/test/__main__.py", line 13 in <module>
  File "/export/home/stefan/hg/cpython/Lib/runpy.py", line 73 in _run_code
  File "/export/home/stefan/hg/cpython/Lib/runpy.py", line 160 in _run_module_as_main
Segmentation Fault (core dumped)

----------
components: ctypes
messages: 143670
nosy: skrah
priority: normal
severity: normal
status: open
title: test_ctypes: segfault with suncc
type: crash
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12927>
_______________________________________


More information about the New-bugs-announce mailing list