[plt-scheme] 3m core dumps in openbsd-3.9-current

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Aug 4 11:04:06 EDT 2006

I changed the 3m write-barrier signal handler so that it should now
work for OpenBSD (and many other Unix variants).

Please update plt/src/mzscheme/gc2/sighand.c, remove
<build>/mzscheme/gc2/gc2.o, and then retry `make 3m'.

Matthew

At Fri, 4 Aug 2006 10:49:47 -0400, Jaime Vargas wrote:
> I grab the latest version from the repository last night and now  
> mzscheme3m
> fails before it has finished launching.
> 
> $ gdb -c mzscheme3m.core -s mzscheme3m
> GNU gdb 6.3
> Copyright 2004 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 "i386-unknown-openbsd3.9"...
> Core was generated by `mzscheme3m'.
> Program terminated with signal 11, Segmentation fault.
> #0  get_bucket (table=0x86b7ccc4, key=0x7f94d994 "/", add=1, b=0x0)
>      at xsrc/hash.c:654
> 654           table -> buckets = ba ;
> (gdb) l
> 649           BLOCK_SETUP((PUSH(ba, 0+XfOrM72_COUNT)));
> 650     #     define XfOrM79_COUNT (1+XfOrM72_COUNT)
> 651     #     define SETUP_XfOrM79(x) SETUP(XfOrM79_COUNT)
> 652           ba = NULLED_OUT ;
> 653           ba = (Scheme_Bucket * * ) FUNCCALL(SETUP_XfOrM79(_),  
> GC_malloc (asize ) );
> 654           table -> buckets = ba ;
> 655         }
> 656         table -> count = 0 ;
> 657         if (table -> weak ) {
> 658     #     define XfOrM76_COUNT (0+XfOrM72_COUNT)
> 
> 
> -- Jaime_________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.