I have quite of problem in my interpreter: https://github.com/cheery/lever/
Adding these pieces (the gc.collect was uncommented) brought along segmentation faults, memory corruption and sometimes an error message "gc roots not found!" https://github.com/cheery/lever/blob/master/runtime/stdlib/gc.py https://github.com/cheery/lever/blob/master/runtime/eventloop.py
I think it may be in how I've implemented the greenlets in the language, or that I haven't done something, or then it's a bug in rpython. Here's the greenlet code btw: https://github.com/cheery/lever/blob/master/runtime/green.py
Could you help me out here? I've tried to scope down the issue and at least need a way to diagnose what's wrong here.