Python 3.6 printing crashing on OS X 10.12.4

Python python at example.invalid
Wed Apr 5 15:40:26 EDT 2017


Le 05/04/2017 à 20:14, Ray Cote a écrit :
> Hello:
>
> 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:
> https://pastebin.com/t1j3nz5L
>
>
> 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?
>
> Regards
> —Ray
>

Mac OS X 10.12.3, Python 3 installed by brew

mac:~$ uname -r
16.4.0
mac:~$ python3
Python 3.6.0 (default, Mar  4 2017, 12:32:34)
[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")
hello




More information about the Python-list mailing list