Issue 20286: Segfault when using internal DictProxy (original) (raw)

Issue20286

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:57 admin set github: 64485
2014-01-17 02🔞43 benjamin.peterson set status: open -> closednosy: + benjamin.petersonmessages: + resolution: not a bug
2014-01-17 01:58:55 vajrasky set nosy: + vajraskymessages: + versions: + Python 3.3, Python 3.4
2014-01-17 01:37:30 Ali.Ebrahim set type: crash
2014-01-17 01:35:19 Ali.Ebrahim create