[chuck] Windows XP crash

Ge Wang gewang at CS.Princeton.EDU
Wed Feb 2 10:12:59 EST 2005

Hi Gary!

We have reproduced a crash - it happens when
the main shred exits.  (is it the same problem?)

We tracked down the cause to a bad stack offset
for float variables declared without explicit initialization,
followed by operations that write to the operand stack:

     float foo;
     "bar" => stdout;

we have also put a workaround - you can download
the XP executable (


For platforms other than XP, we have put a source
file that contains the change (chuck_emit.cpp).

Another temporary fix is to just initialize all floats.


On Jan 27, 2005, at 2:35 PM, Gary Williams wrote:

> While testing my ModalBar program, ChucK crashed. I'm enclosing the  
> program
> (mb419.ck) and the tech error text Windows produced  
> (70d5_appcompat.txt).
> System Windows XP (with SP2) on a Sony Vaio laptop.
> Please let me know if you need anything else.
> --Gary
> ----
> Chess: http://chessnut.net/
> Homepage: http://garywilliams.org/
> Blog: http://tfs_reluctant.blogspot.com/
> ChucK Blog: http://b-chuck.blogspot.com/
> Resume: http://garywilliams.org/resume.htm
> Store: http://www.cafeshops.com/tfsreluctant/
> Phone: (607) 775-0408
> Permanent email: gwms at corninglink.com
> <70d5_appcompat.txt><mb419.ck>_________________________________________ 
> ______
> chuck mailing list
> chuck at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck

More information about the chuck mailing list