Thanks, this is very helpful. These tests are all using #primForkSqueak to run a headless background Squeak process. I think that this used to work on OS X, although I am not certain.
As a workaround until this can be fixed, you can prevent the VM crash like this:
UnixOSProcessAccessor>>primForkSqueak self primitiveFailed "broken on OS X"
Dave
On Sun, May 02, 2010 at 03:02:55AM +0900, NISHIHARA Satoshi wrote:
Hello
The crashing primitives are: UnixOSProcessAccessor>>#primForkSqueak UnixOSProcessAccessor>>#primOldForkSqueak
crashing methods are: UnixProcessFileLockingTestCase testCooperatingProcesses01 testCooperatingProcesses02 testCooperatingProcesses03 testCooperatingProcesses04 testCooperatingProcesses05 testLockEntireFileForWrite01 testLockEntireFileForWrite02 testLockEntireFileForWrite03 testLockEntireFileForWrite04 testLockEntireFileForWrite05 testLockEntireFileForWrite06 testLockRegionForRead01 testLockRegionForRead02 testLockRegionForWrite01 testLockRegionForWrite02 testLockRegionForWrite03 testLockRegionForWrite04 testLockRegionForWrite05 testLockRegionForWrite06 testLockRegionForWrite07 testLockRegionForWrite08
UnixProcessTestCase testClassForkHeadlessSqueakAndDo testClassForkHeadlessSqueakAndDoThenQuit testClassForkSqueak testClassForkSqueakAndDo testClassForkSqueakAndDoThenQuit testEightLeafSqueakTree testHeadlessChild testSpawnTenHeadlessChildren testForkHeadlessSqueakAndDo testForkHeadlessSqueakAndDoThenQuit testForkSqueak testForkSqueakAndDo testForkSqueakAndDoThenQuit
my environment is muO All-in-One.app (app/Contents/Info.plist changed, only) Mac OS X 10.5.8 (9L30) MacBookPro5,1, Intel Core 2 Duo, 2.66 GHz
regards.
On 2010/05/02, at 00:15, David T. Lewis wrote:
On Fri, Apr 30, 2010 at 11:12:26PM +0900, NISHIHARA Satoshi wrote:
Hello
muO-All-in-Onev2.zip, can't boot on my Mac. Please change "SqueakImageName" key of app/Contents/Info.plist, to correct image fine name: "Squeak3.8.2-6779+muO235.image" (not include path).
it can't to run all tests, because of vm crash. 2 testcases UnixProcessFileLockingTestCase UnixProcessTestCase cause a VM crashing.
Thank you very much for reporting the VM crash.
I do not have a Mac to test this, but if anyone has further information on which primitive is crashing, I'd appreciate hearing further. Obviously save your image first ;-)
Dave
vm-dev@lists.squeakfoundation.org