Issue 4082 in pharo: nil@nil

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

Issue 4082 in pharo: nil@nil

pharo
Status: Accepted
Owner: [hidden email]

New issue 4082 by [hidden email]: nil@nil
http://code.google.com/p/pharo/issues/detail?id=4082

with manuel oriol we started to play with the idea of a randomTester in  
Pharo. It poses a lot of questions.

Now doing the first experiments, I found an instance of point (nil@nil)  
(besides reciprocal broken on Point (0@0) and

(Point allInstances select: [:each | each x isNil]) first pointersTo

points me to recreateSpecialObjectsArray

I looked into the literals and others and I could not find.

Each time I execute
        Smalltalk recreateSpecialObjectsArray

I get a new nil@nil objects.... but forcing a GC garbage them.
But I still have this nil@nil object around.

Does anybody have an idea from where nil@nil could come from?

Stef




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

Re: Issue 4082 in pharo: nil@nil

pharo
Updates:
        Status: FixToInclude
        Labels: Milestone-1.3

Comment #1 on issue 4082 by [hidden email]: nil@nil
http://code.google.com/p/pharo/issues/detail?id=4082

probably there was a primitives which doing fast Point allocaiton, and
for this it takes an existing point instance as a prototype.
I don't know if this slot are used by something ..

sig

-----

solution at least put a Point (0,0) in specialObjectArray



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

Re: Issue 4082 in pharo: nil@nil

pharo

Comment #2 on issue 4082 by [hidden email]: nil@nil
http://code.google.com/p/pharo/issues/detail?id=4082

It would be nice if status FixToInclude would contain machine readable code.

Now this means I will do it and it will take 10 minutes.


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

Re: Issue 4082 in pharo: nil@nil

pharo

Comment #3 on issue 4082 by [hidden email]: nil@nil
http://code.google.com/p/pharo/issues/detail?id=4082

fix attached.

In the postscript, execute:

Smalltalk recreateSpecialObjectsArray

Attachments:
        PointNewSpecial.1.cs  5.2 KB


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

Re: Issue 4082 in pharo: nil@nil

pharo
Updates:
        Status: Closed

Comment #4 on issue 4082 by [hidden email]: nil@nil
http://code.google.com/p/pharo/issues/detail?id=4082

in 13174


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

Re: Issue 4082 in pharo: nil@nil

pharo
Updates:
        Labels: MigratedToFogBugz

Comment #5 on issue 4082 by [hidden email]: nil@nil
http://code.google.com/p/pharo/issues/detail?id=4082#c5

Issue migrated to https://pharo.fogbugz.com/f/cases/4128

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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