[gambit-list] Segmentation fault from simple (infinite) loop

Ryan Mulligan ryan at ryantm.com
Sat Feb 9 19:23:32 EST 2008


Yes I confirm that it stops for different values of X. Also, the values of X
differ depending on which shell i use.

rm

On 2/9/08, Bradley Lucier <lucier at math.purdue.edu> wrote:
>
> A little more data:
>
> > 82 1583 1584 1585 1586 1587 1588 1589
> > Program received signal EXC_BAD_ACCESS, Could not access memory.
> > Reason: KERN_INVALID_ADDRESS at address: 0x8500008f
> > ___garbage_collect (nonmovable_words_needed=0) at mem.c:2430
> > 2430                ___RETN_GET_FS_LINK_GCMAP
> > (ra1,fs,link,gcmap,nextgcmap)
> > (gdb) back
> > #0  ___garbage_collect (nonmovable_words_needed=0) at mem.c:2430
> > #1  0x00151370 in ___garbage_collect (nonmovable_words_needed=0) at
> > mem.c:2450
> > Previous frame identical to this frame (gdb could not unwind past
> > this frame)
> > (gdb) list
> > 2425                ___RETI_GET_FS_LINK_GCMAP
> > (actual_ra,fs,link,gcmap,nextgcmap)
> > 2426                ___COVER_MARK_CONTINUATION_RETI;
> > 2427              }
> > 2428            else
> > 2429              {
> > 2430                ___RETN_GET_FS_LINK_GCMAP
> > (ra1,fs,link,gcmap,nextgcmap)
> > 2431                ___COVER_MARK_CONTINUATION_RETN;
> > 2432              }
> > 2433
> > 2434    #ifdef SHOW_FRAMES
>
> While it stops at various values of x, it always stops at this point
> in mem.c
>
> Brad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20080209/882ef9f5/attachment.htm>


More information about the Gambit-list mailing list