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: Segfault when using internal DictProxy
Type: crash Stage:
Components: macOS Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: ronaldoussoren Nosy List: Ali.Ebrahim, benjamin.peterson, ronaldoussoren, vajrasky
Priority: normal Keywords:

Created on 2014-01-17 01:35 by Ali.Ebrahim, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg208318 - (view) Author: Ali Ebrahim (Ali.Ebrahim) Date: 2014-01-17 01:35
Demonstration in this gist: https://gist.github.com/aebrahim/8466660
Crash info in this gist: https://gist.github.com/aebrahim/8466749

The code runs without issue on Ubuntu 12.04 (Python 2.7.3), and Windows 7 (Python 2.7.6).

It also ran fine on MacOS X 10.8 (Python 2.7.2). However, it failed with MacOX X 10.9 for both 2.7.5 (version shipped by Apple) and 2.7.6

Python version information details:
2.7.2
Python 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin

2.7.5
Python 2.7.5 (default, Aug 25 2013, 00:04:04) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin

2.7.6
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
msg208319 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2014-01-17 01:58
It happens on Python 3.3 and 3.4 as well. Tested on Fedora 20.
msg208320 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2014-01-17 02:18
s/rettype/restype/ and don't use the internal function _PyObj_FromPointer.
History
Date User Action Args
2022-04-11 14:57:57adminsetgithub: 64485
2014-01-17 02:18:43benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg208320

resolution: not a bug
2014-01-17 01:58:55vajraskysetnosy: + vajrasky

messages: + msg208319
versions: + Python 3.3, Python 3.4
2014-01-17 01:37:30Ali.Ebrahimsettype: crash
2014-01-17 01:35:19Ali.Ebrahimcreate