Issue1751885
Created on 2007-07-11 13:34 by christian.heimes, last changed 2008-01-06 22:29 by admin.
| Messages (4) | |||
|---|---|---|---|
| msg32473 - (view) | Author: Christian Heimes (christian.heimes) | Date: 2007-07-11 13:34 | |
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 |
|||
| msg32474 - (view) | Author: Christian Heimes (christian.heimes) | Date: 2007-07-11 13:36 | |
Oh I forgot to mention my system: Ubuntu Linux 7.04 on an i386 compatible machine (Intel P3). |
|||
| msg32475 - (view) | Author: Thomas Heller (theller) | Date: 2007-07-11 14:28 | |
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. |
|||
| msg32476 - (view) | Author: Christian Heimes (christian.heimes) | Date: 2007-07-11 18:27 | |
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. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-01-06 22:29:46 | admin | set | keywords:
- py3k versions: + Python 3.0 |
| 2007-07-11 13:34:27 | christian.heimes | create | |