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

Bradley Lucier lucier at math.purdue.edu
Sat Feb 9 19:20:28 EST 2008


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



More information about the Gambit-list mailing list