Stefan Richthofer
Stefan Richthofer
Sorry, I had eclipse somehow using an outdated Jython.jar for execution. Now this error is no more. Will continue with attempting to reproduce the actual error... Sorry for the confusion.
I think I can reproduce it now. ``` import sys sys.path.insert(0, '/data/workspace/linux/numpy/1.13.3') import numpy as np #from numpy import random as rn from java.lang import System import time for i...
From the logfile: (Do you see roughly the same in your logfile?) ``` Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) J 2143 C1 org.python.core.JyAttribute.delAttr(Lorg/python/core/PyObject;B)V (169 bytes) @...
Hmm sometimes I get a different stack: ``` Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [mtrand.so+0xb43c] __Pyx_PyObject_Call+0xc Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J...
I think the second type of error is what you observe. I get it if the gc run passes and then call ``randint`` again twice. I suspect the faulty gc...
Okay, after some investigation I came to the conclusion that at least the first type of error, i.e. the one involving ``JyAttribute.delAttr`` is not related to your changes. I can...
Did not yet switch back to master yet. But I observed the following: The first type of error goes away if I run GC right after ``import numpy``, e.g.: ```...
I really had not much time for this the last days. Just spent about 15 minutes for investigation and started looking at __Pyx_PyObject_Call, given that the stack starts with ``C...
Okay, without the inlining I get an error even earlier: ``` Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) J 2448 C1 org.python.core.ArgParser.check()V (208 bytes) @ 0x00007f98f58d1e40 [0x00007f98f58d1b20+0x320]...
Okay, the exact failure happens in line ``__pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL);`` but that's just because the inlined ``PyObject_Call`` does not contain the logic to repair the not filled in...