Message215365
test_faulthandler.test_register_chain fails on some 64bit architectures (arm8, ppc64) with kernel >= 3.10:
======================================================================
FAIL: test_register_chain (__main__.FaultHandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/Python-3.Lib/test/test_faulthandler.py", line 588, in test_register_chain
self.check_register(chain=True)
File "/builddir/build/BUILD/Python-3.Lib/test/test_faulthandler.py", line 572, in check_register
self.assertEqual(exitcode, 0)
AssertionError: -11 != 0
I created a minimal reproducer (reproduces the issue on 3.3, 3.4 and dev) of this segfault (attached). When run with GC assertions turned on, Python fails with:
python: /builddir/build/BUILD/Python-3.Modules/gcmodule.c:332: update_refs: Assertion `gc->gc.gc_refs == (-3)\' failed.
We experienced this issue when building Python 3.3 on Fedora's arm8 builder [1], it seems that opensuse have experienced the same failure on ppc64 [2] and ubuntu has a similar issue in their 64bit arm builds [3].
It seems that this may be caused by a change in kernel, since it's only reproducible on kernel >= 3.10. A nice explanation of what goes on and how the problem can be narrowed down is at the opensuse bug report [4], this is basically where I got stuck with this problem, too.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1045193
[2] https://bugzilla.novell.com/show_bug.cgi?id=831629
[3] https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1264354
[4] https://bugzilla.novell.com/show_bug.cgi?id=831629#c15 |
|
Date |
User |
Action |
Args |
2014-04-02 09:17:18 | bkabrda | set | recipients:
+ bkabrda |
2014-04-02 09:17:18 | bkabrda | set | messageid: <1396430238.51.0.283909097168.issue21131@psf.upfronthosting.co.za> |
2014-04-02 09:17:18 | bkabrda | link | issue21131 messages |
2014-04-02 09:17:17 | bkabrda | create | |
|