[Stackless] recursion error on exiting tasklets

Paul Sijben sijben at eemvalley.com
Fri Jul 3 15:24:58 CEST 2009


I am investigating a core dump that I sometimes have when stopping my
complex multi-thread- multi-tasklet application. So I was running it in
gdb an ran into this one. The backtrace looks to me like it runs into an
infinite loop until it crashes.

    [Thread 0xb593db90 (LWP 23598) exited]

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xb613eb90 (LWP 23597)]
    0x080e7871 in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:950
    950    {
    (gdb) bt
    #0  0x080e7871 in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:950
    #1  0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #2  0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #3  0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #4  0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #5  0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #6  0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #7  0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #8  0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #9  0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #10 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #11 0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #12 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #13 0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #14 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #15 0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #16 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #17 0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #18 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #19 0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #20 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #21 0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #22 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #23 0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #24 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962
    #25 0x080e7164 in tasklet_clear (t=0xa36c6f4) at
    Stackless/module/taskletobject.c:946
    #26 0x080e797e in impl_tasklet_kill (task=0xa36c6f4) at
    Stackless/module/taskletobject.c:962


my python-stackless is the stable 2.6.2 just downloaded from
stackless.com. There has been no change to this file since (compared it
with the bleeding edge version).

Does anyone have an idea how to fix this?

Paul





-- 
Paul Sijben                    	tel: +31334566488
Eemvalley Technology BV       	fax: +31334557523
the Netherlands                	http://eemvalley.com    
-----------------------------------------------------
EemValley Technology werft python & wxpython 
programmeurs: http://www.eemvalley.nl/jobs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20090703/f6d17994/attachment.htm>


More information about the Stackless mailing list