When calling super.init() on some classes it can crash.
What i found:
The segfault occurs in OP_SUPER_INVOKE and it's because superclass that get's popped from the VM is, usually, not a class at all.
I added a check to prevent the segfault but this means that super is useless.
Updates:
Just found out that every time super is called it always causes a stack overflow, i will continue investigation.
When calling super.init() on some classes it can crash. What i found: The segfault occurs in OP_SUPER_INVOKE and it's because superclass that get's popped from the VM is, usually, not a class at all. I added a check to prevent the segfault but this means that super is useless. Updates: Just found out that every time super is called it always causes a stack overflow, i will continue investigation.