This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Calling jpy.get_type() too many times causes a memory access error #74
Comments
Thanks for reporting this. Hope to fix it ASAP. |
I can confirm it's an issue on macOS as well, so it's platform independent. Better error message, though:
|
voutilad
added a commit
to voutilad/jpy
that referenced
this issue
Feb 23, 2017
…d java type instances and trying to decrement their reference counts, but they were never incremented. Added calls to Py_INCREF before returning the java types.
voutilad
added a commit
to voutilad/jpy
that referenced
this issue
Feb 23, 2017
…d java type instances and trying to decrement their reference counts, but they were never incremented. Added calls to Py_INCREF before returning the java types.
See PR. Looks like a reference counting issue. The joys of embedded Python! |
Seems to be fixed now. Carefully closing it. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Running jpy 0.9, ran into this problem (running Windows):
briefly googling, appears this is a memory access error code, which is easily reproducible like so
The number of iterations it takes to bring up the error varies by class. I'd try to fix it myself, but I'm no expert with C.
The text was updated successfully, but these errors were encountered: