On Tue, May 10, 2011 at 1:44 PM, Igor Stasenko <siguctua@gmail.com> wrote:
The fix in
http://code.google.com/p/pharo/issues/detail?id=4186

now one thing left:
�we need to get rid of hanging methods with corrupted trailers.

And we do it like this:

(CompiledMethod allInstances select: [:m |
� � � �m isInstalled not and: [ m trailer kind = #VarLengthSourcePointer ]]
) do: [:each |
� � � �each at: each size put: 0 ]

This will replace a corrupted trailer with empty one.



Excellent!!!� that worked :)� Thanks Igor.
Now...it is supposed that when this issue fix is integrated the new generated image should now have these weird CMs so that script should not be necessary.
I will test it when such image is build by hudson :)



--
Mariano
http://marianopeck.wordpress.com