<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">Well, I can sort-of make it happen<br>
<br>
- do you have the full SqueakDebug.log?<br>
- did you copy the portion you sent from the file or did you do it
another way? (like the mail bug report menu item)???<br>
- you might think about upping the numbers in
ContextPart>>errorReportOn: so we can see the full stack
next time<br>
[snip]<br>
strm position > (startPos+40000) ifTrue: [strm
nextPutAll: '...etc...'. "make 40000 much larger"<br>
^ self]. "exit early"<br>
cnt > 60 ifTrue: [strm nextPutAll: '-- and more not
shown --'. ^ self]. "make 60 much larger"<br>
[snip]<br>
<br>
Cheers,<br>
Bob<br>
<br>
</font>
<div class="moz-cite-prefix">On 9/16/13 5:26 PM, Nicolas Cellier
wrote:<br>
</div>
<blockquote
cite="mid:CAKnRiT5RZWUu80+pmsMsrTTR2a2=qhgVA+yTjK8vzrJsXSBJaQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Lately I have many instances of these yellow cross over
red background that happens when a low level morphic error
is encountered.<br>
<br>
It seems related to a MultiNewParagraph lines being nil like
in following stack example.<br>
<br>
</div>
I don't know if it can help a morphic guru, but I just hate
those stateful behavior with volatile states...<br>
<br>
</div>
Really hard to debug/understand!!!<br>
<br>
<div>
<div>
<div>
<div><br>
UndefinedObject(Object)>>error:<br>
Receiver: nil<br>
Arguments and temporary variables: <br>
aString: 'MessageNotUnderstood:
UndefinedObject>>findBinaryIndex:ifNone:'<br>
Receiver's instance variables: <br>
nil<br>
<br>
[] in WorldState>>displayWorldSafely:<br>
Receiver: a WorldState<br>
Arguments and temporary variables: <br>
<<error during printing><br>
Receiver's instance variables: <br>
hands: {a HandMorph(3216)}<br>
activeHand: a HandMorph(3216)<br>
viewBox: 0@0 corner: 1113@867<br>
canvas: a FormCanvas on:
DisplayScreen(1113x867x32)<br>
damageRecorder: a DamageRecorder<br>
stepList: a Heap(StepMessage(#stepAt: ->
3PButton(#toggleProjectLocalness 739))...etc...<br>
lastStepTime: 690046<br>
lastStepMessage: nil<br>
lastCycleTime: 690046<br>
commandHistory: a CommandHistory<br>
alarms: a MorphicAlarmQueue()<br>
lastAlarmTime: 690046<br>
remoteServer: nil<br>
multiCanvas: nil<br>
<br>
BlockClosure>>cull:cull:<br>
Receiver: [closure] in
WorldState>>displayWorldSafely:<br>
Arguments and temporary variables: <br>
firstArg: 'MessageNotUnderstood:
UndefinedObject>>findBinaryIndex:ifNone:'<br>
secondArg: nil<br>
Receiver's instance variables: <br>
outerContext:
WorldState>>displayWorldSafely:<br>
startpc: 97<br>
numArgs: 2<br>
<br>
[] in BlockClosure>>ifError:<br>
Receiver: [closure] in
WorldState>>displayWorldSafely:<br>
Arguments and temporary variables: <br>
errorHandlerBlock: MessageNotUnderstood:
UndefinedObject>>findBinaryIndex:ifNon...etc...<br>
ex: [closure] in
WorldState>>displayWorldSafely:<br>
Receiver's instance variables: <br>
outerContext:
WorldState>>displayWorldSafely:<br>
startpc: 90<br>
numArgs: 0<br>
<br>
BlockClosure>>cull:<br>
Receiver: [closure] in BlockClosure>>ifError:<br>
Arguments and temporary variables: <br>
firstArg: MessageNotUnderstood:
UndefinedObject>>findBinaryIndex:ifNone:<br>
Receiver's instance variables: <br>
outerContext: BlockClosure>>ifError:<br>
startpc: 40<br>
numArgs: 1<br>
<br>
[] in MethodContext(ContextPart)>>handleSignal:<br>
Receiver: BlockClosure>>on:do:<br>
Arguments and temporary variables: <br>
<<error during printing><br>
Receiver's instance variables: <br>
sender: BlockClosure>>ifError:<br>
pc: 17<br>
stackp: 3<br>
method: (BlockClosure>>#on:do: "a
CompiledMethod(680)")<br>
closureOrNil: nil<br>
receiver: [closure] in
WorldState>>displayWorldSafely:<br>
<br>
BlockClosure>>ensure:<br>
Receiver: [closure] in
MethodContext(ContextPart)>>handleSignal:<br>
Arguments and temporary variables: <br>
aBlock: [closure] in
MethodContext(ContextPart)>>handleSignal:<br>
complete: nil<br>
returnValue: nil<br>
Receiver's instance variables: <br>
outerContext:
MethodContext(ContextPart)>>handleSignal:<br>
startpc: 98<br>
numArgs: 0<br>
<br>
MethodContext(ContextPart)>>handleSignal:<br>
Receiver: BlockClosure>>on:do:<br>
Arguments and temporary variables: <br>
exception: MessageNotUnderstood:
UndefinedObject>>findBinaryIndex:ifNone:<br>
val: nil<br>
Receiver's instance variables: <br>
sender: BlockClosure>>ifError:<br>
pc: 17<br>
stackp: 3<br>
method: (BlockClosure>>#on:do: "a
CompiledMethod(680)")<br>
closureOrNil: nil<br>
receiver: [closure] in
WorldState>>displayWorldSafely:<br>
<br>
MessageNotUnderstood(Exception)>>signal<br>
Receiver: MessageNotUnderstood:
UndefinedObject>>findBinaryIndex:ifNone:<br>
Arguments and temporary variables: <br>
<br>
Receiver's instance variables: <br>
messageText: nil<br>
tag: nil<br>
signalContext:
MessageNotUnderstood(Exception)>>signal<br>
handlerContext: BlockClosure>>on:do:<br>
outerContext: nil<br>
message: findBinaryIndex: [closure] in
MultiNewParagraph(NewParagraph)>>fastFin...etc...<br>
receiver: nil<br>
reachedDefaultHandler: false<br>
<br>
UndefinedObject(Object)>>doesNotUnderstand:
#findBinaryIndex:ifNone:<br>
Receiver: nil<br>
Arguments and temporary variables: <br>
aMessage: findBinaryIndex: [closure] in
MultiNewParagraph(NewParagraph)>>fastFi...etc...<br>
exception: MessageNotUnderstood:
UndefinedObject>>findBinaryIndex:ifNone:<br>
resumeValue: nil<br>
Receiver's instance variables: <br>
nil<br>
<br>
MultiNewParagraph(NewParagraph)>>fastFindFirstLineSuchThat:<br>
Receiver: a MultiNewParagraph<br>
Arguments and temporary variables: <br>
lineBlock: [closure] in
MultiNewParagraph(NewParagraph)>>lineIndexForPoint:<br>
Receiver's instance variables: <br>
text: a Text for 'evaluate: textOrStream
cue: aCue ifFail: failBlock logged: lo...etc...<br>
textStyle: a TextStyle Bitmap DejaVu Sans 9<br>
firstCharacterIndex: 1<br>
container: 0@0 corner: 669@9999999<br>
lines: {a TextLine 1 to: 67 . a TextLine 68
to: 139 . a TextLine 140 to: 240 . ...etc...<br>
positionWhenComposed: 0@0<br>
offsetToEnd: 1089<br>
maxRightX: 652<br>
selectionStart: a CharacterBlock with index
278 and character Character tab and...etc...<br>
selectionStop: a CharacterBlock with index
278 and character Character tab and ...etc...<br>
wantsColumnBreaks: false<br>
focused: true<br>
caretRect: nil<br>
showCaret: true<br>
presentationText: nil<br>
presentationLines: nil<br>
<br>
MultiNewParagraph(NewParagraph)>>lineIndexForPoint:<br>
Receiver: a MultiNewParagraph<br>
Arguments and temporary variables: <br>
aPoint: 669@274<br>
i: nil<br>
py: 274<br>
Receiver's instance variables: <br>
text: a Text for 'evaluate: textOrStream
cue: aCue ifFail: failBlock logged: lo...etc...<br>
textStyle: a TextStyle Bitmap DejaVu Sans 9<br>
firstCharacterIndex: 1<br>
container: 0@0 corner: 669@9999999<br>
lines: {a TextLine 1 to: 67 . a TextLine 68
to: 139 . a TextLine 140 to: 240 . ...etc...<br>
positionWhenComposed: 0@0<br>
offsetToEnd: 1089<br>
maxRightX: 652<br>
selectionStart: a CharacterBlock with index
278 and character Character tab and...etc...<br>
selectionStop: a CharacterBlock with index
278 and character Character tab and ...etc...<br>
wantsColumnBreaks: false<br>
focused: true<br>
caretRect: nil<br>
showCaret: true<br>
presentationText: nil<br>
presentationLines: nil<br>
<br>
MultiNewParagraph>>displayOn:using:at:<br>
Receiver: a MultiNewParagraph<br>
Arguments and temporary variables: <br>
aCanvas: a FormCanvas on:
DisplayScreen(1113x867x32)<br>
displayScanner: a MultiDisplayScanner<br>
somePosition: 80@436<br>
visibleRectangle: 0@0 corner: 669@274<br>
offset: 80@436<br>
leftInRun: 0<br>
line: nil<br>
i: nil<br>
iLimiT: nil<br>
Receiver's instance variables: <br>
text: a Text for 'evaluate: textOrStream
cue: aCue ifFail: failBlock logged: lo...etc...<br>
textStyle: a TextStyle Bitmap DejaVu Sans 9<br>
firstCharacterIndex: 1<br>
container: 0@0 corner: 669@9999999<br>
lines: {a TextLine 1 to: 67 . a TextLine 68
to: 139 . a TextLine 140 to: 240 . ...etc...<br>
positionWhenComposed: 0@0<br>
offsetToEnd: 1089<br>
maxRightX: 652<br>
selectionStart: a CharacterBlock with index
278 and character Character tab and...etc...<br>
selectionStop: a CharacterBlock with index
278 and character Character tab and ...etc...<br>
wantsColumnBreaks: false<br>
focused: true<br>
caretRect: nil<br>
showCaret: true<br>
presentationText: nil<br>
presentationLines: nil<br>
<br>
FormCanvas>>paragraph:bounds:color:<br>
Receiver: a FormCanvas on:
DisplayScreen(1113x867x32)<br>
Arguments and temporary variables: <br>
para: a MultiNewParagraph<br>
bounds: 0@0 corner: 669@450<br>
c: Color black<br>
scanner: a MultiDisplayScanner<br>
Receiver's instance variables: <br>
target: nil<br>
filterSelector: nil<br>
origin: 80@436<br>
clipRect: 77@436 corner: 752@710<br>
form: DisplayScreen(1113x867x32)<br>
port: a GrafPort<br>
shadowColor: nil<br>
<br>
TextMorphForEditView(TextMorph)>>drawOn:<br>
Receiver: a TextMorphForEditView(975)<br>
Arguments and temporary variables: <br>
aCanvas: a FormCanvas on:
DisplayScreen(1113x867x32)<br>
fauxBounds: 0@0 corner: 669@450<br>
Receiver's instance variables: <br>
bounds: 0@0 corner: 669@450<br>
owner: a TransformMorph(1921)<br>
submorphs: #()<br>
fullBounds: 0@0 corner: 669@450<br>
color: Color black<br>
extension: a MorphExtension (1256) [other:
(errorOnDraw -> true) (blinkStart -...etc...<br>
borderWidth: 0<br>
borderColor: Color black<br>
textStyle: a TextStyle Bitmap DejaVu Sans 9<br>
text: a Text for 'evaluate: textOrStream
cue: aCue ifFail: failBlock logged: lo...etc...<br>
wrapFlag: true<br>
paragraph: a MultiNewParagraph<br>
editor: a SmalltalkEditor<br>
container: nil<br>
predecessor: nil<br>
successor: nil<br>
backgroundColor: nil<br>
margins: nil<br>
editHistory: nil<br>
editView: a PluggableTextMorphPlus(3589)<br>
acceptOnCR: false<br>
<br>
FormCanvas(Canvas)>>draw:<br>
Receiver: a FormCanvas on:
DisplayScreen(1113x867x32)<br>
Arguments and temporary variables: <br>
anObject: a TextMorphForEditView(975)<br>
Receiver's instance variables: <br>
target: nil<br>
filterSelector: nil<br>
origin: 80@436<br>
clipRect: 77@436 corner: 752@710<br>
form: DisplayScreen(1113x867x32)<br>
port: a GrafPort<br>
shadowColor: nil<br>
<br>
FormCanvas(Canvas)>>drawMorph:<br>
Receiver: a FormCanvas on:
DisplayScreen(1113x867x32)<br>
Arguments and temporary variables: <br>
aMorph: a TextMorphForEditView(975)<br>
Receiver's instance variables: <br>
target: nil<br>
filterSelector: nil<br>
origin: 80@436<br>
clipRect: 77@436 corner: 752@710<br>
form: DisplayScreen(1113x867x32)<br>
port: a GrafPort<br>
shadowColor: nil<br>
<br>
[] in TextMorphForEditView(Morph)>>fullDrawOn:<br>
Receiver: a TextMorphForEditView(975)<br>
Arguments and temporary variables: <br>
aCanvas: a FormCanvas on:
DisplayScreen(1113x867x32)<br>
Receiver's instance variables: <br>
bounds: 0@0 corner: 669@450<br>
owner: a TransformMorph(1921)<br>
submorphs: #()<br>
fullBounds: 0@0 corner: 669@450<br>
color: Color black<br>
extension: a MorphExtension (1256) [other:
(errorOnDraw -> true) (blinkStart -...etc...<br>
borderWidth: 0<br>
borderColor: Color black<br>
textStyle: a TextStyle Bitmap DejaVu Sans 9<br>
text: a Text for 'evaluate: textOrStream
cue: aCue ifFail: failBlock logged: lo...etc...<br>
wrapFlag: true<br>
paragraph: a MultiNewParagraph<br>
editor: a SmalltalkEditor<br>
container: nil<br>
predecessor: nil<br>
successor: nil<br>
backgroundColor: nil<br>
margins: nil<br>
editHistory: nil<br>
editView: a PluggableTextMorphPlus(3589)<br>
acceptOnCR: false<br>
<br>
FormCanvas>>roundCornersOf:in:during:<br>
Receiver: a FormCanvas on:
DisplayScreen(1113x867x32)<br>
Arguments and temporary variables: <br>
aMorph: a TextMorphForEditView(975)<br>
bounds: 0@0 corner: 669@450<br>
aBlock: [closure] in
TextMorphForEditView(Morph)>>fullDrawOn:<br>
Receiver's instance variables: <br>
target: nil<br>
filterSelector: nil<br>
origin: 80@436<br>
clipRect: 77@436 corner: 752@710<br>
form: DisplayScreen(1113x867x32)<br>
port: a GrafPort<br>
shadowColor: nil<br>
<br>
<br>
--- The full stack ---<br>
UndefinedObject(Object)>>error:<br>
[] in WorldState>>displayWorldSafely:<br>
BlockClosure>>cull:cull:<br>
[] in BlockClosure>>ifError:<br>
BlockClosure>>cull:<br>
[] in MethodContext(ContextPart)>>handleSignal:<br>
BlockClosure>>ensure:<br>
MethodContext(ContextPart)>>handleSignal:<br>
MessageNotUnderstood(Exception)>>signal<br>
UndefinedObject(Object)>>doesNotUnderstand:
#findBinaryIndex:ifNone:<br>
MultiNewParagraph(NewParagraph)>>fastFindFirstLineSuchThat:<br>
MultiNewParagraph(NewParagraph)>>lineIndexForPoint:<br>
MultiNewParagraph>>displayOn:using:at:<br>
FormCanvas>>paragraph:bounds:color:<br>
TextMorphForEditView(TextMorph)>>drawOn:<br>
FormCanvas(Canvas)>>draw:<br>
FormCanvas(Canvas)>>drawMorph:<br>
[] in TextMorphForEditView(Morph)>>fullDrawOn:<br>
FormCanvas>>roundCornersOf:in:during:<br>
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -<br>
FormCanvas(Canvas)>>roundCornersOf:during:<br>
TextMorphForEditView(Morph)>>fullDrawOn:<br>
FormCanvas(Canvas)>>fullDraw:<br>
FormCanvas(Canvas)>>fullDrawMorph:<br>
[] in [] in TransformMorph>>drawSubmorphsOn:<br>
Array(SequenceableCollection)>>reverseDo:<br>
[] in TransformMorph>>drawSubmorphsOn:<br>
FormCanvas>>transformBy:clippingTo:during:smoothing:<br>
TransformMorph>>drawSubmorphsOn:<br>
[] in TransformMorph(Morph)>>fullDrawOn:<br>
FormCanvas>>roundCornersOf:in:during:<br>
FormCanvas(Canvas)><br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>