[Stackless] Strange crashes after channel send/receive
Lloyd Weehuizen
lloyd at fusion.net.nz
Thu May 25 12:15:52 CEST 2006
I'm having problems with totally trashed stacks after recent channel
send/receives.
Python is embedded in my application and the main update loop calls into
a python function that calls stackless.run() each update. Somewhere
between the return of the python based update function and the calling C
PyObject_CallObject it crashes with 0xcccccccc being the only thing on
the stack.
As far as I can tell it gets triggered after the C++ app sends a message
down a channel ( from the main tasklet ), stackless switches into the
target tasklet, processes the event and switches back to the main
tasklet... The main tasklet then does the stackless.run(), which
executes all pending tasklets and then trashes the stack on its return
into the main C++ code.
Does anybody have any tips on the best way to start debugging a problem
like this? Is there a way to get more debugging information out of the
stackless core?
Thanks
Lloyd
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list