Why aren't these Disney Python jobs for Squeak?

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Fri Sep 22 16:59:24 UTC 2000

On 22 Sep 2000, Randal L. Schwartz wrote:

>     halfdome.holdit.com>> squeak -headless
>     Segmentation fault
>  *** Aside: is anyone aware of this or working on this? ***

It was noted two days ago by someone, and some weeks ago by me. The fix is
trivial. In sqXWindow.c, ioSetCursorWithMask(), insert at the top:

  if (!isConnectedToXServer) return 0;

I just did not check if there are other places this is missing, so I
didn't post a fix.

> I can't imagine a CGI "script" written in Squeak no matter how well
> the design would be... the startup cost of launching a new image is
> probably too high.

With a stripped-down image that is built into the executable that
shouldn't be a big deal. Now the time is:

bert.balloon > echo Smalltalk snapshot: false andQuit: true > myscript
bert.balloon > time squeak -headless myscript
0.560u 0.140s 0:00.70 100.0%	0+0k 0+0io 233pf+0w

-- Bert

More information about the Squeak-dev mailing list