[Python-Dev] New crash in test_embed on macOS 10.12

Raymond Hettinger raymond.hettinger at gmail.com
Fri Dec 15 15:14:54 EST 2017



> On Dec 15, 2017, at 11:55 AM, Barry Warsaw <barry at python.org> wrote:
> 
> I haven’t bisected this yet, but with git head, built and tested on macOS 10.12.6 and Xcode 9.2, I’m seeing this crash in test_embed:
> 
> ======================================================================
> FAIL: test_bpo20891 (test.test_embed.EmbeddingTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Users/barry/projects/python/cpython/Lib/test/test_embed.py", line 207, in test_bpo20891
>    out, err = self.run_embedded_interpreter("bpo20891")
>  File "/Users/barry/projects/python/cpython/Lib/test/test_embed.py", line 59, in run_embedded_interpreter
>    (p.returncode, err))
> AssertionError: -6 != 0 : bad returncode -6, stderr is 'Fatal Python error: PyEval_SaveThread: NULL tstate\n\nCurrent thread 0x00007fffcb58a3c0 (most recent call first):\n'
> 
> Seems reproducible across different machines (all running 10.12.6 and Xcode 9.2), even after a make clean and configure.  I don’t see the same failure on Debian, and I don’t see the crashes on the buildbots.
> 
> Can anyone verify?

I saw this same test failure.  After a "make distclean", it went away.


Raymond


More information about the Python-Dev mailing list