[Vm-dev] Crash on start-up.
Michael van der Gulik
mikevdg at gmail.com
Wed Mar 18 07:49:02 UTC 2009
Hi VM guys.
Does anybody have any insights into the following?:
I get the following crash. I've tried this on a Windows VM of unknown
version and a 3.9-alpha Linux VM with the same result:
-1528952856  in Semaphore>critical:
-1529117308  in MenuItemMorph>invokeWithEvent:
-1529119188  in HandMorph>sendFocusEvent:to:clear:
-1529119096  in PasteUpMorph>becomeActiveDuring:
-1529120076  in WorldState>doOneCycleNowFor:
-1529214452  in >spawnNewProcess
-1529214268  in BlockContext>newProcess
Segmentation fault (core dumped)
This happens on start-up. None of the VM flags I tried make a difference.
I suspect this may have caused it:
!EventSensor methodsFor: 'as yet unclassified' stamp: 'mvdg 3/17/2009 21:54'
panicButtonPressed := false.
inputSemaphore := Semaphore new.
Smalltalk.ExternalSemaphoreTable registerExternalObject: inputSemaphore.
self primSetInputSemaphore: inputSemaphore.
] ensure: [
This code worked fine until I saved, quit and tried to reopen the image.
Note that this class is actually defined in my namespaces implementation -
it does not exist in the SystemDictionary and has it's environment set to an
instance of Namespace. It is my own implementation of EventSensor and I've
added the primitive methods to it. I'm not sure if any of this matters.
I'm going to put this image aside rather than try to fix the above and make
a new image so I can continue my work. This problem will continue to exist,
however, so if I have any breakthroughs as to what is happening, I'll post a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev