[Stackless] Crash with .run in another Thread

Jeff Senn senn at maya.com
Sat Nov 4 15:23:38 CET 2006

Just to be clear; I convinced Richard to make a change:

<	if (ts != slp_initial_tstate || ts->st.current != ts->st.main)
 > 	if (ts->st.current != ts->st.main)

in the release25-maint version so that this was possible (running  
also from another
thread).  At the time I could not find an example that crashed. Now
I have.  So, in some way, this is my fault :-) :-)

But I would like to be able to run from other threads...so if we can
find the problem it would be a good thing.


On Nov 4, 2006, at 6:00 AM, Christian Tismer wrote:

> Yes, there is a bug.
> First you try to use run() although you are not main.
> Then I fail with this:
> Assertion failed: self != ts->st.current, file \pythondev\stackless 
> \Python-2.4.3\dev\Stackless\module\taskletobject.c, line 83
> Will look into this. Thanks!
> The threading stuff was not much used and is for sure still buggy
> or not enough developed.

Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list