[ python-Bugs-1751885 ] struni: Three ctypes tests are SEGFAULTing

SourceForge.net noreply at sourceforge.net
Wed Jul 11 20:27:13 CEST 2007


Bugs item #1751885, was opened at 2007-07-11 15:34
Message generated for change (Comment added) made by tiran
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1751885&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 3000
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Christian Heimes (tiran)
Assigned to: Thomas Heller (theller)
Summary: struni: Three ctypes tests are SEGFAULTing

Initial Comment:
Three test modules of the ctypes package are causing a seg fault in the py3k-struni branch.

for MOD in Lib/ctypes/test/test_*.py; do echo $MOD; ./python $MOD >>results 2>&1; done

...
Lib/ctypes/test/test_functions.py
Segmentation fault
Lib/ctypes/test/test_python_api.py
Segmentation fault
Lib/ctypes/test/test_slicing.py
Segmentation fault

----------------------------------------------------------------------

>Comment By: Christian Heimes (tiran)
Date: 2007-07-11 20:27

Message:
Logged In: YES 
user_id=560817
Originator: YES

Yeah it wasn't easy to find the faulty tests.

Your last commit fixed the segfault problem for me. About 20 to 25 tests
are still failing but at least I can run the regression tests again w/o
removing test_ctypes.py.

----------------------------------------------------------------------

Comment By: Thomas Heller (theller)
Date: 2007-07-11 16:28

Message:
Logged In: YES 
user_id=11105
Originator: NO

Thanks for finding out (and apologies that I've made it so difficult to
find crashing tests).
Further investigation shows that the crashing test cases are:

in test_functions.py:  test_stringresult
in test_python_api.py: test_PyOS_snprintf
in test_slicing.py:   test_char_ptr and test_char_ptr_with_free

All in all, there are quite some char problems in the struni branch, but
I'm working on them.

----------------------------------------------------------------------

Comment By: Christian Heimes (tiran)
Date: 2007-07-11 15:36

Message:
Logged In: YES 
user_id=560817
Originator: YES

Oh I forgot to mention my system: Ubuntu Linux 7.04 on an i386 compatible
machine (Intel P3).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1751885&group_id=5470


More information about the Python-bugs-list mailing list