Squeak 1.3 for Windows (crash on image save)

Paul Fernhout kfsoft at netins.net
Sun Jan 18 04:48:49 UTC 1998


Andreas & the rest of the Squeak team -

Great job with Squeak 1.3!  It all works very smoothly - especially the
full screen mode. Makes me feel like I'm using a real computer :-) 
I was able to record and playback sounds and play midi files without a
problem.  Neat text flow and page turning!

One problem: I am getting a VM crash any time I save an image (on a
Compaq Deskpro 6000 180 Mhz running NT 4.0 SP 3 - Matrox Millenium
Graphics Card). This happens with both the JIT and non-JIT images.

I fired up Visual C++ 5.0 and compiled the inlined source and found out
some more information about the crash.

Stack trace:
sweepPhase() line 21085 + 6 bytes
fullGC() line 3481
primitiveSnapshot() line 16764
primitiveResponse() line 15300
interpret() line 6048 + 14 bytes
WinMain(void * 0x00400000, void * 0x00000000, char * 0x00140e24, int 1)
line 1783
WinMainCRTStartup() line 247 + 55 bytes
KERNEL32! 77f1b304()

code where fails:

		/* begin oopFromChunk: */
		/* begin extraHeaderBytes: */
		type = (longAt(oop + oopSize)) & 3;

		oop = 17873788
		oopsize = 481702544

Those oop numbers seem suspiciously large - and result in a memory read
error.

I also got a bus error with the 1.3 mac version yesterday (on a Quadra
630) I attributed to my old hardware. I had been using Squeak for a
while to play the william tell overture downloaded over the net - cool!
[It stuttered (repeating short phrases over and over) very badly on the
now very low end Quadra.] Maybe these crashes are related - if a full GC
kicks in?

I just tried "help..space left" on the Compaq and get the same VM crash
error - I assume that does a full GC.  So something weird is definitely
going on with GC.

I'll let you know if I find out anything more.  Any suggestions from
anyone on the best way to debug this would be appreciated.  I don't see
an easy way to figure out what smalltalk object has a bad pointer or
some such thing.

-Paul Fernhout
Kurtz-Fernhout Software
===========================================================
Developers of custom software and educational simulations
Download our Garden Simulator for Windows & source from:
http://www.gardenwithinsight.com





More information about the Squeak-dev mailing list