[issue19651] Mac OSX 10.9 segmentation fault 11 with Python 3.3.3

John Dobson report at bugs.python.org
Tue Nov 19 15:47:07 CET 2013


John Dobson added the comment:

mysite $ python -c 'import sys;print(sys.version)'
3.3.3 (v3.3.3:c3896275c0f6, Nov 16 2013, 23:39:35)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
mysite $ python -c 'import readline;print(readline.__file__)'
/System/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/lib-dynload/readline.so
mysite $ ls -l $(python -c 'import readline;print(readline.__file__)')
-rwxrwxr-x  1 root  wheel  66400 13 May  2013 
/System/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/lib-dynload/readline.so
mysite $ python
Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 16 2013, 23:39:35)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> 1
1
 >>> 2
Segmentation fault: 11
mysite $

I don't get to enter the final 3, the segmentation fault happens after 
the second input line.

*John Dobson,*

<http://my-rellies.blogspot.com>
On 19/11/2013 14:26, Ned Deily wrote:
> Ned Deily added the comment:
>
> Works for me using the python.org 3.3.3 64-/32-bit installer.  Are you using that Python 3.3.3?  Please show the results of typing the following commamds and substituting for "python3.3" whatever command name you are using that causes the segfault.
>
> python3.3 -c 'import sys;print(sys.version)'
> python3.3 -c 'import readline;print(readline.__file__)'
> ls -l $(python3.3 -c 'import readline;print(readline.__file__)')
> python3.3
> 1
> 2
> 3
> quit()
>
> You should see:
> $ python3.3 -c 'import sys;print(sys.version)'
> 3.3.3 (v3.3.3:c3896275c0f6, Nov 16 2013, 23:39:35)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
> $ python3.3 -c 'import readline;print(readline.__file__)'
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/lib-dynload/readline.so
> $ ls -l $(python3.3 -c 'import readline;print(readline.__file__)')
> -rwxrwxr-x  1 root  admin  66472 Nov 16 23:40 /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/lib-dynload/readline.so
> $ python3.3
> Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 16 2013, 23:39:35)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> 1
> 1
>>>> 2
> 2
>>>> 3
> 3
>>>> quit()
> $
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue19651>
> _______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19651>
_______________________________________


More information about the Python-bugs-list mailing list