-
-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image freeze when deprecated:transformWith: is used #12791
Comments
@tinchodias find a way to explore : When this checkbox is uncheck : there is a window with an error at the execution of the test : |
it freezes I think due to #name on classes being used very very deep in the system, if the rename goes wrong it will call that faulty method for sure during error reporting, leading to a loop. |
Thanks @MarcusDenker, but we have the same problem in Bloc (pharo-graphics/Bloc#207) for another message (not name). |
It should be better to open a debugger instead of freeze :) I tried to interrupt an eventually loop but this is not working (I have tried MAJ CTRL + . ) |
But the debugger calls #name again, which leads to the same error, which leads to the same error, which leads to the same error... |
If I try this on an example that is not #name of Class (which is very special, as it is called a lot and especially during error handling), it works for me as it should. I get a SytnaxErrorDebugger, I can close it, just as expected. |
I find a problem when I'm using
Object>>deprecated:transformWith:
.Download the zip file to have a code to import into a new Pharo image for reproduce it :
Do the unit test
MyClassTest>>testName
, the image is freezing. I found no possibility to debug or quit, I'm forced to kill the pharo process.This is a basic code and I'm using the
Object>>deprecated:transformWith:
as inClassDescription>>definition
example.And the test :
My config :
To reproduce import this code and see
MyClass-Tests
package with the test :MyClass-Tests.zip
The text was updated successfully, but these errors were encountered: