OSProcess problem (was: Failing SUnit tests in 3.4b)
hargettp at mindspring.com
Sun Dec 22 14:54:12 UTC 2002
Okay, here's an interesting additional bit of info. I just stepped
through the method UnixProcess class>>catAFile in a Squeak debugger--and
no crashes! This was the core method that caused one of the test cases to
fail by aborting the VM.
Here's my thought: is it a timing issue? It seems that the bulk of the
work in this method involves forking a child process--could it be that
code is attempting to access something about the child process before it's
created--or after it is already complete? I don't know, but given that it
worked in the debugger and not when simply run directly suggests it's just
a timing thing.
On Sun, 22 Dec 2002, David T. Lewis wrote:
> Yes, I'm stumped!
> I guess it's possible that it would be an OS library issue, although I
> would not have expected that given that you are building from source.
> I can't really test this myself right now (my linux is too old to run Ian's
> 3.2-6 binary, and I don't seem to have the right stuff in my image to
> generate code that matches the 3.2-6 platforms source, and ... hey, it's
> December 22 and I have not done my Christmas shopping yet ;-)
> So is anyone else seeing problems like this? OSProcess test cases crashing
> the 3.2-6 Linux VM?
More information about the Squeak-dev