You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-18458: interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ned-deily'closed_at=<Date2013-10-23.18:05:33.137>created_at=<Date2013-10-23.16:29:22.897>labels= ['OS-mac', 'interpreter-core', 'type-crash']
title='Segfault in REPL due to escaped tab.'updated_at=<Date2013-10-23.21:51:18.183>user='https://github.com/gwk'
I can crash python2.7.5 python3.3.2 from the REPL consistently:
$ python3
Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> s ='\\t'
>>> s
Segmentation fault: 11
$
the same goes for:
Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
both of these python builds are the mac binaries from python.org.
This is a duplicate of bpo-18458. The problem is due to an incompatible update to the GNU readline compatibility layer of the editline shared library (libedit) in OS X 10.9. The fix for this will be in the upcoming Python 2.7.6 and 3.3.3 maintenance releases, expected soon. In the meantime, the workaround proposed in the Stackoverflow comment will eliminate the crash. (bpo-18458 will be updated shortly to include a script to do this.)
thank you. i worked around this by building python3 from source, with gnu readline libs i had previously compiled (those did not require a rebuild on osx 10.9).
Activity
gwk commentedon Oct 23, 2013
I can crash python2.7.5 python3.3.2 from the REPL consistently:
the same goes for:
Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
both of these python builds are the mac binaries from python.org.
gwk commentedon Oct 23, 2013
actually, the second line of any interactive session is segfaulting; my installation must be corrupted.
gwk commentedon Oct 23, 2013
this is probably due to system upgrade from OS X 10.8 to 10.9 (mavericks) yesterday.
tim-one commentedon Oct 23, 2013
See the 4th comment on this post:
http://stackoverflow.com/questions/18158381/python-crashing-when-running-two-commands
Let us know whether it fixes your problem!
tim-one commentedon Oct 23, 2013
Oops! Now it' the 5th comment ;-) The one starting "running the following command, I got it working ...".
ned-deily commentedon Oct 23, 2013
This is a duplicate of bpo-18458. The problem is due to an incompatible update to the GNU readline compatibility layer of the editline shared library (libedit) in OS X 10.9. The fix for this will be in the upcoming Python 2.7.6 and 3.3.3 maintenance releases, expected soon. In the meantime, the workaround proposed in the Stackoverflow comment will eliminate the crash. (bpo-18458 will be updated shortly to include a script to do this.)
gwk commentedon Oct 23, 2013
thank you. i worked around this by building python3 from source, with gnu readline libs i had previously compiled (those did not require a rebuild on osx 10.9).
vstinner commentedon Oct 23, 2013
bpo-19370 is probably a duplicate of this one.