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.

Author apoorvreddy
Recipients apoorvreddy
Date 2019-05-19.04:49:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558241360.13.0.269765861936.issue36963@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-19 04:49:20apoorvreddysetrecipients: + apoorvreddy
2019-05-19 04:49:20apoorvreddysetmessageid: <1558241360.13.0.269765861936.issue36963@roundup.psfhosted.org>
2019-05-19 04:49:20apoorvreddylinkissue36963 messages
2019-05-19 04:49:19apoorvreddycreate