[squeak-dev] OSProcess and Cuis [Test Failure]

David T. Lewis lewis at mail.msen.com
Thu Sep 2 22:23:47 UTC 2010


On Thu, Sep 02, 2010 at 03:05:24PM -0700, Ross Boylan wrote:
> I started Cuis's Sunit tester and selected the Unix test classes with
> OSProcess in them.  The image crashed immediately when I ran the tests.
> There was no debug log, but the terminal showed
> XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server
> ":0.0"
>       after 94458 requests (94404 known processed) with 0 events
> remaining.
> squeak: ../../src/xcb_io.c:182: process_responses: Assertion `((int)
> (((dpy->last_request_read)) - ((dpy->request))) <= 0)' failed.

Ross,

Thanks for your work on this. I'll add your bug fixes (from previous
posts) to OSProcess this weekend.

With respect to the failure above, what VM are you running? I suspect
that the timer changes in Cog may not sit well with the #forkSqueak
in OSProcess (I'm afraid I have not checked yet, sorry). The reason
I suspect this is that #forkSqueak has to shut off all timer signals
while doing the fork, and reenable them afterwards in both the parent
and child Squeak. The underlying timer notifications work differently
in Cog, so it would not surprise me to see problems. You might try
running some of the tests individually and avoid tests that are
doing #forkSqueak. If my guess is right here, the rest of OSProcess
will probably work fine as long as you don't try to fork a running
copy of Squeak with #forkSqueak.

Dave




More information about the Squeak-dev mailing list