[Vm-dev] [Pharo-project] fast #becomeForward: crashes without PharoV10.sources

Esteban Lorenzano estebanlm at gmail.com
Thu Feb 28 13:44:10 UTC 2013


Hi Eliot, 

I have a very reproducible case :)

just take latest pharo 2.0 image, edit #condenseSources to remove: 

	VirtualMachine isRunningCogit
		ifTrue: [ self error: 'Sources cannot be condensed in a Cog (JIT enabled) Virtual Machine. Try a Stack VM.' ].

(so it runs it in cog :)

and  execute 

Smalltalk condenseSources.

BOOM! :)

and printAllStacks show that it stopped in #becomeForward: 

Esteban

On Feb 26, 2013, at 7:20 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:

> 
> 
> On Tue, Feb 26, 2013 at 4:13 AM, Igor Stasenko <siguctua at gmail.com> wrote:
> we should reafctor the code for changing the method's trailer (source
> pointer) to
> avoid using #become: at all.
> this won't deal with VM bug per se, but at least prevent it from triggering.
> 
> No, that makes little sense.  Instead provide me with a reproducible case and I'll fix it quickly.  I fixed the case form last week in one day.  Become: should work, but I can't fix things if I can't reproduce the bugs.  So please take the time to produce an image that crashes from start-up.
> 
> 
> 
> On 25 February 2013 23:26, Esteban Lorenzano <estebanlm at gmail.com> wrote:
> > he is talking about some chrashes that happens fast, when you do become :)
> >
> > nothing about "fast become"
> >
> > On Feb 25, 2013, at 10:26 PM, Mariano Martinez Peck <marianopeck at gmail.com>
> > wrote:
> >
> > mmm what do you mean by "fast becomeForward:" ?
> >
> > On Mon, Feb 25, 2013 at 1:01 PM, Camillo Bruni <camillobruni at gmail.com>
> > wrote:
> >>
> >> While setting up the new multi platform VM tests I saw that the tests fail
> >> extremely quickly
> >> when there are not PharoV10.sources available.
> >>
> >> It is still our know #becomeForward: but on CompiledMethods, but I just
> >> want to share that.
> >
> >
> >
> >
> > --
> > Mariano
> > http://marianopeck.wordpress.com
> >
> >
> 
> 
> 
> --
> Best regards,
> Igor Stasenko.
> 
> 
> 
> 
> -- 
> best,
> Eliot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20130228/72ec1db0/attachment.htm


More information about the Vm-dev mailing list