Hi Mariano,<div><br></div><div>    can you create an image that exhibits the crash from start-up?  If so, please email it to me and I&#39;ll fix this asap.<br><br><div class="gmail_quote">On Mon, Oct 3, 2011 at 2:35 AM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com">marianopeck@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>Hi Eliot. I am testing your very last VM r2496, CogMT in Mac OS 10.6.8. I am using the trick of #cannotInterpret: and I discover a problem with it. Basically, it is when doing something like this:<br>
<br>MyProxy &gt;&gt; cannotInterpret: aMessage<br>
<br>Error signal: &#39;ups...&#39;.<br><br>In this case, the debugger comes in but after one or 2 times I press in the debugger line of #cannotInterpret: (to debug it), it crashes. As far as I could see with gdb, the problem is in MethodContext &gt;&gt; #printDetails:<br>

If I comment the contents of such method, I have no crash at all. I think that in this scenario where I throw an arror inside #cannotInterpret can reach a situation where you don&#39;t have temps or values or receiver or something and that&#39;s why it crash.<br>

Furthermore, previous VM version, do NOT have this problem. <br><br>I will try to dig a little more, but if you give me a hint, I appreciate it. <br><br>Here is the bt and the stack:<br><br>Program received signal EXC_BAD_ACCESS, Could not access memory.<br>

Reason: KERN_PROTECTION_FAILURE at address: 0x00000026<br>0x000d8356 in methodHasCogMethod ()<br>(gdb) bt<br>#0  0x000d8356 in methodHasCogMethod ()<br>#1  0x000c7899 in cogPICSelectornumArgsCase0MethodCase1MethodtagisMNUCase ()<br>

#2  0x000d6eea in ceSICMiss ()<br>#3  0x13ffc35c in ?? ()<br>#4  0x00107a05 in threadSchedulingLoop ()<br>#5  0x00108c38 in initStackPagesAndInterpret ()<br>#6  0x0005d964 in EventLoopEventHandler ()<br>#7  0x98c66c2f in DispatchEventToHandlers ()<br>

#8  0x98c65ef6 in SendEventToEventTargetInternal ()<br>#9  0x98c65d55 in SendEventToEventTargetWithOptions ()<br>#10 0x98c9aa24 in ToolboxEventDispatcherHandler ()<br>#11 0x98c67080 in DispatchEventToHandlers ()<br>#12 0x98c65ef6 in SendEventToEventTargetInternal ()<br>

#13 0x98c887f3 in SendEventToEventTarget ()<br>#14 0x98e11c17 in ToolboxEventDispatcher ()<br>#15 0x98e11d4f in RunApplicationEventLoop ()<br>#16 0x0005d18a in RunApplicationEventLoopWithSqueak ()<br>#17 0x0006ebf7 in main ()<br>

<br><br><br>(gdb) call (int) printAllStacks()<br>Process 0x171793f8 priority 40<br>0xbff69d64 M [] in MethodContext&gt;printDetails: 387422092: a(n) MethodContext<br>0xbff69d80 M BlockClosure&gt;on:do: 388720820: a(n) BlockClosure<br>

0xbff69da0 M BlockClosure&gt;ifError: 388720820: a(n) BlockClosure<br>0xbff69dc8 M MethodContext&gt;printDetails: 387422092: a(n) MethodContext<br>0xbff69df0 M MethodContext(ContextPart)&gt;errorReportOn: 387418688: a(n) MethodContext<br>

0xbff69e1c I [] in SmalltalkImage&gt;logError:inContext: 340435416: a(n) SmalltalkImage<br>0xbff69e48 I [] in SmalltalkImage&gt;logDuring: 340435416: a(n) SmalltalkImage<br>0xbff69e68 M BlockClosure&gt;ensure: 388309644: a(n) BlockClosure<br>

0xbff69e90 I SmalltalkImage&gt;logDuring: 340435416: a(n) SmalltalkImage<br>0xbff69eb4 I SmalltalkImage&gt;logError:inContext: 340435416: a(n) SmalltalkImage<br>0xbff69ef0 M [] in MorphicUIManager&gt;openDebuggerOn:context:label:contents:fullView: 338485116: a(n) MorphicUIManager<br>

