pharo icon indicating copy to clipboard operation
pharo copied to clipboard

text window writes sporadically fail

Open ericwinger opened this issue 1 year ago • 2 comments

Bug description Periodically, for no reason I can discern, writing to a text window fails. Here is just one example. The sourceString in RubCompositionScanner is size 18507, but the method basicScanCharactersFrom:to:in:rightX:stopConditions:kern: tries to access slot 18508. There is no ifAbsent: block so an error is raised.

To Reproduce Wish I could reproduce with regularity but seen too often to ignore anymore. Hope others may have more clues as to what is going on.

Expected behavior I wouldn't expect any write to a text window to fail as long as valid characters are entered.

Screenshots image

Version information: Pharo 11.0.0 Build information: Pharo-11.0.0+build.714.sha.0ead11d0b8573ff685db8a39fceeca2a8d528d3e (64 Bit)

Expected development cost Hard to reproduce so might take extra effort to find and diagnose.

Additional context Attaching full stack. 20240710 Pharo bug_transcript write failure stack.txt

ericwinger avatar Jul 10 '24 22:07 ericwinger

Hi Eric, Thanks a lot for your report. We are sorry. We are working on replacing morphic.

S.

Ducasse avatar Jul 11 '24 09:07 Ducasse

Eric I see that you are in Pharo 11. Do you have the possibility to test/migrate to Pharo 12?

Ducasse avatar Jul 11 '24 09:07 Ducasse