[CM] (*s7* 'stack)

Woody Douglass wdouglass at carnegierobotics.com
Tue Jun 7 07:36:45 PDT 2022


I think i may have found the issue, see the attached test code

it appears that "s7_call_with_catch" doesn't pop as much off the stack
as it should before returning. it may be as simple as calling
`pop_stack` before the end of that function, but i'm not sure.

Thanks for any advice!
-Woody

On Tue, 2022-06-07 at 09:47 -0400, Woodrow Douglass wrote:
> All,
> 
> I'm running s7 with a libev event loop, and I just noticed a behavior
> that I didn't expect. The stack seems to be growing infinitely. Most
> of
> the entries in the stack are catches -- it seems like something is
> wrong but i'm not sure what.
> 
> I'm currently investigating that catch specifically to see if my
> event
> loop is recursing where it shouldn't or something, but I wanted to
> mention it to this list to see if anybody has seen anything similar.
> let me know if anything jumps out to you guys. thanks.
> 
> -Woody
-------------- next part --------------
A non-text attachment was scrubbed...
Name: catch-test.c
Type: text/x-csrc
Size: 1359 bytes
Desc: catch-test.c
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20220607/162b1709/attachment.bin>


More information about the Cmdist mailing list