[gambit-list] My New Segfault (Re: Tracking Down a Segfault)

Marc Feeley feeley at iro.umontreal.ca
Fri Sep 5 12:46:30 EDT 2008


On 5-Sep-08, at 12:35 PM, Joel J. Adamson <adamsonj at email.unc.edu>  
wrote:

> Good to know the difference.
>
> Now I'm getting a segfault at mark_continuation() (mem.c:2430).
>
>   if (ra1 == ___GSTATE->internal_return)
>          {
>            ___WORD actual_ra = ___FP_STK(fp,___RETI_RA);
>             
> ___RETI_GET_FS_LINK_GCMAP(actual_ra,fs,link,gcmap,nextgcmap)
>            ___COVER_MARK_CONTINUATION_RETI;
>          }
>        else
>          {
> here===>    ___RETN_GET_FS_LINK_GCMAP(ra1,fs,link,gcmap,nextgcmap)
>            ___COVER_MARK_CONTINUATION_RETN;
>          }
>
> This happened before when I was accumulating a list instead of
> outputting and then throwing away each run of the simulation --- am I
> just using up memory and the GC can't handle it? (is that even
> possible?)  Or does it mean that I have other unreachable objects
> unknown to the garbage collector?

Hard to say without access to your code...  What other c-lambdas and c- 
defines do you have?

Marc




More information about the Gambit-list mailing list