This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Seg Fault after upgrading to OS X Mavericks
Type: crash Stage: resolved
Components: macOS Versions: Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update
View: 18458
Assigned To: ronaldoussoren Nosy List: Matt.Dodge, ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2013-10-23 19:36 by Matt.Dodge, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
debug.out Matt.Dodge, 2013-10-23 19:36 Attached Mac problem details and system config
Messages (2)
msg201059 - (view) Author: Matt Dodge (Matt.Dodge) Date: 2013-10-23 19:36
Upgraded to OS X Mavericks (not sure if this is what caused it or not).

Running Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45)

Python will seg fault when trying to evaluate the expression bool('False')

To reproduce, from terminal, launch Python, enter "bool('False')" without quotes and press enter.
msg201063 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-10-23 19:48
This is a duplicate of Issue18458. 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, you can avoid the crash by disabling the readline extension module (Issue18458 will be updated shortly to include a script to do this):

cd /Library/Frameworks/Python.framework/Versions/2.7
cd ./lib/python2.7/lib-dynload
sudo mv readline.so readline.so.disabled
History
Date User Action Args
2022-04-11 14:57:52adminsetgithub: 63567
2013-10-23 19:48:27ned.deilysetstatus: open -> closed

superseder: interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update

nosy: + ned.deily
messages: + msg201063
resolution: duplicate
stage: resolved
2013-10-23 19:36:51Matt.Dodgecreate