Skip to content
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

Fast repeated saving of the image without quitting wrecks the system #97

Open
codeZeilen opened this issue Oct 4, 2023 · 2 comments
Open
Labels
base system [SCOPE] Squeak's basic (language) concerns such as Kernel, Collections, Graphics, Network bug [WHAT] Something isn't working as expected. Automated tests beneficial. :-

Comments

@codeZeilen
Copy link

I was able to trigger this issue with a 6.0 and a trunk image by running:

1000 timesRepeat: [
  Smalltalk snapshot: true andQuit: false].

The image breaks in different ways. Behaviors I have observed:

  • The upper left corner of the world becomes distorted and the image does not react anymore to any input
  • Some error happens during the encoding of the image file name (might have been something different, I do not remember that particular situation well). The same error occurs when trying to interact with code in any way (e.g. opening the debugger).
  • The image falls back to MVC and opens a large number of debuggers whose content are not visible because they are replacing each other too quickly. The image does not react to input anymore.
@codeZeilen codeZeilen added base system [SCOPE] Squeak's basic (language) concerns such as Kernel, Collections, Graphics, Network bug [WHAT] Something isn't working as expected. Automated tests beneficial. :- labels Oct 4, 2023
@codefrau
Copy link
Member

codefrau commented Oct 4, 2023

"Doctor, it hurts when I do this!" — "Stop doing this then."

I'm not surprised, because the snapshot mechanism involves image shutdown and startup, and parts of the startup code are likely asynchronous.

@codeZeilen
Copy link
Author

codeZeilen commented Oct 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base system [SCOPE] Squeak's basic (language) concerns such as Kernel, Collections, Graphics, Network bug [WHAT] Something isn't working as expected. Automated tests beneficial. :-
Projects
None yet
Development

No branches or pull requests

2 participants