Although I'm unable to reproduce it, it seems to me the possibility of a situation where this error could occur increases if text compositing takes too long. (notice how primitiveStoreImageSegment is ). Reasoning; - In TextMorph>> paragraph, an uninitialized paragraph is installed in the instvar, then line composition happens. - If this method is called from another thread than the UI thread, (say, as a response to an Event, which seems to be the case at least for OB) it might be interrupted by the UI process, which will happily go ahead and try to render the paragraph before it is initialized, then throw an error since lines is still nil. A fix for this problem (which would be to create the paragraph in a temp, then store in instvar only when fully intialized) is attached. If you would file it in and see if it helps, that'd be nice. If it does, feel free to commit a slice to the inbox :) Cheers, Henry |
TextMorph-paragraph.st
Description: Binary data
On Dec 8, 2009, at 2:56 15PM, Mariano Martinez Peck wrote: Hi folks! I having this problem in pharo1.0-10496-rc1dev09.11.4 but I cannot reproduce it in PharoCore-1.1-11078-ALPHA |
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
