[issue36963] PyDict_GetItem SegFaults on simple dictionary lookup when using Ctypes
Apoorv Reddy
report at bugs.python.org
Sun May 19 00:49:20 EDT 2019
New submission from Apoorv Reddy <apoorvreddy19 at gmail.com>:
I'm trying to use ctypes to speed up an internal function in my project. However, I'm getting a segmentation fault on a simple dictionary lookup in my C Code, on PyDict_GetItem(dict, key).
I have supplied a minimal version of the code I'm trying in C, which segfaults, with the Makefile and the Python driver code which loads the shared library.I have created a simple conda environment for Python 3.6 for the same.
----------
components: ctypes
files: bug.tar.gz
messages: 342834
nosy: apoorvreddy
priority: normal
severity: normal
status: open
title: PyDict_GetItem SegFaults on simple dictionary lookup when using Ctypes
type: crash
versions: Python 3.6
Added file: https://bugs.python.org/file48336/bug.tar.gz
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36963>
_______________________________________
More information about the Python-bugs-list
mailing list