[pypy-issue] Issue #2214: Difficulty getting StackletThread to work in my own project (pypy/pypy)

cheery issues-reply at bitbucket.org
Thu Dec 24 01:55:04 EST 2015


New issue 2214: Difficulty getting StackletThread to work in my own project
https://bitbucket.org/pypy/pypy/issues/2214/difficulty-getting-stackletthread-to-work

cheery:

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.




More information about the pypy-issue mailing list