[squeak-dev] Error selector changed

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Tue Apr 13 10:28:38 UTC 2021


And one of the two duplicated Symbol #openPluggableFileListLabel:in:
appear as both added and removed method in 60Deprecated package! (see
png attached)

Le mar. 13 avr. 2021 à 11:22, Nicolas Cellier
<nicolas.cellier.aka.nice at gmail.com> a écrit :
>
> I have a clue:
>
>      Symbol allSubInstances reject: [:s | (Symbol findInterned: s
> asString) == s].
>
> returns two problematic Symbols:
>
>     OrderedCollection(#openPluggableFileListLabel:in:
> #dialogStringFromQuery:withTitle:).
>
> This means that some duplicated symbols still exist in my image...
> And they can end up in the SymbolTable thru (Symbol rehash).
>
> Who did create those duplicates remains an open question, but how the
> duplicates might sneak into the SymbolTable is no more a mystery
> (though it remains to analyze who does Symbol rehash...)
>
> Le mar. 13 avr. 2021 à 10:10, Marcel Taeumel <marcel.taeumel at hpi.de> a écrit :
> >
> > Maybe unrelated, but I will remove that extension "Symbol >> #extern:", which manipulates the symbol tables for a single test in CompilerExceptionTest, present since March 2020. I think that 1) garbage collection should take care of unused symbols and 2) test can find a better way to produce "unknown symbols" :-)
> >
> > Best,
> > Marcel
> >
> > Am 13.04.2021 07:16:48 schrieb Chris Muller <asqueaker at gmail.com>:
> >>
> >> For those wondering, the problem is that some Symbol get duplicated
> >> violating the contract:
> >> any two Symbols are either identical (==) or different (~=).
> >
> >
> > Possible become without copyHash?
> >
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deprecated.png
Type: image/png
Size: 9154 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210413/e45afab6/attachment.png>


More information about the Squeak-dev mailing list