squeak-smalltalk / squeak-object-memory

Issues and assets related to the Squeak object memory.
https://bugs.squeak.org
MIT License
11 stars 1 forks source link

Squeak 6.0 crashed when I run a string test from SBE 6.0 #90

Open ljsr opened 11 months ago

ljsr commented 11 months ago

Good day for all. I have a machine with the next characteristics: OS: unix linux-gnu i686 (Ubuntu 18.04) VM: 202206021410 (c9fd365) SQ: Squeak6.0 #22126 (32 bit)

When I try to run an example from the section 1.9 Defining a new method squeak is crashed.

LinqLover commented 10 months ago

Hi, sorry for the late reply. Could you maybe describe closer what led to the crash and what it looked like?

I assume you are referring to this example:

Select CollectionsTests-Text and the pane to the right will show all of the test classes in that category, which includes the class StringTest. The names of the classes are already selected, so click Run Selected to run all these tests. [...] If you click on that line of text, the erroneous test will run again, this time in such a way that you see the error happen: “MessageNotUnderstood: ByteString»shout”.

Is this correct? If yes, seeing a debugger window as depicted in figure 1.22 is expected. In this case, you can just proceed with the book by closing the debugger. Or are you experiencing an actual crash of the image? If yes, further details such as a screenshot or a copy of your SqueakDebug.log file (if present) would be helpful.

ljsr commented 10 months ago

Hi @LinqLover, thanks for your reply. Yes, you are in the correct about the exact place of the book exercise. The crash is of the image. It goes running the test and crash the image, I suppose that when it comes to the new code, next I have to reload the image.

Next I upload the SqueakDebug.log. SqueakDebug.log

LinqLover commented 10 months ago

Hi @ljsr, thanks for the reply. Does the image crash reproducibly or are you now able to continue with the instructions from the book? If you see the issue again, it would be great if you could provide the full output from your squeak.sh (assuming that you started Squeak from a terminal).

ljsr commented 10 months ago

Hi @LinqLover, thanks for your reply. The image always crash in the same place: when I run the new test. I believe that I can to continue with the book without run the tests, but I don't know if with next exercises will crash. I go to try in the next hours.

I upload the output from the call to SBE.image from the terminal. output.txt

LinqLover commented 10 months ago

@ljsr Thank you for the output! A quick guess, when you remove the method StringTest>>#testPercentEncodingJa from your image, will the image still crash?

You can remove the method by typing (or pasting) testPercentEncodingJa in the search bar at the top right of Squeak, pressing Enter, selecting it in the Implementors window, and pressing cmd-x.

Thanks for the bug report, there's likely something wrong with this test, we will need to look into this.

ljsr commented 10 months ago

Hi @LinqLover, I already drop the testPercentEncodingJa and I rerun the test but Squeak is crashed again.

I upload the last output from the call on the terminal. output.txt

ljsr commented 10 months ago

Here again. Now I upload the crash.dump from the original image when I try to run the same test without the added of the SBE book, only runing the tests of text.

crash.txt

LinqLover commented 7 months ago

Sorry for the huge delay! Could you please retry with our new VM release candidate? https://github.com/OpenSmalltalk/opensmalltalk-vm/releases