Status: New
Owner: ----
New issue 5654 by
[hidden email]: 1.4 Freeze with TextMorph
http://code.google.com/p/pharo/issues/detail?id=5654Pharo image: Pharo-1.4-one-click.image
Pharo core version: Pharo1.4
Latest update: #14438
Virtual machine used: Cog VM 4.0.0 (release) from Apr 15 2012 gcc 4.5.2
Class browser used if applicable: Browser
OS: Windows
Steps to reproduce:
Copy this in the little green box, call the halos, and drag the little
yellow corner down the screen and swing it around left and right for 5
secs: Freeze.
sdvsvdsdvsdvsdvsd
s
dv
sd
v
sdvslkdvsdnvlnsdklvnkldsvnksdnvlnsdvlsdvklnskldvnlsnvdlkskndvknsdvlndlvnnsksdmvmsdvsd
sdvlksnvdklsdnvkdsnkvnlsdvnksndkvlnsdklvnklsdnvklsdnvklsdnvklsnvklsdklvnksdnvkldsnvksnvklnsklvnskldvnksdvnklsndvl
sdvlm,sldv,lmsdv,mls,dv
sdvklmnsdvnmsdvnsmvdnsmd
sdvklsnvksnvlkds
sdvlmsvd,lmsdv,lms,dvls,dvsvd,lmsdv,lmsd,vls,dvlms,dvlms,dvlms,dlv
svsdvsvdvsdvsdvdvvsv
To freeze 1.4 on Win XP SP3, you can try this one out:
| tm border |
tm := TextMorph new.
tm contentsWrapped: '';
extent: 100 @ 20.
"this is the important stuff"
(border := AlignmentMorph newRow) position: 200 @ 200;
borderWidth: 1;
borderColor: Color black;
hResizing: #shrinkWrap;
vResizing: #shrinkWrap;
addMorph: tm.
"this just makes the TextMorph easier =to see"
World addMorph: border.
Then fill in the TextMorph with some text and newlines.
Then call the halos and resize the right corner for a while, especially
letting it go out of screen at the bottom.
The system will come unresponsive, not obey Cmd-. etc.
Sometimes it comes back to life but most of the time I've got to kill the
process.
CogVM or StackVM make no difference.
Maybe there is a huge GC going on but there is no memory display thing
(manuia) anymore in 1.4 so I can't tell.
Hope it helps.
----
Not sure if this is related but:
"The size is computed incorrectly."
TextMorph new
contents: (Text string: 'this is something longer than normal' attribute:
TextEmphasis italic);
fontName: #DejaVuSans size: 24;
openInHand.
doesn't computes the size right
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker