[plt-scheme] Seg fault in 371.3

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Jan 5 07:34:34 EST 2008

At Fri, 04 Jan 2008 22:51:06 -0800, Eric Hanchrow wrote:
> Linux debian 2.6.15-29-386 #1 PREEMPT Mon Sep 24 17:18:25 UTC 2007 i686 
> GNU/Linux
> 
> Just invoking it with no arguments yields this -- presumably frame 22 is where 
> the action is.
> 
> Current directory is ~/doodles/anagrams/scheme/mzscheme/
> GNU gdb 6.4-debian
> Copyright 2005 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...Using host libthread_db library 
> "/lib/tls/i686/cmov/libthread_db.so.1".
> 
> (gdb) run
> Starting program: /usr/local/bin/mzscheme 
> Welcome to MzScheme v371.3 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x080a434b in get_bucket (table=0xb7be8e70, key=0xb7d0e628 "0", add=1, b=0x0) 
> at xsrc/hash.c:680

This isn't a crash. MzScheme's GC will handle the signal to implement a
write barrier.

Use the commands

  handle SIGSEGV nostop noprint
  c

to continue in gdb.


Matthew



Posted on the users mailing list.