[plt-scheme] Debugging drscheme3d

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Feb 18 22:38:56 EST 2006

At Sat, 18 Feb 2006 23:29:40 +0000, "Paulo J. Matos" wrote:
> Didn't work, gdb:
> (gdb) run -synchronous -mvqM drscheme3m
> The program being debugged has been started already.
> Start it from the beginning? (y or n) y
> Starting program: /usr/local/plt/plt-svn-180206/bin/mred3m
> -synchronous -mvqM drscheme3m
> [Thread debugging using libthread_db enabled]
> [New Thread -1215588688 (LWP 14297)]
> 
> Program received signal SIGSEGV, Segmentation fault.

This isn't a crash. The 3m garbage collector uses page protection to
implement write barriers.

Continue with

 (gdb) handle SIGSEGV nostop noprint
 (gdb) c


Thanks for the other trace. I'm not yet sure of the problem, but I have
some idea what to look for.

Matthew



Posted on the users mailing list.