Changes by Antoine Pitrou pit...@free.fr:
--
keywords: +easy
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12700
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
test_enable_file, test_enable_single_thread, test_gil_released and
test_read_null read an int (4 bytes) from the address 0 (NULL).
test_sigsegv pass: this test raises explicitly a SIGSEGV and the signal handler
writes the right
Gareth Rees g...@garethrees.org added the comment:
After changing NULL to (int *)1, all tests pass.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12700
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1777df2ce50d by Victor Stinner in branch 'default':
Issue #12700: fix test_faulthandler for Mac OS X Lion
http://hg.python.org/cpython/rev/1777df2ce50d
--
nosy: +python-dev
STINNER Victor victor.stin...@haypocalc.com added the comment:
After changing NULL to (int *)1, all tests pass.
Ok, so Lion has a special case for reading from NULL. I changed the tests to
try to fix your bug. Can you tell me if it's now better?
--
Gareth Rees g...@garethrees.org added the comment:
All tests now pass.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12700
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
All tests now pass.
Ok, thanks for your report and your feedback.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Gareth Rees g...@garethrees.org:
On Mac OS 10.7, test_faulthandler fails. See test output below.
It looks as though the tests may be at fault in expecting to see
(?:Segmentation fault|Bus error) instead of (?:Segmentation fault|Bus
error|Illegal instruction).