[issue19516] segmentation fault using a dict as a key

2013-11-06 Thread Michael Merickel

New submission from Michael Merickel:

I assume there is some incompatibility in the maverick's C runtime, but getting 
a segfault only on the python binaries from python.org.

Version shipped by Apple OS X 10.9 Mavericks:

~❯ python2.7
Python 2.7.5 (default, Sep 12 2013, 21:33:34)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type help, copyright, credits or license for more information.
 foo = {}
 foo[{}] = 1
Traceback (most recent call last):
  File stdin, line 1, in module
TypeError: unhashable type: 'dict'


2.7 binary installed from python.org:

~❯ /Library/Frameworks/Python.framework/Versions/2.7/bin/python
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
Type help, copyright, credits or license for more information.
 foo = {}
 foo[{}] = 1
[1]4517 segmentation fault  
/Library/Frameworks/Python.framework/Versions/2.7/bin/python

3.3 binary installed from python.org:

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.
 foo = {}
 foo[{}] = 1
[1]1898 segmentation fault  python

--
assignee: ronaldoussoren
components: Macintosh
messages: 202303
nosy: mmerickel, ronaldoussoren
priority: normal
severity: normal
status: open
title: segmentation fault using a dict as a key
type: crash
versions: Python 2.7, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19516
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19516] segmentation fault using a dict as a key

2013-11-06 Thread Philip Jenvey

Changes by Philip Jenvey pjen...@underboss.org:


--
nosy: +ned.deily

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19516
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19516] segmentation fault using a dict as a key

2013-11-06 Thread Tim Peters

Tim Peters added the comment:

Sure looks like the bug where virtually _any_ two lines entered in the shell 
cause a segfault.

--
nosy: +tim.peters

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19516
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19516] segmentation fault using a dict as a key

2013-11-06 Thread Tim Peters

Tim Peters added the comment:

Betting this is a duplicate of:

http://bugs.python.org/issue18458

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19516
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19516] segmentation fault using a dict as a key

2013-11-06 Thread Ned Deily

Ned Deily added the comment:

It is a duplicate.  Fixed in 3.3.3 and 2.7.6.

--
resolution:  - duplicate
stage:  - committed/rejected
status: open - closed
superseder:  - interactive interpreter crashes and test_readline fails on OS X 
10.9 Mavericks due to libedit update

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19516
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19516] segmentation fault using a dict as a key

2013-11-06 Thread Ned Deily

Ned Deily added the comment:

P.S. See that issue for a workaround.  Also release candidate installers for 
3.3.3 and 2.7.6 are now available with final releases very soon.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19516
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com