0xbff69f0c M BlockClosure&gt;on:do: 387421948: a(n) BlockClosure<br>0xbff69f44 M [] in MorphicUIManager&gt;openDebuggerOn:context:label:contents:fullView: 338485116: a(n) MorphicUIManager<br>0xbff69f64 M WorldState&gt;runStepMethodsIn: 338433128: a(n) WorldState<br>

0xbff69f80 M PasteUpMorph&gt;runStepMethods 338272244: a(n) PasteUpMorph<br>0xbff69f98 M WorldState&gt;doOneCycleNowFor: 338433128: a(n) WorldState<br>0xbff69fb4 M WorldState&gt;doOneCycleFor: 338433128: a(n) WorldState<br>

0xbff69fd0 M PasteUpMorph&gt;doOneCycle 338272244: a(n) PasteUpMorph<br>0xbff69ff0 I [] in Project class&gt;spawnNewProcess 338672796: a(n) Project class<br>0xbff6a010 I [] in BlockClosure&gt;newProcess 387420956: a(n) BlockClosure<br>

<br>Process 0x1711e7fc priority 50<br>0xbff5ffd0 M WeakArray class&gt;finalizationProcess 337425280: a(n) WeakArray class<br>0xbff5fff0 I [] in WeakArray class&gt;restartFinalizationProcess 337425280: a(n) WeakArray class<br>

0xbff60010 I [] in BlockClosure&gt;newProcess 387049248: a(n) BlockClosure<br><br>Process 0x14a27698 priority 80<br>0xbff60ff0 M Delay class&gt;handleTimerEvent 337430620: a(n) Delay class<br>0xbff61010 I Delay class&gt;? 337430620: a(n) Delay class<br>

346191180 s [] in Delay class&gt;?<br>346191416 s [] in BlockClosure&gt;?<br><br>Process 0x15d37dd0 priority 40<br>366182080 s [] in SHTextStylerST80(SHTextStyler)&gt;styleInBackgroundProcess:<br>366181744 s [] in BlockClosure&gt;newProcess<br>

<br>Process 0x166a5108 priority 60<br>0xbff61fd0 I SmalltalkImage&gt;lowSpaceWatcher 340435416: a(n) SmalltalkImage<br>0xbff61ff0 I [] in SmalltalkImage&gt;installLowSpaceWatcher 340435416: a(n) SmalltalkImage<br>0xbff62010 I [] in BlockClosure&gt;newProcess 376066092: a(n) BlockClosure<br>

<br>Process 0x1711c3d8 priority 60<br>0xbff64f50 M [] in Delay&gt;wait 387040292: a(n) Delay<br>0xbff64f70 M BlockClosure&gt;ifCurtailed: 387932080: a(n) BlockClosure<br>0xbff64f8c M Delay&gt;wait 387040292: a(n) Delay<br>

0xbff64fa4 M InputEventPollingFetcher&gt;waitForInput 337872084: a(n) InputEventPollingFetcher<br>0xbff64fd0 I InputEventPollingFetcher(InputEventFetcher)&gt;eventLoop 337872084: a(n) InputEventPollingFetcher<br>0xbff64ff0 I [] in InputEventPollingFetcher(InputEventFetcher)&gt;installEventLoop 337872084: a(n) InputEventPollingFetcher<br>

0xbff65010 I [] in BlockClosure&gt;newProcess 387039996: a(n) BlockClosure<br><br>processes at priority 10<br>Process 0x166a52d4 priority 10<br>0xbff63fd0 M ProcessorScheduler class&gt;idleProcess 337424860: a(n) ProcessorScheduler class<br>

0xbff63ff0 I [] in ProcessorScheduler class&gt;startUp 337424860: a(n) ProcessorScheduler class<br>0xbff64010 I [] in BlockClosure&gt;newProcess 376066552: a(n) BlockClosure<br>$1 = 0<br clear="all"><br><br>Thanks in advance,<br>

<br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>
</div>