Opened 8 years ago

Closed 8 years ago

#53849 closed defect (duplicate)

Running python 3.6.1 from the terminal crashes immediately

Reported by: miguelbarao (MB) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: hapaguy (Brian Kurt Fujikawa)
Port: python36

Description

After upgrading python to 3.6.1 and installing py36-readline as per the instructions, I get an immediate crash on the terminal:

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(4490,0x7fffe2b0e3c0) malloc: *** error for object 0x109d98110: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

Change History (3)

comment:1 Changed 8 years ago by hapaguy (Brian Kurt Fujikawa)

Cc: hapaguy added

comment:2 Changed 8 years ago by miguelbarao (MB)

Update: Just pressing enter crashes python, no need to print('hello'). After uninstalling py36-readline, it seems to be working normally, but the terminal becomes scrambled after exiting python.

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: miguelbarao removed
Keywords: python terminal removed
Port: python36 added; python removed
Resolution: duplicate
Status: newclosed

Duplicate of #53360 and #48807.

Note: See TracTickets for help on using tickets.