<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 25, 2012 at 1:07 PM, Guillermo Polito <span dir="ltr">&lt;<a href="mailto:guillermopolito@gmail.com" target="_blank">guillermopolito@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"><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, Apr 25, 2012 at 12:04 PM, Guillermo Polito <span dir="ltr">&lt;<a href="mailto:guillermopolito@gmail.com" target="_blank">guillermopolito@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"><div class="gmail_extra">Ok, I&#39;ve managed to get the cause of the process failing :).<br><br>I&#39;m having a primitive failure in<br>

<br>VirtualMachine class&gt;setGCBiasToGrowGCLimit: 2002796048: a(n) VirtualMachine class<br>
<br>when trying to startup the vm, and therefore the ui process is never set up :/.  But I do not know why it should be failing :(.  I&#39;m still debugging.<br></div></blockquote></div><div><br>And this is because I have to put in 0 the index of the cache in named primitives literal :).<br>

<br>Still not working, but better than yesterday :).<br><br></div></div></div></blockquote><div><br>And now it works! :D  I was setting wrongly the endiannes flag in the vm header, and the floats were not well read.<br><br>
Next step, polish and publish new SystemTracer :).<br><br>Guille<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra">
<div class="gmail_quote"><div> </div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><br>Guille<br>
<br><div class="gmail_quote">On Tue, Apr 24, 2012 at 11:08 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@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><br><br><div class="gmail_quote"><div><div>On Tue, Apr 24, 2012 at 9:46 AM, Guillermo Polito <span dir="ltr">&lt;<a href="mailto:guillermopolito@gmail.com" target="_blank">guillermopolito@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>Ok, I&#39;m writing the image header as with the extra words.  But my image is kind of not living.  It seems the Display is not waking up.<br><br>When I open my new image with a cog vm, I get an image that does not break, but comes up with a window in black. I sent a SIGUSR1 to the vm Process and get the following.<br>





<br>All Smalltalk process stacks (active first):<br>Process 0x776c9498 priority 10<br>0xbfc2fbf0 M ProcessorScheduler class&gt;idleProcess 2003034484: a(n) ProcessorScheduler class<br>2006384288 s [] in ProcessorScheduler class&gt;startUp<br>





2008868524 s [] in BlockClosure&gt;newProcess<br><br>Process 0x77636ce8 priority 60<br>2003063132 s SmalltalkImage&gt;lowSpaceWatcher<br>2003240984 s [] in SmalltalkImage&gt;installLowSpaceWatcher<br>2003695368 s [] in BlockClosure&gt;newProcess<br>





<br>Process 0x77638668 priority 50<br>2003074716 s WeakArray class&gt;finalizationProcess<br>2003263900 s [] in WeakArray class&gt;restartFinalizationProcess<br>2003718900 s [] in BlockClosure&gt;newProcess<br><br>Process 0x779860e4 priority 80<br>





2009271856 s Delay class&gt;handleTimerEvent<br>2010697732 s Delay class&gt;runTimerEventLoop<br>2011549844 s [] in Delay class&gt;startTimerEventLoop<br><a href="tel:2012016284" value="+12012016284" target="_blank">2012016284</a> s [] in BlockClosure&gt;newProcess<br>




<br>Process 0x78809050 priority 40<br>
0xbfc2eac4 M [] in Semaphore&gt;critical: 2006475044: a(n) Semaphore<br>0xbfc2eae4 M BlockClosure&gt;ensure: 2021697252: a(n) BlockClosure<br>0xbfc2eb04 M Semaphore&gt;critical: 2006475044: a(n) Semaphore<br>0xbfc2eb28 I Delay&gt;schedule 2021697000: a(n) Delay<br>





0xbfc2eb48 I Delay&gt;wait 2021697000: a(n) Delay<br>0xbfc2eb70 I WorldState&gt;interCyclePause: 2004530692: a(n) WorldState<br>0xbfc2eb94 I WorldState&gt;doOneCycleFor: 2004530692: a(n) WorldState<br>0xbfc2ebb8 I PasteUpMorph&gt;doOneCycle 2003571264: a(n) PasteUpMorph<br>





0xbfc2ebd0 M [] in MorphicUIManager&gt;spawnNewProcess 2006644196: a(n) MorphicUIManager<br>0xbfc2ebf0 I [] in BlockClosure&gt;newProcess 2021691252: a(n) BlockClosure<br><br>Most recent primitives<br>relinquishProcessorForMicroseconds:<br>





relinquishProcessorForMicroseconds:<br>...<br>(more relinquishProcessorForMicroseconds:)<br><br><br>Now, looking at the primitives called, It seems the idle process is living but not giving any place to the other processes...  any ideas?  Does cog do something different with processes at system startup?<br>



</blockquote><div><br></div></div></div><div>Of course not :)  It&#39;s a Squeak VM with a JIT.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>Thanks!<br>Guille<br>
<br></blockquote></div><br><br clear="all"><span><font color="#888888"><div><br></div>-- <br>best,<div>Eliot</div><br>
<br></font></span></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>