New submission from Apoorv Reddy <apoorvredd...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36963>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to