Why #cannotInterpret: does not works in Cog?

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

Why #cannotInterpret: does not works in Cog?

Igor Stasenko
 
It looks strange, because from what i see in sources it should work.

The implementation of #lookupMethodInClass: is the same as in Squeak VM,
which leaves me clueless, what goes wrong in Cog, that breaking it.



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: Why #cannotInterpret: does not works in Cog?

Eliot Miranda-2
 
Hi Igor,

On Mon, Feb 21, 2011 at 7:44 AM, Igor Stasenko <[hidden email]> wrote:

It looks strange, because from what i see in sources it should work.

The implementation of #lookupMethodInClass: is the same as in Squeak VM,
which leaves me clueless, what goes wrong in Cog, that breaking it.

Come on lad, you know better than this :)  What's the reproducible case?  The code and tests you sent me work.  So as far as I'm aware the r2361 VMs should support cannotInterpret:.  But without tests and error cases I can't do more.  So chapter and verse, code and crash, please.

best
Eliot




--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Why #cannotInterpret: does not works in Cog?

Igor Stasenko

---------- Forwarded message ----------
From: Igor Stasenko <[hidden email]>
Date: 22 February 2011 00:58
Subject: Re: [Vm-dev] Why #cannotInterpret: does not works in Cog?
To: Eliot Miranda <[hidden email]>


On 21 February 2011 19:28, Eliot Miranda <[hidden email]> wrote:

> Hi Igor,
>
> On Mon, Feb 21, 2011 at 7:44 AM, Igor Stasenko <[hidden email]> wrote:
>>
>> It looks strange, because from what i see in sources it should work.
>>
>> The implementation of #lookupMethodInClass: is the same as in Squeak VM,
>> which leaves me clueless, what goes wrong in Cog, that breaking it.
>
> Come on lad, you know better than this :)  What's the reproducible case?
>  The code and tests you sent me work.  So as far as I'm aware the r2361 VMs
> should support cannotInterpret:.  But without tests and error cases I can't
> do more.  So chapter and verse, code and crash, please.

Issue:
http://code.google.com/p/pharo/issues/detail?id=3648

Code:

http://pharo.googlecode.com/issues/attachment?aid=-2688922205745305798&name=StratifiedProxy.st&token=a55a8344aa3b4e72f4f0e3eee2daabd9

Tests:

http://pharo.googlecode.com/issues/attachment?aid=7497500072193223103&name=StratifiedProxy-Tests.st&token=d3003ddedd6f89332c9b91d03cb8b9cb


I built Cog mac vm from cmake configs.  Not works :(
So, question remains same: what is wrong with it, because from source
code POV it should work.

--
Best regards,
Igor Stasenko AKA sig.



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: Why #cannotInterpret: does not works in Cog?

Eliot Miranda-2
 


On Mon, Feb 21, 2011 at 3:58 PM, Igor Stasenko <[hidden email]> wrote:

---------- Forwarded message ----------
From: Igor Stasenko <[hidden email]>
Date: 22 February 2011 00:58
Subject: Re: [Vm-dev] Why #cannotInterpret: does not works in Cog?
To: Eliot Miranda <[hidden email]>


On 21 February 2011 19:28, Eliot Miranda <[hidden email]> wrote:
> Hi Igor,
>
> On Mon, Feb 21, 2011 at 7:44 AM, Igor Stasenko <[hidden email]> wrote:
>>
>> It looks strange, because from what i see in sources it should work.
>>
>> The implementation of #lookupMethodInClass: is the same as in Squeak VM,
>> which leaves me clueless, what goes wrong in Cog, that breaking it.
>
> Come on lad, you know better than this :)  What's the reproducible case?
>  The code and tests you sent me work.  So as far as I'm aware the r2361 VMs
> should support cannotInterpret:.  But without tests and error cases I can't
> do more.  So chapter and verse, code and crash, please.

Issue:
http://code.google.com/p/pharo/issues/detail?id=3648

Code:

http://pharo.googlecode.com/issues/attachment?aid=-2688922205745305798&name=StratifiedProxy.st&token=a55a8344aa3b4e72f4f0e3eee2daabd9

Tests:

http://pharo.googlecode.com/issues/attachment?aid=7497500072193223103&name=StratifiedProxy-Tests.st&token=d3003ddedd6f89332c9b91d03cb8b9cb


I built Cog mac vm from cmake configs.  Not works :(
So, question remains same: what is wrong with it, because from source
code POV it should work.


Hmmm, did you try it on the r2361 VMs on my website?  If these work you can compare the source code in r2361 of http://www.squeakvm.org/svn/squeak/branches/Cog against what you're generating/using and that might help.
 

--
Best regards,
Igor Stasenko AKA sig.



--
Best regards,
Igor Stasenko AKA sig.