<div>Following code will always cause stackless python coredump, is this a known bug?</div><div><br></div></blockquote><div><br></div></div>No, thank you for reporting it. But it would be useful if you also reported where you got your Stackless Python implementation from (which you reproduced it with) and what version of Python it is. </div>

<div class="gmail_quote"><br></div><div class="gmail_quote">Note that there is a different scheduler per thread, so the microthread you create on your custom thread will never be run in the later 'stackless.run()' call.</div>