<br>when you run it on linux under gdb what&#39;s teh stack trace for the seg fault?<div><br><div class="gmail_quote">On Wed, Mar 18, 2009 at 12:49 AM, Michael van der Gulik <span dir="ltr">&lt;<a href="mailto:mikevdg@gmail.com">mikevdg@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <br><p>Hi VM guys.</p><p>Does anybody have any insights into the following?:</p><p>I get the following crash. I&#39;ve tried this on a Windows VM of unknown version and a 3.9-alpha Linux VM with the same result:<br clear="all">

</p><p>Segmentation fault<br><br>-1528952856 [] in Semaphore&gt;critical:<br>-1528953680 BlockContext&gt;ensure:<br>-1528953772 Semaphore&gt;critical:<br>-1528953864 &gt;clearExternalObjects<br>-1528953956 SystemDictionary&gt;clearExternalObjects<br>

-1529116848 SmalltalkImage&gt;snapshot:andQuit:embedded:<br>-1529116940 SmalltalkImage&gt;snapshot:andQuit:<br>-1529117032 TheWorldMenu&gt;saveAndQuit<br>-1529117216 TheWorldMenu&gt;doMenuItem:with:<br>-1529117308 [] in MenuItemMorph&gt;invokeWithEvent:<br>

-1529117400 BlockContext&gt;ensure:<br>-1529117492 Cursor&gt;showWhile:<br>-1529117712 MenuItemMorph&gt;invokeWithEvent:<br>-1529117804 MenuItemMorph&gt;mouseUp:<br>-1529117896 MenuItemMorph&gt;handleMouseUp:<br>-1529118028 MouseButtonEvent&gt;sentTo:<br>

-1529118120 Morph&gt;handleEvent:<br>-1529118212 MorphicEventDispatcher&gt;dispatchDefault:with:<br>-1529118304 MorphicEventDispatcher&gt;dispatchEvent:with:<br>-1529118396 Morph&gt;processEvent:using:<br>-1529118488 MorphicEventDispatcher&gt;dispatchDefault:with:<br>

-1529118596 MorphicEventDispatcher&gt;dispatchEvent:with:<br>-1529118728 Morph&gt;processEvent:using:<br>-1529118820 Morph&gt;processEvent:<br>-1529118912 MenuMorph&gt;handleFocusEvent:<br>-1529119188 [] in HandMorph&gt;sendFocusEvent:to:clear:<br>

-1529119096 [] in PasteUpMorph&gt;becomeActiveDuring:<br>-1529119280 BlockContext&gt;on:do:<br>-1529119372 PasteUpMorph&gt;becomeActiveDuring:<br>-1529119556 HandMorph&gt;sendFocusEvent:to:clear:<br>-1529119648 HandMorph&gt;sendEvent:focus:clear:<br>

-1529119740 HandMorph&gt;sendMouseEvent:<br>-1529119884 HandMorph&gt;handleEvent:<br>-1529120168 HandMorph&gt;processEvents<br>-1529120076 [] in WorldState&gt;doOneCycleNowFor:<br>-1529120260 SequenceableCollection&gt;do:<br>

-1529120352 WorldState&gt;handsDo:<br>-1529120444 WorldState&gt;doOneCycleNowFor:<br>-1529120536 WorldState&gt;doOneCycleFor:<br>-1529120628 PasteUpMorph&gt;doOneCycle<br>-1529214452 [] in &gt;spawnNewProcess<br>-1529214268 [] in BlockContext&gt;newProcess<br>

Segmentation fault (core dumped)<br></p><p>This happens on start-up. None of the VM flags I tried make a difference.<br></p><p>I suspect this may have caused it:</p><p>!EventSensor methodsFor: &#39;as yet unclassified&#39; stamp: &#39;mvdg 3/17/2009 21:54&#39; prior: 36505616!<br>

startUp<br> [<br>         panicButtonPressed := false.<br><br>         Smalltalk.Sensor shutDown.<br>         inputSemaphore := Semaphore new.<br>         Smalltalk.ExternalSemaphoreTable registerExternalObject: inputSemaphore.<br>         self primSetInputSemaphore: inputSemaphore.<br>

<br>         self enterEventLoop.<br> ] ensure: [<br>         Smalltalk.Sensor startUp. <br>         Smalltalk.Display restore.<br> ].! !</p><p></p><p>This code worked fine until I saved, quit and tried to reopen the image.</p><p>Note that this class is actually defined in my namespaces implementation - it does not exist in the SystemDictionary and has it&#39;s environment set to an instance of Namespace. It is my own implementation of EventSensor and I&#39;ve added the primitive methods to it. I&#39;m not sure if any of this matters.</p>

<p>I&#39;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&#39;ll post a reply.</p>

<p>Gulik.</p>-- <br><a href="http://gulik.pbwiki.com/" target="_blank">http://gulik.pbwiki.com/</a><br>
<br></blockquote></div><br></div>