[BC] Block Closures, Version 2

PhiHo Hoang phiho.hoang at rogers.com
Sun Feb 17 05:35:50 UTC 2002


Anthony,

> Acting like a new user, I downloaded a fresh 3.2gamma-4743 image

	I did that and load it into official Windows VM 3.1A6

> Then I downloaded and filed-in CGeneratorEnhancements-ajh.cs,
BCIntepreter-ajh.cs

	Did that, and generated interp.c. Plug it into Windows 3.1A6
source tree, edit sqPlatformSpecific.h 

		#define squeakFileOffsetType long

and sqVirtualMachine.h to accommodate

		#define squeakInt64 __int64


	1/- Bad news: Run 'Build.bat', got Squeak.exe, load
'SqueakBC3.image', VM crashed.

	Please find attached the file 'crash.dmp'

	2/- No so bad news, however, I managed to get a working BC3 VM
running SqueakBC3.image and finished a gane of FreeCell.

	3/- Bad news again, this working version is built with VS.


	Conclusion: BC3 VM is good (unless 2 bad made a good ;-).
Problems somewhere lse ?

	If anyone like to test it out, I can upload it to the BC Swiki
(if I can find out how to do it :-)


	Thanks, Anthony.

	Cheers,

	PhiHo.




-----Original Message-----
From: squeak-dev-admin at lists.squeakfoundation.org
[mailto:squeak-dev-admin at lists.squeakfoundation.org] On Behalf Of
Anthony Hannan
Sent: Monday, February 18, 2002 4:05 PM
To: Scott A Crosby
Cc: squeak-dev at lists.squeakfoundation.org
Subject: Re: [BC] Block Closures, Version 2


Scott A Crosby <crosby at qwes.math.cmu.edu> wrote:
> I'd guess that its because the generated VM/image differ based on 
> something that is outside of the raw code.
> 
> Is there some patch version inconsistency between the page and what 
> you actually use? Patch application order requirement? Was some change

> put in the wrong changeset (say, a VM fixup placed in the 
> image-translation changeset, or vice versa. So you must load all 
> changes before translating an image or building a VM.)
> 
> Or, for example, do things break if you do:
>    BCSystemTracer new writeImageFile: 'yourBC.image'
> INSTEAD OF
>    Time millisecondsToRun:
>           [BCSystemTracer new writeImageFile: 'yourBC.image']
> 
> When I've been working on it, I've created two throwaway clean images,

> load the VM changes into one, and the translator into the other. Do 
> you do things differently?

Acting like a new user, I downloaded a fresh 3.2gamma-4743 image and VM
source from squeak.sourceforge.net.  Then I downloaded and filed-in
CGeneratorEnhancements-ajh.cs, BCIntepreter-ajh.cs, and
VMMaker-3-2-version5.4.cs in that order.  Then I opened VMMakerTool,
made all plugins internal, and generated all.  Then I compiled the vm.
Then I download the pre-converted SqueakBC3.image (and changes) 
and ran it on the just built vm, and it worked.

Can you please try the above recipe and see if it works for you?

Thanks,
Anthony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.dmp
Type: application/octet-stream
Size: 1162 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020217/866bbc0e/crash.obj


More information about the Squeak-dev mailing list