Open rwy7 opened 5 years ago
Looking at this quickly, I think the problem is that OMR::MethodBuilder::RequestFunction()
https://github.com/eclipse/omr/blob/36fdb14b9f516b793932bb9751dc821735ac170e/compiler/ilgen/OMRMethodBuilder.hpp#L152-L158
does not follow the pattern for callbacks through the client API: https://github.com/eclipse/omr/tree/master/jitbuilder/apigen#high-level-design .
Admittedly, this is invalid code, but I wouldn't expect it to crash this way. When trying to call a function that hasn't been defined (via
DefineFunction
), JitBuilder overflows the stack trying to find it.Here are a few frames from the start of the the loop: