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

Barry Warsaw barry at python.org
Fri Dec 15 14:55:19 EST 2017

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?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171215/12f007e1/attachment.sig>

More information about the Python-Dev mailing list