[BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Denis Kudriashov
Hello

Just insert 
Transcript>>show:'something'
at any method begin.

Now debug sender of your method by debugger Through button.

If no Transcript opened VM will crash!

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Stéphane Ducasse
Hi denis

can you report clearly your bug
        - image
        - vm
        - os
        - scenario

I could not compile
        Transcript>>show:'something'

so I do not know how you did it.



On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:

> Hello
>
> Just insert  
> Transcript>>show:'something'
> at any method begin.
>
> Now debug sender of your method by debugger Through button.
>
> If no Transcript opened VM will crash!
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Denis Kudriashov
I has Pharo1.0 one click, Windows 7.
I attach class ClassWithTranscriptPrinting.
see class side method #debug





2010/5/23 Stéphane Ducasse <[hidden email]>
Hi denis

can you report clearly your bug
       - image
       - vm
       - os
       - scenario

I could not compile
       Transcript>>show:'something'

so I do not know how you did it.



On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:

> Hello
>
> Just insert
> Transcript>>show:'something'
> at any method begin.
>
> Now debug sender of your method by debugger Through button.
>
> If no Transcript opened VM will crash!
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

ClassWithTranscriptPrinting.st (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Denis Kudriashov
And If you replace Transcript code with

self halt.

You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)

2010/5/23 Denis Kudriashov <[hidden email]>
I has Pharo1.0 one click, Windows 7.
I attach class ClassWithTranscriptPrinting.
see class side method #debug





2010/5/23 Stéphane Ducasse <[hidden email]>

Hi denis

can you report clearly your bug
       - image
       - vm
       - os
       - scenario

I could not compile
       Transcript>>show:'something'

so I do not know how you did it.



On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:

> Hello
>
> Just insert
> Transcript>>show:'something'
> at any method begin.
>
> Now debug sender of your method by debugger Through button.
>
> If no Transcript opened VM will crash!
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Stéphane Ducasse
Thanks!

Stef

On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:

> And If you replace Transcript code with
>
> self halt.
>
> You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
>
> 2010/5/23 Denis Kudriashov <[hidden email]>
> I has Pharo1.0 one click, Windows 7.
> I attach class ClassWithTranscriptPrinting.
> see class side method #debug
>
>
>
>
>
> 2010/5/23 Stéphane Ducasse <[hidden email]>
>
> Hi denis
>
> can you report clearly your bug
>        - image
>        - vm
>        - os
>        - scenario
>
> I could not compile
>        Transcript>>show:'something'
>
> so I do not know how you did it.
>
>
>
> On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
>
> > Hello
> >
> > Just insert
> > Transcript>>show:'something'
> > at any method begin.
> >
> > Now debug sender of your method by debugger Through button.
> >
> > If no Transcript opened VM will crash!
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Denis Kudriashov
I found more bad cases with code simulation. And I think any manipulations with context (errors signals, simaphore, ...) not work in simulation mode. Transcript printing failed because of simaphore accessing (for thread safety)

I create CodeSimulationTests (see attachement) with some tests which not work and which crash VM.

Maybe this tests not correct. But I hope it helps to indicate and solve issues

2010/5/23 Stéphane Ducasse <[hidden email]>
Thanks!

Stef

On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:

> And If you replace Transcript code with
>
> self halt.
>
> You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
>
> 2010/5/23 Denis Kudriashov <[hidden email]>
> I has Pharo1.0 one click, Windows 7.
> I attach class ClassWithTranscriptPrinting.
> see class side method #debug
>
>
>
>
>
> 2010/5/23 Stéphane Ducasse <[hidden email]>
>
> Hi denis
>
> can you report clearly your bug
>        - image
>        - vm
>        - os
>        - scenario
>
> I could not compile
>        Transcript>>show:'something'
>
> so I do not know how you did it.
>
>
>
> On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
>
> > Hello
> >
> > Just insert
> > Transcript>>show:'something'
> > at any method begin.
> >
> > Now debug sender of your method by debugger Through button.
> >
> > If no Transcript opened VM will crash!
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

CodeSimulationTests.st (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Stéphane Ducasse
thanks a lot denis.
Can you create one or two bug entries in the bug tracking tool and attach your code there?

Stef

On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote:

> I found more bad cases with code simulation. And I think any manipulations with context (errors signals, simaphore, ...) not work in simulation mode. Transcript printing failed because of simaphore accessing (for thread safety)
>
> I create CodeSimulationTests (see attachement) with some tests which not work and which crash VM.
>
> Maybe this tests not correct. But I hope it helps to indicate and solve issues
>
> 2010/5/23 Stéphane Ducasse <[hidden email]>
> Thanks!
>
> Stef
>
> On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:
>
> > And If you replace Transcript code with
> >
> > self halt.
> >
> > You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
> >
> > 2010/5/23 Denis Kudriashov <[hidden email]>
> > I has Pharo1.0 one click, Windows 7.
> > I attach class ClassWithTranscriptPrinting.
> > see class side method #debug
> >
> >
> >
> >
> >
> > 2010/5/23 Stéphane Ducasse <[hidden email]>
> >
> > Hi denis
> >
> > can you report clearly your bug
> >        - image
> >        - vm
> >        - os
> >        - scenario
> >
> > I could not compile
> >        Transcript>>show:'something'
> >
> > so I do not know how you did it.
> >
> >
> >
> > On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
> >
> > > Hello
> > >
> > > Just insert
> > > Transcript>>show:'something'
> > > at any method begin.
> > >
> > > Now debug sender of your method by debugger Through button.
> > >
> > > If no Transcript opened VM will crash!
> > > _______________________________________________
> > > Pharo-project mailing list
> > > [hidden email]
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> <CodeSimulationTests.st>_______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Stéphane Ducasse
In reply to this post by Denis Kudriashov
http://code.google.com/p/pharo/issues/detail?id=2469



Stef


On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote:

> I found more bad cases with code simulation. And I think any manipulations with context (errors signals, simaphore, ...) not work in simulation mode. Transcript printing failed because of simaphore accessing (for thread safety)
>
> I create CodeSimulationTests (see attachement) with some tests which not work and which crash VM.
>
> Maybe this tests not correct. But I hope it helps to indicate and solve issues
>
> 2010/5/23 Stéphane Ducasse <[hidden email]>
> Thanks!
>
> Stef
>
> On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:
>
> > And If you replace Transcript code with
> >
> > self halt.
> >
> > You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
> >
> > 2010/5/23 Denis Kudriashov <[hidden email]>
> > I has Pharo1.0 one click, Windows 7.
> > I attach class ClassWithTranscriptPrinting.
> > see class side method #debug
> >
> >
> >
> >
> >
> > 2010/5/23 Stéphane Ducasse <[hidden email]>
> >
> > Hi denis
> >
> > can you report clearly your bug
> >        - image
> >        - vm
> >        - os
> >        - scenario
> >
> > I could not compile
> >        Transcript>>show:'something'
> >
> > so I do not know how you did it.
> >
> >
> >
> > On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
> >
> > > Hello
> > >
> > > Just insert
> > > Transcript>>show:'something'
> > > at any method begin.
> > >
> > > Now debug sender of your method by debugger Through button.
> > >
> > > If no Transcript opened VM will crash!
> > > _______________________________________________
> > > Pharo-project mailing list
> > > [hidden email]
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> <CodeSimulationTests.st>_______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Denis Kudriashov
Ok,

Eliot send some fix for code simulation in squeak list. 
With it decompilation work good and my tests does not crach VM. But some of tests failed (they like infinit loop)

I attach Eliot fix.

2010/5/24 Stéphane Ducasse <[hidden email]>
http://code.google.com/p/pharo/issues/detail?id=2469



Stef


On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote:

> I found more bad cases with code simulation. And I think any manipulations with context (errors signals, simaphore, ...) not work in simulation mode. Transcript printing failed because of simaphore accessing (for thread safety)
>
> I create CodeSimulationTests (see attachement) with some tests which not work and which crash VM.
>
> Maybe this tests not correct. But I hope it helps to indicate and solve issues
>
> 2010/5/23 Stéphane Ducasse <[hidden email]>
> Thanks!
>
> Stef
>
> On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:
>
> > And If you replace Transcript code with
> >
> > self halt.
> >
> > You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
> >
> > 2010/5/23 Denis Kudriashov <[hidden email]>
> > I has Pharo1.0 one click, Windows 7.
> > I attach class ClassWithTranscriptPrinting.
> > see class side method #debug
> >
> >
> >
> >
> >
> > 2010/5/23 Stéphane Ducasse <[hidden email]>
> >
> > Hi denis
> >
> > can you report clearly your bug
> >        - image
> >        - vm
> >        - os
> >        - scenario
> >
> > I could not compile
> >        Transcript>>show:'something'
> >
> > so I do not know how you did it.
> >
> >
> >
> > On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
> >
> > > Hello
> > >
> > > Just insert
> > > Transcript>>show:'something'
> > > at any method begin.
> > >
> > > Now debug sender of your method by debugger Through button.
> > >
> > > If no Transcript opened VM will crash!
> > > _______________________________________________
> > > Pharo-project mailing list
> > > [hidden email]
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> <CodeSimulationTests.st>_______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

ContextPart-tryNamedPrimitiveInforwithArgs.st (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Stéphane Ducasse
thanks a lot denis for checking that.
I should say thatI'm quite busy right now. :)

Stef

On May 25, 2010, at 7:05 PM, Denis Kudriashov wrote:

> Ok,
>
> Eliot send some fix for code simulation in squeak list.
> With it decompilation work good and my tests does not crach VM. But some of tests failed (they like infinit loop)
>
> I attach Eliot fix.
>
> 2010/5/24 Stéphane Ducasse <[hidden email]>
> http://code.google.com/p/pharo/issues/detail?id=2469
>
>
>
> Stef
>
>
> On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote:
>
> > I found more bad cases with code simulation. And I think any manipulations with context (errors signals, simaphore, ...) not work in simulation mode. Transcript printing failed because of simaphore accessing (for thread safety)
> >
> > I create CodeSimulationTests (see attachement) with some tests which not work and which crash VM.
> >
> > Maybe this tests not correct. But I hope it helps to indicate and solve issues
> >
> > 2010/5/23 Stéphane Ducasse <[hidden email]>
> > Thanks!
> >
> > Stef
> >
> > On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:
> >
> > > And If you replace Transcript code with
> > >
> > > self halt.
> > >
> > > You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
> > >
> > > 2010/5/23 Denis Kudriashov <[hidden email]>
> > > I has Pharo1.0 one click, Windows 7.
> > > I attach class ClassWithTranscriptPrinting.
> > > see class side method #debug
> > >
> > >
> > >
> > >
> > >
> > > 2010/5/23 Stéphane Ducasse <[hidden email]>
> > >
> > > Hi denis
> > >
> > > can you report clearly your bug
> > >        - image
> > >        - vm
> > >        - os
> > >        - scenario
> > >
> > > I could not compile
> > >        Transcript>>show:'something'
> > >
> > > so I do not know how you did it.
> > >
> > >
> > >
> > > On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
> > >
> > > > Hello
> > > >
> > > > Just insert
> > > > Transcript>>show:'something'
> > > > at any method begin.
> > > >
> > > > Now debug sender of your method by debugger Through button.
> > > >
> > > > If no Transcript opened VM will crash!
> > > > _______________________________________________
> > > > Pharo-project mailing list
> > > > [hidden email]
> > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > >
> > >
> > > _______________________________________________
> > > Pharo-project mailing list
> > > [hidden email]
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > >
> > >
> > > _______________________________________________
> > > Pharo-project mailing list
> > > [hidden email]
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > <CodeSimulationTests.st>_______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> <ContextPart-tryNamedPrimitiveInforwithArgs.st>_______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

niko.schwarz
We've further improved on the issue in
http://code.google.com/p/pharo/issues/detail?id=2469.

It's committed to the inbox, now.

Niko

On Tue, May 25, 2010 at 10:34 PM, Stéphane Ducasse
<[hidden email]> wrote:

> thanks a lot denis for checking that.
> I should say thatI'm quite busy right now. :)
>
> Stef
>
> On May 25, 2010, at 7:05 PM, Denis Kudriashov wrote:
>
>> Ok,
>>
>> Eliot send some fix for code simulation in squeak list.
>> With it decompilation work good and my tests does not crach VM. But some of tests failed (they like infinit loop)
>>
>> I attach Eliot fix.
>>
>> 2010/5/24 Stéphane Ducasse <[hidden email]>
>> http://code.google.com/p/pharo/issues/detail?id=2469
>>
>>
>>
>> Stef
>>
>>
>> On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote:
>>
>> > I found more bad cases with code simulation. And I think any manipulations with context (errors signals, simaphore, ...) not work in simulation mode. Transcript printing failed because of simaphore accessing (for thread safety)
>> >
>> > I create CodeSimulationTests (see attachement) with some tests which not work and which crash VM.
>> >
>> > Maybe this tests not correct. But I hope it helps to indicate and solve issues
>> >
>> > 2010/5/23 Stéphane Ducasse <[hidden email]>
>> > Thanks!
>> >
>> > Stef
>> >
>> > On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:
>> >
>> > > And If you replace Transcript code with
>> > >
>> > > self halt.
>> > >
>> > > You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
>> > >
>> > > 2010/5/23 Denis Kudriashov <[hidden email]>
>> > > I has Pharo1.0 one click, Windows 7.
>> > > I attach class ClassWithTranscriptPrinting.
>> > > see class side method #debug
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > 2010/5/23 Stéphane Ducasse <[hidden email]>
>> > >
>> > > Hi denis
>> > >
>> > > can you report clearly your bug
>> > >        - image
>> > >        - vm
>> > >        - os
>> > >        - scenario
>> > >
>> > > I could not compile
>> > >        Transcript>>show:'something'
>> > >
>> > > so I do not know how you did it.
>> > >
>> > >
>> > >
>> > > On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
>> > >
>> > > > Hello
>> > > >
>> > > > Just insert
>> > > > Transcript>>show:'something'
>> > > > at any method begin.
>> > > >
>> > > > Now debug sender of your method by debugger Through button.
>> > > >
>> > > > If no Transcript opened VM will crash!
>> > > > _______________________________________________
>> > > > Pharo-project mailing list
>> > > > [hidden email]
>> > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> > >
>> > >
>> > > _______________________________________________
>> > > Pharo-project mailing list
>> > > [hidden email]
>> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> > >
>> > >
>> > > _______________________________________________
>> > > Pharo-project mailing list
>> > > [hidden email]
>> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> >
>> > _______________________________________________
>> > Pharo-project mailing list
>> > [hidden email]
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> > <CodeSimulationTests.st>_______________________________________________
>> > Pharo-project mailing list
>> > [hidden email]
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> <ContextPart-tryNamedPrimitiveInforwithArgs.st>_______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VM crash during debbuging some code by Through button with Transcript>>show: in deepest inner methods

Denis Kudriashov
Excelent

2010/6/8 Niko Schwarz <[hidden email]>
We've further improved on the issue in
http://code.google.com/p/pharo/issues/detail?id=2469.

It's committed to the inbox, now.

Niko

On Tue, May 25, 2010 at 10:34 PM, Stéphane Ducasse
<[hidden email]> wrote:
> thanks a lot denis for checking that.
> I should say thatI'm quite busy right now. :)
>
> Stef
>
> On May 25, 2010, at 7:05 PM, Denis Kudriashov wrote:
>
>> Ok,
>>
>> Eliot send some fix for code simulation in squeak list.
>> With it decompilation work good and my tests does not crach VM. But some of tests failed (they like infinit loop)
>>
>> I attach Eliot fix.
>>
>> 2010/5/24 Stéphane Ducasse <[hidden email]>
>> http://code.google.com/p/pharo/issues/detail?id=2469
>>
>>
>>
>> Stef
>>
>>
>> On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote:
>>
>> > I found more bad cases with code simulation. And I think any manipulations with context (errors signals, simaphore, ...) not work in simulation mode. Transcript printing failed because of simaphore accessing (for thread safety)
>> >
>> > I create CodeSimulationTests (see attachement) with some tests which not work and which crash VM.
>> >
>> > Maybe this tests not correct. But I hope it helps to indicate and solve issues
>> >
>> > 2010/5/23 Stéphane Ducasse <[hidden email]>
>> > Thanks!
>> >
>> > Stef
>> >
>> > On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:
>> >
>> > > And If you replace Transcript code with
>> > >
>> > > self halt.
>> > >
>> > > You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
>> > >
>> > > 2010/5/23 Denis Kudriashov <[hidden email]>
>> > > I has Pharo1.0 one click, Windows 7.
>> > > I attach class ClassWithTranscriptPrinting.
>> > > see class side method #debug
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > 2010/5/23 Stéphane Ducasse <[hidden email]>
>> > >
>> > > Hi denis
>> > >
>> > > can you report clearly your bug
>> > >        - image
>> > >        - vm
>> > >        - os
>> > >        - scenario
>> > >
>> > > I could not compile
>> > >        Transcript>>show:'something'
>> > >
>> > > so I do not know how you did it.
>> > >
>> > >
>> > >
>> > > On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
>> > >
>> > > > Hello
>> > > >
>> > > > Just insert
>> > > > Transcript>>show:'something'
>> > > > at any method begin.
>> > > >
>> > > > Now debug sender of your method by debugger Through button.
>> > > >
>> > > > If no Transcript opened VM will crash!
>> > > > _______________________________________________
>> > > > Pharo-project mailing list
>> > > > [hidden email]
>> > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> > >
>> > >
>> > > _______________________________________________
>> > > Pharo-project mailing list
>> > > [hidden email]
>> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> > >
>> > >
>> > > _______________________________________________
>> > > Pharo-project mailing list
>> > > [hidden email]
>> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> >
>> > _______________________________________________
>> > Pharo-project mailing list
>> > [hidden email]
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> > <CodeSimulationTests.st>_______________________________________________
>> > Pharo-project mailing list
>> > [hidden email]
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> <ContextPart-tryNamedPrimitiveInforwithArgs.st>_______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project