bug I'm seeing with forked process

Bob Arning arning at charm.net
Wed Jul 28 18:25:46 UTC 1999


On Wed, 28 Jul 1999 13:59:54 -0400 "Stephan B. Wessels" <stephan.wessels at sdrc.com> wrote: 
>I'm currently running Squeak 2.4b of April 23, 1999, Last update: 1209 on
>Windows NT.
>
>The application uses a forked process which sits inside a loop waiting for a
>termination condition to exit.  The program is processing a number of HTML based
>lists and creating a new dynamic output HTML document as a report.  It's been
>very handy and was simple to write.
>
>The peculiar thing is it fails whenever I'm not at my desk.  I suspect it's
>related to something NT is doing while running the screen saver.  I get the
>following message repeating in my console:
>        CreateThread() failed (8) -- Not enough storage is available to process
>this command.
>        SetThreadPriority() failed (6) -- The handle is invalid.
>
>So what's the deal here?  I'm pretty careful about forked processes and do not
>have any awareness of repeated forks in my code.  The only thing is the HTTP
>stuff in the base image is probably doing some forked stuff.  I wonder if
>there's a resource exhaustion thingy I need to watch for?

Steve,

A search of the list turned up this:

===============================
20 Apr	Raab, Andreas	RE: My 1st PWS Crash :-(

This is a weird NT thing - for some reason NT does not want to create a
thread for the socket. How long have you been running PWS without restart or
reboot of the machine?! I would guess that restarting Squeak should solve
this issue (if not, then a reboot of the machine might help ;-) In any case,
getting the latest SPs is probably a good idea.

  Andreas
--
+===== Andreas Raab ========= (andreasr at wdi.disney.com) ==+
| Walt Disney Imagineering        Phone: +1 818 544 5016  I
I Glendale, CA                    Fax:   +1 818 544 4544  I
+======< http://isgwww.cs.uni-magdeburg.de/~raab >========+


> ----------
> From: 	Vandendriessche, Frederik
> Reply To: 	squeak at cs.uiuc.edu
> Sent: 	Tuesday, April 20, 1999 4:54 AM
> To: 	squeak at cs.uiuc.edu
> Cc: 	recipient list not shown
> Subject: 	My 1st PWS Crash :-(
> 
> 
> 
> Anyone, does this ring a bell ?
> 
> "
> CreateThread() failed(8) - Not enough storage is available to process this
> command
> 
> SetThreadPriority() failed(6) - The handle is invalid
> 
> "
> 
> I got these lines in an erorbox, on the bottom of my Squeak window.
> I run Squeak on a 
> Dell PC, x86 Family 6 Model 5 Stepping 2,
> 130,480 KB Ram
> Microzoft Windows NT 4.00.1381.
> IE 5 5.00.0910.1309.
> 
> I use the PWS for 4 months now, and like it verry much.
> This is the first sight of this error, an error that occurred 'for no
> reason'.
> I mean, I was not doing anything special; just saving a page (max 300
> chars)....
> 
> Does anyone know an answer, or a place where I can find it ?
> Thanks.
> 
> 



===============================

Cheers,
Bob





More information about the Squeak-dev mailing list