Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002272 [Squeak] Compiler minor always 11-28-05 19:52 11-29-05 01:14
Reporter KenCausey View Status public  
Assigned To
Priority normal Resolution duplicate  
Status closed   Product Version 3.9
Summary 0002272: [BUG]SyntaxErrorNotification class(Object)>>doesNotUnderstand: #inClass:withCode:doitFlag:
Description p.provoost@rn.rabobank.nl:

"I am changing the default text font in image 6703. Tha same thing
happens in 6704. After the error shown below, the TOOLS flap is gone. It
makes no difference to which font I try to change. Even a change to the
same original font produces this walkback."
Additional Information 27 November 2005 2:08:16 pm

VM: unix - a SmalltalkImage
Image: Squeak3.9alpha [latest update: 0006703]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /opt/squeak/images
Trusted Dir /opt/squeak/images/secure
Untrusted Dir /opt/squeak/images/My Squeak

SyntaxErrorNotification class(Object)>>doesNotUnderstand:
#inClass:withCode:doitFlag:
        Receiver: SyntaxErrorNotification
        Arguments and temporary variables:
                aMessage: inClass: BlockContext withCode: 'Message pattern expected
->.e., for ...etc...
        Receiver's instance variables:
                superclass: Notification
                methodDict: a MethodDictionary(#category->a CompiledMethod (638)
#defaultAction...etc...
                format: 148
                instanceVariables: #('inClass' 'code' 'category' 'doitFlag')
                organization: ('accessing' category doitFlag errorClass errorCode
messageText s...etc...
                subclasses: nil
                name: #SyntaxErrorNotification
                classPool: nil
                sharedPools: nil
                environment: a SystemDictionary(lots of globals)
                category: nil

Parser>>notify:at:
        Receiver: a Parser
        Arguments and temporary variables:
                string: 'Message pattern expected'
                location: 1
        Receiver's instance variables:
                source: a ReadStream '.e., for DoIts)."

         | methNode repeatNeeded myStr...etc...
                mark: 2
                hereChar: $.
                aheadChar: $,
                token: 'e'
                tokenType: #word
                currentComment: nil
                buffer: a WriteStream 'e'
                typeTable: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary
#xBinary #xB...etc...
                here: #.
                hereType: #period
                hereMark: 1
                hereEnd: 1
                prevMark: 1
                prevEnd: nil
                encoder: {an Encoder}
                requestor: nil
                parseNode: nil
                failBlock: [] in Compiler>>parse:in:notifying: {[]}
                requestorOffset: 0
                tempsMark: nil
                doitFlag: false
                category: nil

Parser>>expected:
        Receiver: a Parser
        Arguments and temporary variables:
                aString: 'Message pattern'
        Receiver's instance variables:
                source: a ReadStream '.e., for DoIts)."

         | methNode repeatNeeded myStr...etc...
                mark: 2
                hereChar: $.
                aheadChar: $,
                token: 'e'
                tokenType: #word
                currentComment: nil
                buffer: a WriteStream 'e'
                typeTable: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary
#xBinary #xB...etc...
                here: #.
                hereType: #period
                hereMark: 1
                hereEnd: 1
                prevMark: 1
                prevEnd: nil
                encoder: {an Encoder}
                requestor: nil
                parseNode: nil
                failBlock: [] in Compiler>>parse:in:notifying: {[]}
                requestorOffset: 0
                tempsMark: nil
                doitFlag: false
                category: nil

Parser>>pattern:inContext:
        Receiver: a Parser
        Arguments and temporary variables:
                fromDoit: false
                ctxt: nil
                args: nil
                selector: nil
        Receiver's instance variables:
                source: a ReadStream '.e., for DoIts)."

         | methNode repeatNeeded myStr...etc...
                mark: 2
                hereChar: $.
                aheadChar: $,
                token: 'e'
                tokenType: #word
                currentComment: nil
                buffer: a WriteStream 'e'
                typeTable: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary
#xBinary #xB...etc...
                here: #.
                hereType: #period
                hereMark: 1
                hereEnd: 1
                prevMark: 1
                prevEnd: nil
                encoder: {an Encoder}
                requestor: nil
                parseNode: nil
                failBlock: [] in Compiler>>parse:in:notifying: {[]}
                requestorOffset: 0
                tempsMark: nil
                doitFlag: false
                category: nil


--- The full stack ---
SyntaxErrorNotification class(Object)>>doesNotUnderstand:
#inClass:withCode:doitFlag:
Parser>>notify:at:
Parser>>expected:
Parser>>pattern:inContext:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parser>>method:context:encoder:
[] in Parser>>parse:class:noPattern:context:notifying:ifFail: {[methNode
:= self method: noPattern context: ctxt encoder: (Enco...]}
BlockContext>>on:do:
Parser>>parse:class:noPattern:context:notifying:ifFail:
Compiler>>parse:in:notifying:
[] in Decompiler>>decompileBlock: {[homeClass compilerClass new parse:
source in: homeClass notifying: nil]}
BlockContext>>on:do:
Decompiler>>decompileBlock:
BlockContext>>decompile
BlockContext>>printOn:
[] in BlockContext(Object)>>printStringLimitedTo: {[:s | self printOn:
s]}
String class(SequenceableCollection class)>>streamContents:limitedTo:
BlockContext(Object)>>printStringLimitedTo:
BlockContext(Object)>>printString
BlockContext(Object)>>asString
...etc...
Attached Files

- Relationships
duplicate of 0002271closed cdegroot [BUG] [FIX] Changing system font in 3.9 

- Notes
(0003151 - 284 - 290 - 290 - 290 - 290 - 290)
KenCausey
11-28-05 19:57

I was able to reproduce this by attempting to change the default text font in 3.9a-6704. The tools flap does indeed disappear and a quick glance at the debug log does suggest that the bad code in Parser>>notify:at: is used as the result of another problem trying to adjust this flap.
 
(0003152 - 171 - 201 - 201 - 201 - 201 - 201)
edgardec
11-28-05 20:22
edited on: 11-28-05 20:23

Ken , closed the 2271 as is the same bug and cure.
The problem was exist missing method in 6703 image.
I attach the .cs what fix this as Paul confirmed to list,
Edgar

 
(0003154 - 140 - 140 - 140 - 230 - 230 - 230)
KenCausey
11-29-05 00:32

As Edgar says this is in fact the same issue as 0002271 and there is a fix there. I'll not close this one just yet as it is a clearer report.
 
(0003157 - 113 - 113 - 113 - 203 - 203 - 203)
KenCausey
11-29-05 01:14

I decided to go ahead and close this. It is a duplicate of 0002271 which now includes fixes that cover this issue.
 

- Issue History
Date Modified Username Field Change
11-28-05 19:52 KenCausey New Issue
11-28-05 19:57 KenCausey Note Added: 0003151
11-28-05 19:58 KenCausey Description Updated
11-28-05 20:22 edgardec Note Added: 0003152
11-28-05 20:23 edgardec Note Edited: 0003152
11-28-05 20:33 KenCausey Relationship added duplicate of 0002271
11-29-05 00:32 KenCausey Note Added: 0003154
11-29-05 01:14 KenCausey Status new => closed
11-29-05 01:14 KenCausey Note Added: 0003157
11-29-05 01:14 KenCausey Resolution open => duplicate


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
58 total queries executed.
39 unique queries executed.
Powered by Mantis Bugtracker