Python 3.6 printing crashing on OS X 10.12.4

Ray Cote rgacote at
Wed Apr 5 14:14:48 EDT 2017


Python 3.6 crashing when trying to print from the environment.

$ python
Python 3.6.1 (default, Mar 22 2017, 15:53:21)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print("hello")

Python(53390,0x7fffdd9e63c0) malloc: *** error for object 0x10dde4110:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

Pastebin link to OS X crash report if that’s helpful:

1: Python installed via ports.
2: OS X 10.12.4.
3: Python 3.6.1 (though I also had this problem with 3.6.0).
4: Have successfully run python 3.5 for months.
5: Running under standard terminal program.
6: I have py36-readline installed.
7: Have tried uninstalling and re-installing Python.

Any thoughts on what I could have wrong?


More information about the Python-list mailing list