From: [email protected]
To: [email protected]
Subject: [BUG]SmallInteger(Object)>>doesNotUnderstand: #'@-'

i am running the one click version of pier.. i am ready to run my
image remotely and start using it as a real website, but i am running
into a problem when trying to fire up a vnc server first..

the server starts up fine, but when i go make a connection to the
server, it bombs out with the above error..

i used this to install the server:

Gofer it
 squeaksource: 'MetacelloRepository';
 package: 'ConfigurationOfRFB';
 load.
((Smalltalk at: #ConfigurationOfRFB) project perform: #latestVersion) load.

which i got from here:

http://book.pharo-project.org/book/TipsAndTricks/RemoteDevelopment/

any ideas?

thanks!

21 November 2010 12:22:39 am

VM: Mac OS - intel - 1065 - Croquet Closure Cog VM [CoInterpreter
VMMaker-oscog.32] Pier 2.0
Image: Pharo1.1.1 [Latest update: #11414]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/sergio/Downloads/Pier.app/Contents/Resources
Trusted Dir /foobar/tooBar/forSqueak/bogus
Untrusted Dir /Users/sergio/Library/Preferences/Squeak/Internet/My Squeak

SmallInteger(Object)>>doesNotUnderstand: #'@-'
        Receiver: -1
        Arguments and temporary variables:
                aMessage:       @- -1
                exception:      MessageNotUnderstood: SmallInteger>>@-
                resumeValue:    nil
        Receiver's instance variables:
-1

RFBSession>>initServer:socket:reverse:
        Receiver: a RFBSession
        Arguments and temporary variables:
                rfbServer:      a RFBServer
                aSocket:        a RFBSocket[connected]
                reverseFlag:    false
        Receiver's instance variables:
                server:         a RFBServer
                socket:         a RFBSocket[connected]
                process:        nil
                state:  #rfbProtocolVersion
                protocolMinor:  nil
                interactive:    true
                reverseConnection:      false
                readyForSetColourMapEntries:    false
                preferredEncoding:      nil
                sendRect:       nil
                countRects:     nil
                correMaxWidth:  48
                correMaxHeight:         48
                authChallenge:  nil
                modifiedRegion:         RFBRegion with 0 items
                requestedRegion:        0...@0 corner: 0...@0
                format:         a RFBPixelFormat(32bpp, depth 32 LE, true 
colour 255,255,255 16+8+0)
                zlibCompressLevel:      5
                zlibStream:     nil
                enableLastRectEncoding:         false
                enableCursorShapeUpdates:       false
                enableCursorPosUpdates:         false
                useRichCursorEncoding:  nil
                modifiers:      0
                updateProcess:  a Process in [] in RFBSession>>updateLoop
                updateSemaphore:        a Semaphore(a Process in [] in 
RFBSession>>updateLoop)
                currentCursor:  ((CursorWithMask
        extent: 1...@16
        depth: 1
        fromArray: #(
                2r0
        ...etc...
                clientCursor:   nil
                mousePosition:  nil
                clientPosition:         nil
                fixColourMapEntries:    nil
                framebufferUpdateRequest:       nil
                framebufferUpdate:      nil
                updateRectHeader:       nil
                keyEvent:       nil
                pointerEvent:   nil
                clientCutText:  nil
                rreHeader:      nil
                zrleHeader:     nil
                xCursorColoursHeader:   nil
                rfbStream:      a RFBStreamSwap24 #[]
                damageFilter:   nil
                incremental:    nil
                allocationCount:        nil
                bytesLeft:      nil
                updateCount:    nil
                lowWaterMark:   nil
                highWaterMark:  nil
                meanSeaLevel:   nil
                updateTime:     nil
                totalTime:      nil

RFBSession class>>withServer:socket:reverse:
        Receiver: RFBSession
        Arguments and temporary variables:
                rfbServer:      a RFBServer
                aSocket:        a RFBSocket[connected]
                reverseFlag:    false
        Receiver's instance variables:
                superclass:     Object
                methodDict:     a MethodDictionary(#abort->(RFBSession>>#abort 
"a
CompiledMethod(91...etc...
                format:         232
                instanceVariables:      #('server' 'socket' 'process' 'state'
'protocolMinor' 'inter...etc...
                organization:   ('private' abort beginUpdate desktopName 
endUpdate
fragmentRegion...etc...
                subclasses:     nil
                name:   #RFBSession
                classPool:      a Dictionary(#Encodings->a 
Dictionary(0->#rfbEncodingRaw
1->#rfbEnco...etc...
                sharedPools:    an OrderedCollection(EventSensorConstants)
                environment:    a SystemDictionary(lots of globals)
                category:       #'RFB-Server'
                traitComposition:       {}
                localSelectors:         nil

RFBServer>>runSession:
        Receiver: a RFBServer
        Arguments and temporary variables:
                clientSocket:   a RFBSocket[connected]
                peer:   'activate'
        Receiver's instance variables:
                socket:         a RFBSocket[waitingForConnection]
                sessions:       an IdentitySet()
                sessionsSema:   a Semaphore()
                process:        a Process in Debugger 
class>>openOn:context:label:contents:fullView:
                port:   5900
                localHostName:  'sergios-macbook-pro-2.local'
                loopbackAddress:        #[127 0 0 1]
                isRunning:      true
                fixedKey:       #[23 82 107 6 35 78 88 7]
                vncPasswords:   #(#[120 255 215 172 230 21 119 176] #[120 255 
215 172
230 21 119 ...etc...
                allowEmptyPasswords:    true
                allowInputEvents:       true
                allowLocalConnections:  true
                allowRemoteConnections:         true
                connectionPriority:     #shared
                allowZRLE:      true
                conserveMemory:         false
                enableDamageFilter:     true
                enableRawFilter:        true
                enableDebugging:        false
                enableLogging:  false
                enableMemoryLog:        false

[] in RFBServer>>runLoop
        Receiver: a RFBServer
        Arguments and temporary variables:
                connection:     an Array(a RFBSocket[connected])
        Receiver's instance variables:
                socket:         a RFBSocket[waitingForConnection]
                sessions:       an IdentitySet()
                sessionsSema:   a Semaphore()
                process:        a Process in Debugger 
class>>openOn:context:label:contents:fullView:
                port:   5900
                localHostName:  'sergios-macbook-pro-2.local'
                loopbackAddress:        #[127 0 0 1]
                isRunning:      true
                fixedKey:       #[23 82 107 6 35 78 88 7]
                vncPasswords:   #(#[120 255 215 172 230 21 119 176] #[120 255 
215 172
230 21 119 ...etc...
                allowEmptyPasswords:    true
                allowInputEvents:       true
                allowLocalConnections:  true
                allowRemoteConnections:         true
                connectionPriority:     #shared
                allowZRLE:      true
                conserveMemory:         false
                enableDamageFilter:     true
                enableRawFilter:        true
                enableDebugging:        false
                enableLogging:  false
                enableMemoryLog:        false

BlockClosure>>ifCurtailed:
        Receiver: [[socket isValid]
                whileTrue: [connection := socket waitForAcceptFor: 10.
                        connection
        ...etc...
        Arguments and temporary variables:
                aBlock:         [socket destroy]
                complete:       nil
                result:         nil
        Receiver's instance variables:
                outerContext:   RFBServer>>runLoop
                startpc:        57
                numArgs:        0

RFBServer>>runLoop
        Receiver: a RFBServer
        Arguments and temporary variables:
                connection:     an Array(a RFBSocket[connected])
        Receiver's instance variables:
                socket:         a RFBSocket[waitingForConnection]
                sessions:       an IdentitySet()
                sessionsSema:   a Semaphore()
                process:        a Process in Debugger 
class>>openOn:context:label:contents:fullView:
                port:   5900
                localHostName:  'sergios-macbook-pro-2.local'
                loopbackAddress:        #[127 0 0 1]
                isRunning:      true
                fixedKey:       #[23 82 107 6 35 78 88 7]
                vncPasswords:   #(#[120 255 215 172 230 21 119 176] #[120 255 
215 172
230 21 119 ...etc...
                allowEmptyPasswords:    true
                allowInputEvents:       true
                allowLocalConnections:  true
                allowRemoteConnections:         true
                connectionPriority:     #shared
                allowZRLE:      true
                conserveMemory:         false
                enableDamageFilter:     true
                enableRawFilter:        true
                enableDebugging:        false
                enableLogging:  false
                enableMemoryLog:        false

[] in RFBServer>>start:
        Receiver: a RFBServer
        Arguments and temporary variables:

        Receiver's instance variables:
                socket:         a RFBSocket[waitingForConnection]
                sessions:       an IdentitySet()
                sessionsSema:   a Semaphore()
                process:        a Process in Debugger 
class>>openOn:context:label:contents:fullView:
                port:   5900
                localHostName:  'sergios-macbook-pro-2.local'
                loopbackAddress:        #[127 0 0 1]
                isRunning:      true
                fixedKey:       #[23 82 107 6 35 78 88 7]
                vncPasswords:   #(#[120 255 215 172 230 21 119 176] #[120 255 
215 172
230 21 119 ...etc...
                allowEmptyPasswords:    true
                allowInputEvents:       true
                allowLocalConnections:  true
                allowRemoteConnections:         true
                connectionPriority:     #shared
                allowZRLE:      true
                conserveMemory:         false
                enableDamageFilter:     true
                enableRawFilter:        true
                enableDebugging:        false
                enableLogging:  false
                enableMemoryLog:        false

[] in BlockClosure>>newProcess
        Receiver: [self runLoop]
        Arguments and temporary variables:

        Receiver's instance variables:
                outerContext:   RFBServer>>start:
                startpc:        141
                numArgs:        0


--- The full stack ---
SmallInteger(Object)>>doesNotUnderstand: #'@-'
RFBSession>>initServer:socket:reverse:
RFBSession class>>withServer:socket:reverse:
RFBServer>>runSession:
[] in RFBServer>>runLoop
BlockClosure>>ifCurtailed:
RFBServer>>runLoop
[] in RFBServer>>start:
[] in BlockClosure>>newProcess


Reply via email to