Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
September 2011
- 91 participants
- 1128 messages
Re: [Pharo-project] 1.3 OneCick with Cog VM
by Stéphane Ducasse
On Sep 9, 2011, at 11:15 PM, John Toohey wrote:
> The joys of ST :-( Pharo really needs some kind of safe mode, that you
> can boot into, to fix these kinds of problems. Thanks again for you
> help.
We are working on that.
Did you see the fix in startup and all the work to make sure that you can work on headless mode
ie not crashing your image because a pop up arise on a headless server...
Stef
>
> On Fri, Sep 9, 2011 at 16:59, Igor Stasenko <siguctua(a)gmail.com> wrote:
>> On 9 September 2011 22:19, John Toohey <jt(a)parspro.com> wrote:
>>> This code is used to keep a socket connection open to an ActiveMQ JMS
>>> server. I use the Stomp protocol to send messages from ST to various
>>> servers in my cluster via JMS. The self error: e code was just meant
>>> to fire up the debugger, so I could trace any errors. I'll remove that
>>> now.
>>>
>>> So do I have to rebuild a new image from scratch now? Is there any
>>> command line switch that I can use to by pass the loading of my app on
>>> start up?
>>>
>> none.
>> rebuild an image.
>>
>>> On Fri, Sep 9, 2011 at 15:10, Igor Stasenko <siguctua(a)gmail.com> wrote:
>>>> On 9 September 2011 21:58, John Toohey <jt(a)parspro.com> wrote:
>>>>> This is my code :-
>>>>> startAnnouncing
>>>>> process notNil ifTrue: [ ^ self ].
>>>>> process := [
>>>>> [ [ [ self announceNextCommand ]
>>>>> on: ConnectionTimedOut
>>>>> do: [ :e | ] ] repeat ]
>>>>> on: Error
>>>>> do: [ :e | self logger error: 'Error in startAnnouncing e --> ', e
>>>>> greaseString.
>>>>> self error: e.
>>>>> e return
>>>>
>>>> this code looking suspicious. but i not sure what it does,
>>>> do you override #error: method in your class? what it does?
>>>> if it not overridden, then by sending self error: you causing another
>>>> error to be signaled,
>>>> which is not handled by any handler block
>>>> so, it will signal an unhandled error exception and finally bail out
>>>> to OS during startup.
>>>> To simplify things, what happens is following:
>>>>
>>>> [ self error: 'hahaha' ] fork.
>>>> instead it should be like:
>>>>
>>>> [ [ self error: 'hahaha' ] on: Error do: [:ex | .. handle error here,
>>>> and don't let it being unhandled ] ] fork.
>>>>
>>>>> ].
>>>>> ] forkAt: Processor highIOPriority named: 'Juliet Stomp Announcer'
>>>>>
>>>>> How can I make this safer, or make it in such a way that the image
>>>>> doesn't crash?
>>>>>
>>>>> Also is the image destroyed now? Is there a way to start it and bypass
>>>>> this code? Thanks for looking into this.
>>>>>
>>>>> On Fri, Sep 9, 2011 at 14:55, Igor Stasenko <siguctua(a)gmail.com> wrote:
>>>>>> On 9 September 2011 20:43, John Toohey <jt(a)parspro.com> wrote:
>>>>>>> This happened after a VM crash, when I try to restart I get this in
>>>>>>> the log. Isn't the error caused by the isEmptyOrNil primitive? Is
>>>>>>> there anyway for me to access the image now?
>>>>>>>
>>>>>>
>>>>>> an error caused by a primitive failure with invalid socket:
>>>>>>
>>>>>> SocketStream>>receiveData
>>>>>>>> Receiver: SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>>> Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Receiver's instance variables:
>>>>>>>> recentlyRead: 716
>>>>>>>> socket: a Socket[invalidSocketHandle]
>>>>>>>> inBuffer: 'CONNECTED
>>>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750...etc...
>>>>>>>> outBuffer: 'SUBSCRIBE
>>>>>>>> destination: /topic/parspro-core.juliet-core-events
>>>>>>
>>>>>>
>>>>>> looks like your image was saved with socket being open and upon
>>>>>> restart it tries to read data from it.
>>>>>> This , of course , causing failure and leads to error signaled.
>>>>>>
>>>>>> If you want to track down the error, there is an option in system settings:
>>>>>> 'Make a snapshot of new version before quit
>>>>>> On unhandled exception, save a new version of image before quit'
>>>>>> in 'Headless mode' group.
>>>>>>
>>>>>>> On Fri, Sep 9, 2011 at 14:38, Igor Stasenko <siguctua(a)gmail.com> wrote:
>>>>>>>> On 9 September 2011 20:31, John Toohey <jt(a)parspro.com> wrote:
>>>>>>>>> I am experiencing a lot of random crashes with this VM on OSX 10.6. It
>>>>>>>>> just crashed again, and this time I cannot get it to restart. It seems
>>>>>>>>> to be crashing in a socket receive class. The stack trace is here :-
>>>>>>>>>
>>>>>>>>
>>>>>>>> This is not a crash, it just quits to OS due to error at startup.
>>>>>>>> To avoid imminent leave to OS, put an error handler around your startup code
>>>>>>>> (i guess it is in CoreMQStompConnection somewhere?).
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> THERE_BE_DRAGONS_HERE
>>>>>>>>> MessageNotUnderstood: PrimitiveFailed>>isEmptyOrNil
>>>>>>>>> 9 September 2011 2:28:41 pm
>>>>>>>>>
>>>>>>>>> VM: Mac OS - intel - 1067 - Croquet Closure Cog VM [CoInterpreter
>>>>>>>>> VMMaker-oscog-IgorStasenko.123] 21.0
>>>>>>>>> Image: Pharo1.3 [Latest update: #13298]
>>>>>>>>>
>>>>>>>>> PrimitiveFailed(Object)>>doesNotUnderstand: #isEmptyOrNil
>>>>>>>>> Receiver: PrimitiveFailed: primitive #primSocketReceiveDataAvailable:
>>>>>>>>> in a Socket[invalidSocketHandl...etc...
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: isEmptyOrNil
>>>>>>>>> t2: MessageNotUnderstood: PrimitiveFailed>>isEmptyOrNil
>>>>>>>>> t3: nil
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: 'primitive #primSocketReceiveDataAvailable: in a
>>>>>>>>> Socket[invalidSoc...etc...
>>>>>>>>> tag: nil
>>>>>>>>> signaler: a Socket[invalidSocketHandle]
>>>>>>>>> signalContext: PrimitiveFailed(Exception)>>signal
>>>>>>>>> handlerContext: BlockClosure>>on:do:
>>>>>>>>> outerContext: nil
>>>>>>>>> selector: #primSocketReceiveDataAvailable:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [:t1 |
>>>>>>>>> | t2 |
>>>>>>>>> t1 << self class name.
>>>>>>>>> (t2 := self messageText) isEmptyOrNil
>>>>>>>>> ifFalse: [t1 << ': ' << t2]] in Error(Exception)>>description
>>>>>>>>> Receiver: <<error during printing>>
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: a WriteStream 'Error'
>>>>>>>>> t2: PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>>> a Socket[inv...etc...
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: PrimitiveFailed: primitive
>>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>>> tag: nil
>>>>>>>>> signaler: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>>> session: ID:John-T...etc...
>>>>>>>>> signalContext: Error(Exception)>>signal
>>>>>>>>> handlerContext: nil
>>>>>>>>> outerContext: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> String class(SequenceableCollection class)>>new:streamContents:
>>>>>>>>> Receiver: String
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: 100
>>>>>>>>> t2: [:t1 |
>>>>>>>>> | t2 |
>>>>>>>>> t1 << self class name.
>>>>>>>>> (t2 := self messageText) isEmptyOrNi...etc...
>>>>>>>>> t3: a WriteStream 'Error'
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> superclass: ArrayedCollection
>>>>>>>>> methodDict: a MethodDictionary(size 303)
>>>>>>>>> format: 2
>>>>>>>>> instanceVariables: nil
>>>>>>>>> organization: ('*Compiler-Kernel' inviolateInstanceVariableNames
>>>>>>>>> isLegalInstVar...etc...
>>>>>>>>> subclasses: {ByteString. WideString. Symbol}
>>>>>>>>> name: #String
>>>>>>>>> classPool: a Dictionary(#AsciiOrder->#[0 1 2 3 4 5 6 7 8 9 10 11 12
>>>>>>>>> 13 14 15 16...etc...
>>>>>>>>> sharedPools: nil
>>>>>>>>> environment: a SystemDictionary(lots of globals)
>>>>>>>>> category: #'Collections-Strings'
>>>>>>>>> traitComposition: {}
>>>>>>>>> localSelectors: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> String class(SequenceableCollection class)>>streamContents:
>>>>>>>>> Receiver: String
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: [:t1 |
>>>>>>>>> | t2 |
>>>>>>>>> t1 << self class name.
>>>>>>>>> (t2 := self messageText) isEmptyOrNi...etc...
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> superclass: ArrayedCollection
>>>>>>>>> methodDict: a MethodDictionary(size 303)
>>>>>>>>> format: 2
>>>>>>>>> instanceVariables: nil
>>>>>>>>> organization: ('*Compiler-Kernel' inviolateInstanceVariableNames
>>>>>>>>> isLegalInstVar...etc...
>>>>>>>>> subclasses: {ByteString. WideString. Symbol}
>>>>>>>>> name: #String
>>>>>>>>> classPool: a Dictionary(#AsciiOrder->#[0 1 2 3 4 5 6 7 8 9 10 11 12
>>>>>>>>> 13 14 15 16...etc...
>>>>>>>>> sharedPools: nil
>>>>>>>>> environment: a SystemDictionary(lots of globals)
>>>>>>>>> category: #'Collections-Strings'
>>>>>>>>> traitComposition: {}
>>>>>>>>> localSelectors: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Error(Exception)>>description
>>>>>>>>> Receiver: <<error during printing>>
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: PrimitiveFailed: primitive
>>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>>> tag: nil
>>>>>>>>> signaler: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>>> session: ID:John-T...etc...
>>>>>>>>> signalContext: Error(Exception)>>signal
>>>>>>>>> handlerContext: nil
>>>>>>>>> outerContext: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> StartupUIManager(NonInteractiveUIManager)>>unhandledErrorDefaultAction:
>>>>>>>>> Receiver: a StartupUIManager
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> <<error during printing>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> uiManager: a MorphicUIManager
>>>>>>>>> doNotQuitOnRestart: false
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> UnhandledError>>defaultAction
>>>>>>>>> Receiver: UnhandledError
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: nil
>>>>>>>>> tag: nil
>>>>>>>>> signaler: <<error during printing>>
>>>>>>>>>
>>>>>>>>> UndefinedObject>>handleSignal:
>>>>>>>>> Receiver: nil
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: UnhandledError
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> nil
>>>>>>>>>
>>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>>> Receiver: BlockClosure>>on:do:
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: UnhandledError
>>>>>>>>> t2: nil
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> sender: [[[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | nil...etc...
>>>>>>>>> pc: 17
>>>>>>>>> stackp: 3
>>>>>>>>> method: (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>>> closureOrNil: nil
>>>>>>>>> receiver: [[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | ni...etc...
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>>> Receiver: BlockClosure>>on:do:
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: UnhandledError
>>>>>>>>> t2: nil
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> sender: [[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | nil]...etc...
>>>>>>>>> pc: 17
>>>>>>>>> stackp: 3
>>>>>>>>> method: (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>>> closureOrNil: nil
>>>>>>>>> receiver: [self announceNextCommand]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> UnhandledError(Exception)>>signal
>>>>>>>>> Receiver: UnhandledError
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: nil
>>>>>>>>> tag: nil
>>>>>>>>> signaler: <<error during printing>>
>>>>>>>>>
>>>>>>>>> UnhandledError class>>signalForException:
>>>>>>>>> Receiver: UnhandledError
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> <<error during printing>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> superclass: Exception
>>>>>>>>> methodDict: a
>>>>>>>>> MethodDictionary(#defaultAction->(UnhandledError>>#defaultAction
>>>>>>>>> ...etc...
>>>>>>>>> format: 144
>>>>>>>>> instanceVariables: #('exception')
>>>>>>>>> organization: ('*UIManager' defaultAction)
>>>>>>>>> ('as yet unclassified' exception exc...etc...
>>>>>>>>> subclasses: nil
>>>>>>>>> name: #UnhandledError
>>>>>>>>> classPool: nil
>>>>>>>>> sharedPools: nil
>>>>>>>>> environment: a SystemDictionary(lots of globals)
>>>>>>>>> category: #'Kernel-Exceptions'
>>>>>>>>> traitComposition: nil
>>>>>>>>> localSelectors: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Error>>defaultAction
>>>>>>>>> Receiver: <<error during printing>>
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: PrimitiveFailed: primitive
>>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>>> tag: nil
>>>>>>>>> signaler: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>>> session: ID:John-T...etc...
>>>>>>>>> signalContext: Error(Exception)>>signal
>>>>>>>>> handlerContext: nil
>>>>>>>>> outerContext: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> UndefinedObject>>handleSignal:
>>>>>>>>> Receiver: nil
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> <<error during printing>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> nil
>>>>>>>>>
>>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>>> Receiver: BlockClosure>>on:do:
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> <<error during printing>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> sender: [[[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | nil...etc...
>>>>>>>>> pc: 17
>>>>>>>>> stackp: 3
>>>>>>>>> method: (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>>> closureOrNil: nil
>>>>>>>>> receiver: [[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | ni...etc...
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>>> Receiver: BlockClosure>>on:do:
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> <<error during printing>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> sender: [[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | nil]...etc...
>>>>>>>>> pc: 17
>>>>>>>>> stackp: 3
>>>>>>>>> method: (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>>> closureOrNil: nil
>>>>>>>>> receiver: [self announceNextCommand]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Error(Exception)>>signal
>>>>>>>>> Receiver: <<error during printing>>
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: PrimitiveFailed: primitive
>>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>>> tag: nil
>>>>>>>>> signaler: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>>> session: ID:John-T...etc...
>>>>>>>>> signalContext: Error(Exception)>>signal
>>>>>>>>> handlerContext: nil
>>>>>>>>> outerContext: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Error(Exception)>>signal:
>>>>>>>>> Receiver: <<error during printing>>
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>>> a Socket[inv...etc...
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: PrimitiveFailed: primitive
>>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>>> tag: nil
>>>>>>>>> signaler: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>>> session: ID:John-T...etc...
>>>>>>>>> signalContext: Error(Exception)>>signal
>>>>>>>>> handlerContext: nil
>>>>>>>>> outerContext: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> CoreMQStompConnection(Object)>>error:
>>>>>>>>> Receiver: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>>> session: ID:John-Tooheys-MacBook-Pro.lo...etc...
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>>> a Socket[inv...etc...
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> stream: SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>>>> connectResponse: CONNECTED
>>>>>>>>> session: ID:John-Tooheys-MacBook-Pro.local-56368-131...etc...
>>>>>>>>> subscriptions: an OrderedCollection('/topic/parspro-core.juliet-core-events')
>>>>>>>>> commandDestination: '/topic/parspro-core.juliet-core-events'
>>>>>>>>> process: a Process in nil
>>>>>>>>> logger: a JulietLogger
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [:t1 |
>>>>>>>>> self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>>>> self error: t1.
>>>>>>>>> t1 return] in [[[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | nil]] repeat.
>>>>>>>>> nil]
>>>>>>>>> on: Error
>>>>>>>>> do: [:t1 |
>>>>>>>>> self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>>>> self error: t1.
>>>>>>>>> t1 return]] in CoreMQStompConnection>>startAnnouncing
>>>>>>>>> Receiver: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>>> session: ID:John-Tooheys-MacBook-Pro.lo...etc...
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>>> a Socket[inv...etc...
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> stream: SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>>>> connectResponse: CONNECTED
>>>>>>>>> session: ID:John-Tooheys-MacBook-Pro.local-56368-131...etc...
>>>>>>>>> subscriptions: an OrderedCollection('/topic/parspro-core.juliet-core-events')
>>>>>>>>> commandDestination: '/topic/parspro-core.juliet-core-events'
>>>>>>>>> process: a Process in nil
>>>>>>>>> logger: a JulietLogger
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> BlockClosure>>cull:
>>>>>>>>> Receiver: [:t1 |
>>>>>>>>> self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>>>> self erro...etc...
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>>> a Socket[inv...etc...
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> outerContext: [[[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1...etc...
>>>>>>>>> startpc: 118
>>>>>>>>> numArgs: 1
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [(self tempAt: 2)
>>>>>>>>> cull: t1] in MethodContext(ContextPart)>>handleSignal:
>>>>>>>>> Receiver: BlockClosure>>on:do:
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>>> a Socket[inv...etc...
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> sender: [[[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | nil...etc...
>>>>>>>>> pc: 17
>>>>>>>>> stackp: 3
>>>>>>>>> method: (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>>> closureOrNil: nil
>>>>>>>>> receiver: [[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | ni...etc...
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> BlockClosure>>ensure:
>>>>>>>>> Receiver: [(self tempAt: 2)
>>>>>>>>> cull: t1]
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> aBlock: [self tempAt: 3 put: true]
>>>>>>>>> complete: nil
>>>>>>>>> returnValue: nil
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> outerContext: MethodContext(ContextPart)>>handleSignal:
>>>>>>>>> startpc: 98
>>>>>>>>> numArgs: 0
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>>> Receiver: BlockClosure>>on:do:
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>>> a Socket[inv...etc...
>>>>>>>>> t2: nil
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> sender: [[[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | nil...etc...
>>>>>>>>> pc: 17
>>>>>>>>> stackp: 3
>>>>>>>>> method: (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>>> closureOrNil: nil
>>>>>>>>> receiver: [[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | ni...etc...
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>>> Receiver: BlockClosure>>on:do:
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>>> a Socket[inv...etc...
>>>>>>>>> t2: nil
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> sender: [[[self announceNextCommand]
>>>>>>>>> on: ConnectionTimedOut
>>>>>>>>> do: [:t1 | nil]...etc...
>>>>>>>>> pc: 17
>>>>>>>>> stackp: 3
>>>>>>>>> method: (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>>> closureOrNil: nil
>>>>>>>>> receiver: [self announceNextCommand]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> PrimitiveFailed(Exception)>>signal
>>>>>>>>> Receiver: PrimitiveFailed: primitive #primSocketReceiveDataAvailable:
>>>>>>>>> in a Socket[invalidSocketHandl...etc...
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> messageText: 'primitive #primSocketReceiveDataAvailable: in a
>>>>>>>>> Socket[invalidSoc...etc...
>>>>>>>>> tag: nil
>>>>>>>>> signaler: a Socket[invalidSocketHandle]
>>>>>>>>> signalContext: PrimitiveFailed(Exception)>>signal
>>>>>>>>> handlerContext: BlockClosure>>on:do:
>>>>>>>>> outerContext: nil
>>>>>>>>> selector: #primSocketReceiveDataAvailable:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> PrimitiveFailed class(SelectorException class)>>signalFor:
>>>>>>>>> Receiver: PrimitiveFailed
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: #primSocketReceiveDataAvailable:
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> superclass: SelectorException
>>>>>>>>> methodDict: a
>>>>>>>>> MethodDictionary(#standardMessageText->(PrimitiveFailed>>#standar...etc...
>>>>>>>>> format: 144
>>>>>>>>> instanceVariables: nil
>>>>>>>>> organization: ('printing' standardMessageText)
>>>>>>>>>
>>>>>>>>> subclasses: nil
>>>>>>>>> name: #PrimitiveFailed
>>>>>>>>> classPool: nil
>>>>>>>>> sharedPools: nil
>>>>>>>>> environment: a SystemDictionary(lots of globals)
>>>>>>>>> category: #'Kernel-Exceptions'
>>>>>>>>> traitComposition: {}
>>>>>>>>> localSelectors: nil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Socket(Object)>>primitiveFailed:
>>>>>>>>> Receiver: a Socket[invalidSocketHandle]
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: #primSocketReceiveDataAvailable:
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> semaphore: a Semaphore()
>>>>>>>>> socketHandle: #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>>> readSemaphore: a Semaphore()
>>>>>>>>> writeSemaphore: a Semaphore()
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Socket(Object)>>primitiveFailed
>>>>>>>>> Receiver: a Socket[invalidSocketHandle]
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> semaphore: a Semaphore()
>>>>>>>>> socketHandle: #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>>> readSemaphore: a Semaphore()
>>>>>>>>> writeSemaphore: a Semaphore()
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Socket>>primSocketReceiveDataAvailable:
>>>>>>>>> Receiver: a Socket[invalidSocketHandle]
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> semaphore: a Semaphore()
>>>>>>>>> socketHandle: #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>>> readSemaphore: a Semaphore()
>>>>>>>>> writeSemaphore: a Semaphore()
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Socket>>waitForDataFor:ifClosed:ifTimedOut:
>>>>>>>>> Receiver: a Socket[invalidSocketHandle]
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: 45
>>>>>>>>> t2: [ConnectionClosed signal: 'Connection closed while waiting for data.']
>>>>>>>>> t3: [ConnectionTimedOut signal: 'Data receive timed out.']
>>>>>>>>> t4: 2210099
>>>>>>>>> t5: 45000
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> semaphore: a Semaphore()
>>>>>>>>> socketHandle: #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>>> readSemaphore: a Semaphore()
>>>>>>>>> writeSemaphore: a Semaphore()
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Socket>>waitForDataFor:
>>>>>>>>> Receiver: a Socket[invalidSocketHandle]
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: 45
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> semaphore: a Semaphore()
>>>>>>>>> socketHandle: #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>>> readSemaphore: a Semaphore()
>>>>>>>>> writeSemaphore: a Semaphore()
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Socket>>receiveDataSignallingTimeout:into:startingAt:
>>>>>>>>> Receiver: a Socket[invalidSocketHandle]
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>> t1: 45
>>>>>>>>> t2: 'CONNECTED
>>>>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750288-4:...etc...
>>>>>>>>> t3: 796
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> semaphore: a Semaphore()
>>>>>>>>> socketHandle: #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>>> readSemaphore: a Semaphore()
>>>>>>>>> writeSemaphore: a Semaphore()
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> SocketStream>>receiveData
>>>>>>>>> Receiver: SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>>>> Arguments and temporary variables:
>>>>>>>>>
>>>>>>>>> Receiver's instance variables:
>>>>>>>>> recentlyRead: 716
>>>>>>>>> socket: a Socket[invalidSocketHandle]
>>>>>>>>> inBuffer: 'CONNECTED
>>>>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750...etc...
>>>>>>>>> outBuffer: 'SUBSCRIBE
>>>>>>>>> destination: /topic/parspro-core.juliet-core-events
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Sep 8, 2011 at 10:05, Marcus Denker <marcus.denker(a)inria.fr> wrote:
>>>>>>>>>>
>>>>>>>>>> On Sep 8, 2011, at 3:59 PM, John Toohey wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>> Is there a 1.3 OneClick build available with the Cog VM, or should I
>>>>>>>>>>> just down load the linux and OSX Cog builds from the Jenkins server?
>>>>>>>>>>
>>>>>>>>>> The script on the hudson is old... we need to update it. And move everything
>>>>>>>>>> from hudson to jenkins. And, and...
>>>>>>>>>>
>>>>>>>>>> So for now:
>>>>>>>>>>
>>>>>>>>>> https://gforge.inria.fr/frs/download.php/28922/Pharo-1.3-OneClick.zip
>>>>>>>>>>
>>>>>>>>>> hand-build one-click with Cog as build from https://ci.lille.inria.fr/pharo/view/Cog/
>>>>>>>>>>
>>>>>>>>>>> often run into problems with having different VMs/Plugin on different
>>>>>>>>>>> servers, and like the idea of having both Liux and OSX supported in
>>>>>>>>>>> one package, where I can just update the image.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Marcus Denker -- http://marcusdenker.de
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> ~JT
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Best regards,
>>>>>>>> Igor Stasenko AKA sig.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> ~JT
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best regards,
>>>>>> Igor Stasenko AKA sig.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> ~JT
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards,
>>>> Igor Stasenko.
>>>>
>>>
>>>
>>>
>>> --
>>> ~JT
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko.
>>
>
>
>
> --
> ~JT
Sept. 10, 2011
Re: [Pharo-project] shift of -1@0 when clicking a morph
by Stéphane Ducasse
On Sep 10, 2011, at 2:06 AM, Alexandre Bergel wrote:
> Hi!
>
> In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.
Strange indeed.
>
> In Pharo 1.4 14112, this strange behavior has disappeared.
>
> I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).
>
> Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.
No I do not think this is related
Stef
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
Sept. 10, 2011
Re: [Pharo-project] 1.3 OneCick with Cog VM
by Igor Stasenko
On 10 September 2011 03:55, Sean P. DeNigris <sean(a)clipperadams.com> wrote:
>
> Igor Stasenko wrote:
>>
>> has any of you heard a word 'backup'? :)
>>
>
> Now Igor, where's your sense of adventure?
>
hehe.. well. lost code & time is definitely not exciting adventure :)
> --
> View this message in context: http://forum.world.st/1-3-OneCick-with-Cog-VM-tp3798884p3803110.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
>
--
Best regards,
Igor Stasenko.
Sept. 10, 2011
Re: [Pharo-project] 1.3 OneCick with Cog VM
by Sean P. DeNigris
Igor Stasenko wrote:
>
> has any of you heard a word 'backup'? :)
>
Now Igor, where's your sense of adventure?
--
View this message in context: http://forum.world.st/1-3-OneCick-with-Cog-VM-tp3798884p3803110.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Sept. 10, 2011
[Pharo-project] shift of -1@0 when clicking a morph
by Alexandre Bergel
Hi!
In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.
In Pharo 1.4 14112, this strange behavior has disappeared.
I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).
Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Sept. 10, 2011
Re: [Pharo-project] 1.3 OneCick with Cog VM
by Igor Stasenko
On 10 September 2011 01:41, Sean P. DeNigris <sean(a)clipperadams.com> wrote:
>
> John Toohey wrote:
>>
>> So do I have to rebuild a new image from scratch now? Is there any
>> command line switch that I can use to by pass the loading of my app on
>> start up?
>>
>
> I don't know if it'd be worth it, but if you're talking about a lot of work
> lost, it sounds like you could build a debug VM and bypass the loading code
> from the debugger (like I just had to do).
>
has any of you heard a word 'backup'? :)
> Sean
>
> --
> View this message in context: http://forum.world.st/1-3-OneCick-with-Cog-VM-tp3798884p3802970.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
>
--
Best regards,
Igor Stasenko.
Sept. 10, 2011
Re: [Pharo-project] 1.3 OneCick with Cog VM
by Sean P. DeNigris
John Toohey wrote:
>
> So do I have to rebuild a new image from scratch now? Is there any
> command line switch that I can use to by pass the loading of my app on
> start up?
>
I don't know if it'd be worth it, but if you're talking about a lot of work
lost, it sounds like you could build a debug VM and bypass the loading code
from the debugger (like I just had to do).
Sean
--
View this message in context: http://forum.world.st/1-3-OneCick-with-Cog-VM-tp3798884p3802970.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Sept. 9, 2011
Re: [Pharo-project] Oops - I put a halt in a startup method
by Sean P. DeNigris
Huge thanks to Igor and Mariano. I recovered the image. Just in case anyone
ever has a similar problem, the solution was:
1. Test for selector in CoInterpreter>>commonSend
...
(messageSelector = #halt) ifFalse: [ "the conditional was added"
self internalFindNewMethod.
self internalExecuteNewMethod ].
self fetchNextBytecode.
2. Manually edit the condition in gcc3x-cointerp.c:
char* realSelector = GIV(messageSelector) + BaseHeaderSize;
if (strncmp(realSelector, "halt", 4) == 0)
puts("Skipping halt...");
else { ...
Although I lost the better part of a day, it's a very powerful feeling to
start building basic VM skills and know that errors that used to be magical
and fatal can now be resolved...
Cheers,
Sean
--
View this message in context: http://forum.world.st/Oops-I-put-a-halt-in-a-startup-method-tp3800163p38029…
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Sept. 9, 2011
Re: [Pharo-project] 1.3 OneCick with Cog VM
by John Toohey
The joys of ST :-( Pharo really needs some kind of safe mode, that you
can boot into, to fix these kinds of problems. Thanks again for you
help.
On Fri, Sep 9, 2011 at 16:59, Igor Stasenko <siguctua(a)gmail.com> wrote:
> On 9 September 2011 22:19, John Toohey <jt(a)parspro.com> wrote:
>> This code is used to keep a socket connection open to an ActiveMQ JMS
>> server. I use the Stomp protocol to send messages from ST to various
>> servers in my cluster via JMS. The self error: e code was just meant
>> to fire up the debugger, so I could trace any errors. I'll remove that
>> now.
>>
>> So do I have to rebuild a new image from scratch now? Is there any
>> command line switch that I can use to by pass the loading of my app on
>> start up?
>>
> none.
> rebuild an image.
>
>> On Fri, Sep 9, 2011 at 15:10, Igor Stasenko <siguctua(a)gmail.com> wrote:
>>> On 9 September 2011 21:58, John Toohey <jt(a)parspro.com> wrote:
>>>> This is my code :-
>>>> startAnnouncing
>>>> Â Â Â Â process notNil ifTrue: [ ^ self ].
>>>> Â Â Â Â process := [
>>>> Â Â Â Â Â Â Â Â [ [ [ self announceNextCommand ]
>>>> Â Â Â Â Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>> Â Â Â Â Â Â Â Â Â Â Â Â do: [ :e | ] ] repeat ]
>>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â on: Error
>>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â do: [ :e | self logger error: 'Error in startAnnouncing e --> ', e
>>>> greaseString.
>>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â self error: e.
>>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â e return
>>>
>>> this code looking suspicious. but i not sure what it does,
>>> do you override #error: method in your class? what it does?
>>> if it not overridden, then by sending self error: you causing another
>>> error to be signaled,
>>> which is not handled by any handler block
>>> so, it will signal an unhandled error exception and finally bail out
>>> to OS during startup.
>>> To simplify things, what happens is following:
>>>
>>> [ self error: 'hahaha' ] fork.
>>> instead it should be like:
>>>
>>> [ [ self error: 'hahaha' ] on: Error do: [:ex | .. handle error here,
>>> and don't let it being unhandled ] ] fork.
>>>
>>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ].
>>>> Â Â Â Â Â Â Â Â ] forkAt: Processor highIOPriority named: 'Juliet Stomp Announcer'
>>>>
>>>> How can I make this safer, or make it in such a way that the image
>>>> doesn't crash?
>>>>
>>>> Also is the image destroyed now? Is there a way to start it and bypass
>>>> this code? Thanks for looking into this.
>>>>
>>>> On Fri, Sep 9, 2011 at 14:55, Igor Stasenko <siguctua(a)gmail.com> wrote:
>>>>> On 9 September 2011 20:43, John Toohey <jt(a)parspro.com> wrote:
>>>>>> This happened after a VM crash, when I try to restart I get this in
>>>>>> the log. Isn't the error caused by the isEmptyOrNil primitive? Is
>>>>>> there anyway for me to access the image now?
>>>>>>
>>>>>
>>>>> an error caused by a primitive failure with invalid socket:
>>>>>
>>>>> SocketStream>>receiveData
>>>>>>> Â Â Â Â Receiver: SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â recentlyRead: Â 716
>>>>>>> Â Â Â Â Â Â Â Â socket: Â Â Â Â a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Â Â Â Â inBuffer: Â Â Â 'CONNECTED
>>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750...etc...
>>>>>>> Â Â Â Â Â Â Â Â outBuffer: Â Â Â 'SUBSCRIBE
>>>>>>> destination: /topic/parspro-core.juliet-core-events
>>>>>
>>>>>
>>>>> looks like your image was saved with socket being open and upon
>>>>> restart it tries to read data from it.
>>>>> This , of course , causing failure and leads to error signaled.
>>>>>
>>>>> If you want to track down the error, there is an option in system settings:
>>>>> 'Make a snapshot of new version before quit
>>>>> On unhandled exception, save a new version of image before quit'
>>>>> in 'Headless mode' group.
>>>>>
>>>>>> On Fri, Sep 9, 2011 at 14:38, Igor Stasenko <siguctua(a)gmail.com> wrote:
>>>>>>> On 9 September 2011 20:31, John Toohey <jt(a)parspro.com> wrote:
>>>>>>>> I am experiencing a lot of random crashes with this VM on OSX 10.6. It
>>>>>>>> just crashed again, and this time I cannot get it to restart. It seems
>>>>>>>> to be crashing in a socket receive class. The stack trace is here :-
>>>>>>>>
>>>>>>>
>>>>>>> This is not a crash, it just quits to OS due to error at startup.
>>>>>>> To avoid imminent leave to OS, put an error handler around your startup code
>>>>>>> (i guess it is in CoreMQStompConnection somewhere?).
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> THERE_BE_DRAGONS_HERE
>>>>>>>> MessageNotUnderstood: PrimitiveFailed>>isEmptyOrNil
>>>>>>>> 9 September 2011 2:28:41 pm
>>>>>>>>
>>>>>>>> VM: Mac OS - intel - 1067 - Croquet Closure Cog VM [CoInterpreter
>>>>>>>> VMMaker-oscog-IgorStasenko.123] 21.0
>>>>>>>> Image: Pharo1.3 [Latest update: #13298]
>>>>>>>>
>>>>>>>> PrimitiveFailed(Object)>>doesNotUnderstand: #isEmptyOrNil
>>>>>>>> Â Â Â Â Receiver: PrimitiveFailed: primitive #primSocketReceiveDataAvailable:
>>>>>>>> in a Socket[invalidSocketHandl...etc...
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â isEmptyOrNil
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â MessageNotUnderstood: PrimitiveFailed>>isEmptyOrNil
>>>>>>>> Â Â Â Â Â Â Â Â t3: Â Â nil
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â 'primitive #primSocketReceiveDataAvailable: in a
>>>>>>>> Socket[invalidSoc...etc...
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â PrimitiveFailed(Exception)>>signal
>>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â selector: Â Â Â #primSocketReceiveDataAvailable:
>>>>>>>>
>>>>>>>>
>>>>>>>> [:t1 |
>>>>>>>> | t2 |
>>>>>>>> t1 << self class name.
>>>>>>>> Â Â Â Â (t2 := self messageText) isEmptyOrNil
>>>>>>>> Â Â Â Â Â Â Â Â ifFalse: [t1 << ': ' << t2]] in Error(Exception)>>description
>>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â a WriteStream 'Error'
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>> a Socket[inv...etc...
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>> session: ID:John-T...etc...
>>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> String class(SequenceableCollection class)>>new:streamContents:
>>>>>>>> Â Â Â Â Receiver: String
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â 100
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â [:t1 |
>>>>>>>> | t2 |
>>>>>>>> t1 << self class name.
>>>>>>>> Â Â Â Â (t2 := self messageText) isEmptyOrNi...etc...
>>>>>>>> Â Â Â Â Â Â Â Â t3: Â Â a WriteStream 'Error'
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â superclass: Â Â ArrayedCollection
>>>>>>>> Â Â Â Â Â Â Â Â methodDict: Â Â a MethodDictionary(size 303)
>>>>>>>> Â Â Â Â Â Â Â Â format: Â Â Â Â 2
>>>>>>>> Â Â Â Â Â Â Â Â instanceVariables: Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â organization: Â ('*Compiler-Kernel' inviolateInstanceVariableNames
>>>>>>>> isLegalInstVar...etc...
>>>>>>>> Â Â Â Â Â Â Â Â subclasses: Â Â {ByteString. WideString. Symbol}
>>>>>>>> Â Â Â Â Â Â Â Â name: Â #String
>>>>>>>> Â Â Â Â Â Â Â Â classPool: Â Â Â a Dictionary(#AsciiOrder->#[0 1 2 3 4 5 6 7 8 9 10 11 12
>>>>>>>> 13 14 15 16...etc...
>>>>>>>> Â Â Â Â Â Â Â Â sharedPools: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â environment: Â Â a SystemDictionary(lots of globals)
>>>>>>>> Â Â Â Â Â Â Â Â category: Â Â Â #'Collections-Strings'
>>>>>>>> Â Â Â Â Â Â Â Â traitComposition: Â Â Â {}
>>>>>>>> Â Â Â Â Â Â Â Â localSelectors: Â Â Â Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> String class(SequenceableCollection class)>>streamContents:
>>>>>>>> Â Â Â Â Receiver: String
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â [:t1 |
>>>>>>>> | t2 |
>>>>>>>> t1 << self class name.
>>>>>>>> Â Â Â Â (t2 := self messageText) isEmptyOrNi...etc...
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â superclass: Â Â ArrayedCollection
>>>>>>>> Â Â Â Â Â Â Â Â methodDict: Â Â a MethodDictionary(size 303)
>>>>>>>> Â Â Â Â Â Â Â Â format: Â Â Â Â 2
>>>>>>>> Â Â Â Â Â Â Â Â instanceVariables: Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â organization: Â ('*Compiler-Kernel' inviolateInstanceVariableNames
>>>>>>>> isLegalInstVar...etc...
>>>>>>>> Â Â Â Â Â Â Â Â subclasses: Â Â {ByteString. WideString. Symbol}
>>>>>>>> Â Â Â Â Â Â Â Â name: Â #String
>>>>>>>> Â Â Â Â Â Â Â Â classPool: Â Â Â a Dictionary(#AsciiOrder->#[0 1 2 3 4 5 6 7 8 9 10 11 12
>>>>>>>> 13 14 15 16...etc...
>>>>>>>> Â Â Â Â Â Â Â Â sharedPools: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â environment: Â Â a SystemDictionary(lots of globals)
>>>>>>>> Â Â Â Â Â Â Â Â category: Â Â Â #'Collections-Strings'
>>>>>>>> Â Â Â Â Â Â Â Â traitComposition: Â Â Â {}
>>>>>>>> Â Â Â Â Â Â Â Â localSelectors: Â Â Â Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> Error(Exception)>>description
>>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>> session: ID:John-T...etc...
>>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> StartupUIManager(NonInteractiveUIManager)>>unhandledErrorDefaultAction:
>>>>>>>> Â Â Â Â Receiver: a StartupUIManager
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> <<error during printing>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â uiManager: Â Â Â a MorphicUIManager
>>>>>>>> Â Â Â Â Â Â Â Â doNotQuitOnRestart: Â Â false
>>>>>>>>
>>>>>>>>
>>>>>>>> UnhandledError>>defaultAction
>>>>>>>> Â Â Â Â Receiver: UnhandledError
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â <<error during printing>>
>>>>>>>>
>>>>>>>> UndefinedObject>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: nil
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â UnhandledError
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> nil
>>>>>>>>
>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â UnhandledError
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â nil
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil...etc...
>>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | ni...etc...
>>>>>>>>
>>>>>>>>
>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â UnhandledError
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â nil
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil]...etc...
>>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [self announceNextCommand]
>>>>>>>>
>>>>>>>>
>>>>>>>> UnhandledError(Exception)>>signal
>>>>>>>> Â Â Â Â Receiver: UnhandledError
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â <<error during printing>>
>>>>>>>>
>>>>>>>> UnhandledError class>>signalForException:
>>>>>>>> Â Â Â Â Receiver: UnhandledError
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> <<error during printing>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â superclass: Â Â Exception
>>>>>>>> Â Â Â Â Â Â Â Â methodDict: Â Â a
>>>>>>>> MethodDictionary(#defaultAction->(UnhandledError>>#defaultAction
>>>>>>>> ...etc...
>>>>>>>> Â Â Â Â Â Â Â Â format: Â Â Â Â 144
>>>>>>>> Â Â Â Â Â Â Â Â instanceVariables: Â Â Â #('exception')
>>>>>>>> Â Â Â Â Â Â Â Â organization: Â ('*UIManager' defaultAction)
>>>>>>>> ('as yet unclassified' exception exc...etc...
>>>>>>>> Â Â Â Â Â Â Â Â subclasses: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â name: Â #UnhandledError
>>>>>>>> Â Â Â Â Â Â Â Â classPool: Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â sharedPools: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â environment: Â Â a SystemDictionary(lots of globals)
>>>>>>>> Â Â Â Â Â Â Â Â category: Â Â Â #'Kernel-Exceptions'
>>>>>>>> Â Â Â Â Â Â Â Â traitComposition: Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â localSelectors: Â Â Â Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> Error>>defaultAction
>>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>> session: ID:John-T...etc...
>>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> UndefinedObject>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: nil
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> <<error during printing>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> nil
>>>>>>>>
>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> <<error during printing>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil...etc...
>>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | ni...etc...
>>>>>>>>
>>>>>>>>
>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> <<error during printing>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil]...etc...
>>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [self announceNextCommand]
>>>>>>>>
>>>>>>>>
>>>>>>>> Error(Exception)>>signal
>>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>> session: ID:John-T...etc...
>>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> Error(Exception)>>signal:
>>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>> a Socket[inv...etc...
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>> session: ID:John-T...etc...
>>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> CoreMQStompConnection(Object)>>error:
>>>>>>>> Â Â Â Â Receiver: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>> session: ID:John-Tooheys-MacBook-Pro.lo...etc...
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>> a Socket[inv...etc...
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â stream: Â Â Â Â SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>>> Â Â Â Â Â Â Â Â connectResponse: Â Â Â Â CONNECTED
>>>>>>>> session: ID:John-Tooheys-MacBook-Pro.local-56368-131...etc...
>>>>>>>> Â Â Â Â Â Â Â Â subscriptions: Â an OrderedCollection('/topic/parspro-core.juliet-core-events')
>>>>>>>> Â Â Â Â Â Â Â Â commandDestination: Â Â '/topic/parspro-core.juliet-core-events'
>>>>>>>> Â Â Â Â Â Â Â Â process: Â Â Â Â a Process in nil
>>>>>>>> Â Â Â Â Â Â Â Â logger: Â Â Â Â a JulietLogger
>>>>>>>>
>>>>>>>>
>>>>>>>> [:t1 |
>>>>>>>> self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>>> Â Â Â Â self error: t1.
>>>>>>>> Â Â Â Â t1 return] in [[[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil]] repeat.
>>>>>>>> Â Â Â Â nil]
>>>>>>>> Â Â Â Â Â Â Â Â on: Error
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 |
>>>>>>>> Â Â Â Â Â Â Â Â Â Â Â Â self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>>> Â Â Â Â Â Â Â Â Â Â Â Â self error: t1.
>>>>>>>> Â Â Â Â Â Â Â Â Â Â Â Â t1 return]] in CoreMQStompConnection>>startAnnouncing
>>>>>>>> Â Â Â Â Receiver: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>>> session: ID:John-Tooheys-MacBook-Pro.lo...etc...
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>> a Socket[inv...etc...
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â stream: Â Â Â Â SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>>> Â Â Â Â Â Â Â Â connectResponse: Â Â Â Â CONNECTED
>>>>>>>> session: ID:John-Tooheys-MacBook-Pro.local-56368-131...etc...
>>>>>>>> Â Â Â Â Â Â Â Â subscriptions: Â an OrderedCollection('/topic/parspro-core.juliet-core-events')
>>>>>>>> Â Â Â Â Â Â Â Â commandDestination: Â Â '/topic/parspro-core.juliet-core-events'
>>>>>>>> Â Â Â Â Â Â Â Â process: Â Â Â Â a Process in nil
>>>>>>>> Â Â Â Â Â Â Â Â logger: Â Â Â Â a JulietLogger
>>>>>>>>
>>>>>>>>
>>>>>>>> BlockClosure>>cull:
>>>>>>>> Â Â Â Â Receiver: [:t1 |
>>>>>>>> self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>>> Â Â Â Â self erro...etc...
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>> a Socket[inv...etc...
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â [[[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1...etc...
>>>>>>>> Â Â Â Â Â Â Â Â startpc: Â Â Â Â 118
>>>>>>>> Â Â Â Â Â Â Â Â numArgs: Â Â Â Â 1
>>>>>>>>
>>>>>>>>
>>>>>>>> [(self tempAt: 2)
>>>>>>>> Â Â Â Â Â Â Â Â cull: t1] in MethodContext(ContextPart)>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>> a Socket[inv...etc...
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil...etc...
>>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | ni...etc...
>>>>>>>>
>>>>>>>>
>>>>>>>> BlockClosure>>ensure:
>>>>>>>> Â Â Â Â Receiver: [(self tempAt: 2)
>>>>>>>> Â Â Â Â Â Â Â Â cull: t1]
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â aBlock: Â Â Â Â [self tempAt: 3 put: true]
>>>>>>>> Â Â Â Â Â Â Â Â complete: Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â returnValue: Â Â nil
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â MethodContext(ContextPart)>>handleSignal:
>>>>>>>> Â Â Â Â Â Â Â Â startpc: Â Â Â Â 98
>>>>>>>> Â Â Â Â Â Â Â Â numArgs: Â Â Â Â 0
>>>>>>>>
>>>>>>>>
>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>> a Socket[inv...etc...
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â nil
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil...etc...
>>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | ni...etc...
>>>>>>>>
>>>>>>>>
>>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>>> a Socket[inv...etc...
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â nil
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[self announceNextCommand]
>>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil]...etc...
>>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [self announceNextCommand]
>>>>>>>>
>>>>>>>>
>>>>>>>> PrimitiveFailed(Exception)>>signal
>>>>>>>> Â Â Â Â Receiver: PrimitiveFailed: primitive #primSocketReceiveDataAvailable:
>>>>>>>> in a Socket[invalidSocketHandl...etc...
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â 'primitive #primSocketReceiveDataAvailable: in a
>>>>>>>> Socket[invalidSoc...etc...
>>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â PrimitiveFailed(Exception)>>signal
>>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â BlockClosure>>on:do:
>>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>> Â Â Â Â Â Â Â Â selector: Â Â Â #primSocketReceiveDataAvailable:
>>>>>>>>
>>>>>>>>
>>>>>>>> PrimitiveFailed class(SelectorException class)>>signalFor:
>>>>>>>> Â Â Â Â Receiver: PrimitiveFailed
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â #primSocketReceiveDataAvailable:
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â superclass: Â Â SelectorException
>>>>>>>> Â Â Â Â Â Â Â Â methodDict: Â Â a
>>>>>>>> MethodDictionary(#standardMessageText->(PrimitiveFailed>>#standar...etc...
>>>>>>>> Â Â Â Â Â Â Â Â format: Â Â Â Â 144
>>>>>>>> Â Â Â Â Â Â Â Â instanceVariables: Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â organization: Â ('printing' standardMessageText)
>>>>>>>>
>>>>>>>> Â Â Â Â Â Â Â Â subclasses: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â name: Â #PrimitiveFailed
>>>>>>>> Â Â Â Â Â Â Â Â classPool: Â Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â sharedPools: Â Â nil
>>>>>>>> Â Â Â Â Â Â Â Â environment: Â Â a SystemDictionary(lots of globals)
>>>>>>>> Â Â Â Â Â Â Â Â category: Â Â Â #'Kernel-Exceptions'
>>>>>>>> Â Â Â Â Â Â Â Â traitComposition: Â Â Â {}
>>>>>>>> Â Â Â Â Â Â Â Â localSelectors: Â Â Â Â nil
>>>>>>>>
>>>>>>>>
>>>>>>>> Socket(Object)>>primitiveFailed:
>>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â #primSocketReceiveDataAvailable:
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>>
>>>>>>>>
>>>>>>>> Socket(Object)>>primitiveFailed
>>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>>
>>>>>>>>
>>>>>>>> Socket>>primSocketReceiveDataAvailable:
>>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>>
>>>>>>>>
>>>>>>>> Socket>>waitForDataFor:ifClosed:ifTimedOut:
>>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â 45
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â [ConnectionClosed signal: 'Connection closed while waiting for data.']
>>>>>>>> Â Â Â Â Â Â Â Â t3: Â Â [ConnectionTimedOut signal: 'Data receive timed out.']
>>>>>>>> Â Â Â Â Â Â Â Â t4: Â Â 2210099
>>>>>>>> Â Â Â Â Â Â Â Â t5: Â Â 45000
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>>
>>>>>>>>
>>>>>>>> Socket>>waitForDataFor:
>>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â 45
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>>
>>>>>>>>
>>>>>>>> Socket>>receiveDataSignallingTimeout:into:startingAt:
>>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â 45
>>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â 'CONNECTED
>>>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750288-4:...etc...
>>>>>>>> Â Â Â Â Â Â Â Â t3: Â Â 796
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>>
>>>>>>>>
>>>>>>>> SocketStream>>receiveData
>>>>>>>> Â Â Â Â Receiver: SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>>
>>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>>> Â Â Â Â Â Â Â Â recentlyRead: Â 716
>>>>>>>> Â Â Â Â Â Â Â Â socket: Â Â Â Â a Socket[invalidSocketHandle]
>>>>>>>> Â Â Â Â Â Â Â Â inBuffer: Â Â Â 'CONNECTED
>>>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750...etc...
>>>>>>>> Â Â Â Â Â Â Â Â outBuffer: Â Â Â 'SUBSCRIBE
>>>>>>>> destination: /topic/parspro-core.juliet-core-events
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 8, 2011 at 10:05, Marcus Denker <marcus.denker(a)inria.fr> wrote:
>>>>>>>>>
>>>>>>>>> On Sep 8, 2011, at 3:59 PM, John Toohey wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>> Is there a 1.3 OneClick build available with the Cog VM, or should I
>>>>>>>>>> just down load the linux and OSX Cog builds from the Jenkins server?
>>>>>>>>>
>>>>>>>>> The script on the hudson is old... we need to update it. And move everything
>>>>>>>>> from hudson to jenkins. And, and...
>>>>>>>>>
>>>>>>>>> So for now:
>>>>>>>>>
>>>>>>>>> Â Â Â Â https://gforge.inria.fr/frs/download.php/28922/Pharo-1.3-OneClick.zip
>>>>>>>>>
>>>>>>>>> hand-build one-click with Cog as build from https://ci.lille.inria.fr/pharo/view/Cog/
>>>>>>>>>
>>>>>>>>>> often run into problems with having different VMs/Plugin on different
>>>>>>>>>> servers, and like the idea of having both Liux and OSX supported in
>>>>>>>>>> one package, where I can just update the image.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Marcus Denker -- http://marcusdenker.de
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> ~JT
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>> Igor Stasenko AKA sig.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> ~JT
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Igor Stasenko AKA sig.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> ~JT
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko.
>>>
>>
>>
>>
>> --
>> ~JT
>>
>
>
>
> --
> Best regards,
> Igor Stasenko.
>
--
~JT
Sept. 9, 2011
Re: [Pharo-project] 1.3 OneCick with Cog VM
by Igor Stasenko
On 9 September 2011 22:19, John Toohey <jt(a)parspro.com> wrote:
> This code is used to keep a socket connection open to an ActiveMQ JMS
> server. I use the Stomp protocol to send messages from ST to various
> servers in my cluster via JMS. The self error: e code was just meant
> to fire up the debugger, so I could trace any errors. I'll remove that
> now.
>
> So do I have to rebuild a new image from scratch now? Is there any
> command line switch that I can use to by pass the loading of my app on
> start up?
>
none.
rebuild an image.
> On Fri, Sep 9, 2011 at 15:10, Igor Stasenko <siguctua(a)gmail.com> wrote:
>> On 9 September 2011 21:58, John Toohey <jt(a)parspro.com> wrote:
>>> This is my code :-
>>> startAnnouncing
>>> Â Â Â Â process notNil ifTrue: [ ^ self ].
>>> Â Â Â Â process := [
>>> Â Â Â Â Â Â Â Â [ [ [ self announceNextCommand ]
>>> Â Â Â Â Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>> Â Â Â Â Â Â Â Â Â Â Â Â do: [ :e | ] ] repeat ]
>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â on: Error
>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â do: [ :e | self logger error: 'Error in startAnnouncing e --> ', e
>>> greaseString.
>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â self error: e.
>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â e return
>>
>> this code looking suspicious. but i not sure what it does,
>> do you override #error: method in your class? what it does?
>> if it not overridden, then by sending self error: you causing another
>> error to be signaled,
>> which is not handled by any handler block
>> so, it will signal an unhandled error exception and finally bail out
>> to OS during startup.
>> To simplify things, what happens is following:
>>
>> [ self error: 'hahaha' ] fork.
>> instead it should be like:
>>
>> [ [ self error: 'hahaha' ] on: Error do: [:ex | .. handle error here,
>> and don't let it being unhandled ] ] fork.
>>
>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ].
>>> Â Â Â Â Â Â Â Â ] forkAt: Processor highIOPriority named: 'Juliet Stomp Announcer'
>>>
>>> How can I make this safer, or make it in such a way that the image
>>> doesn't crash?
>>>
>>> Also is the image destroyed now? Is there a way to start it and bypass
>>> this code? Thanks for looking into this.
>>>
>>> On Fri, Sep 9, 2011 at 14:55, Igor Stasenko <siguctua(a)gmail.com> wrote:
>>>> On 9 September 2011 20:43, John Toohey <jt(a)parspro.com> wrote:
>>>>> This happened after a VM crash, when I try to restart I get this in
>>>>> the log. Isn't the error caused by the isEmptyOrNil primitive? Is
>>>>> there anyway for me to access the image now?
>>>>>
>>>>
>>>> an error caused by a primitive failure with invalid socket:
>>>>
>>>> SocketStream>>receiveData
>>>>>> Â Â Â Â Receiver: SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>
>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>> Â Â Â Â Â Â Â Â recentlyRead: Â 716
>>>>>> Â Â Â Â Â Â Â Â socket: Â Â Â Â a Socket[invalidSocketHandle]
>>>>>> Â Â Â Â Â Â Â Â inBuffer: Â Â Â 'CONNECTED
>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750...etc...
>>>>>> Â Â Â Â Â Â Â Â outBuffer: Â Â Â 'SUBSCRIBE
>>>>>> destination: /topic/parspro-core.juliet-core-events
>>>>
>>>>
>>>> looks like your image was saved with socket being open and upon
>>>> restart it tries to read data from it.
>>>> This , of course , causing failure and leads to error signaled.
>>>>
>>>> If you want to track down the error, there is an option in system settings:
>>>> 'Make a snapshot of new version before quit
>>>> On unhandled exception, save a new version of image before quit'
>>>> in 'Headless mode' group.
>>>>
>>>>> On Fri, Sep 9, 2011 at 14:38, Igor Stasenko <siguctua(a)gmail.com> wrote:
>>>>>> On 9 September 2011 20:31, John Toohey <jt(a)parspro.com> wrote:
>>>>>>> I am experiencing a lot of random crashes with this VM on OSX 10.6. It
>>>>>>> just crashed again, and this time I cannot get it to restart. It seems
>>>>>>> to be crashing in a socket receive class. The stack trace is here :-
>>>>>>>
>>>>>>
>>>>>> This is not a crash, it just quits to OS due to error at startup.
>>>>>> To avoid imminent leave to OS, put an error handler around your startup code
>>>>>> (i guess it is in CoreMQStompConnection somewhere?).
>>>>>>
>>>>>>
>>>>>>
>>>>>>> THERE_BE_DRAGONS_HERE
>>>>>>> MessageNotUnderstood: PrimitiveFailed>>isEmptyOrNil
>>>>>>> 9 September 2011 2:28:41 pm
>>>>>>>
>>>>>>> VM: Mac OS - intel - 1067 - Croquet Closure Cog VM [CoInterpreter
>>>>>>> VMMaker-oscog-IgorStasenko.123] 21.0
>>>>>>> Image: Pharo1.3 [Latest update: #13298]
>>>>>>>
>>>>>>> PrimitiveFailed(Object)>>doesNotUnderstand: #isEmptyOrNil
>>>>>>> Â Â Â Â Receiver: PrimitiveFailed: primitive #primSocketReceiveDataAvailable:
>>>>>>> in a Socket[invalidSocketHandl...etc...
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â isEmptyOrNil
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â MessageNotUnderstood: PrimitiveFailed>>isEmptyOrNil
>>>>>>> Â Â Â Â Â Â Â Â t3: Â Â nil
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â 'primitive #primSocketReceiveDataAvailable: in a
>>>>>>> Socket[invalidSoc...etc...
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â PrimitiveFailed(Exception)>>signal
>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â BlockClosure>>on:do:
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>> Â Â Â Â Â Â Â Â selector: Â Â Â #primSocketReceiveDataAvailable:
>>>>>>>
>>>>>>>
>>>>>>> [:t1 |
>>>>>>> | t2 |
>>>>>>> t1 << self class name.
>>>>>>> Â Â Â Â (t2 := self messageText) isEmptyOrNil
>>>>>>> Â Â Â Â Â Â Â Â ifFalse: [t1 << ': ' << t2]] in Error(Exception)>>description
>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â a WriteStream 'Error'
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>> a Socket[inv...etc...
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>> session: ID:John-T...etc...
>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>
>>>>>>>
>>>>>>> String class(SequenceableCollection class)>>new:streamContents:
>>>>>>> Â Â Â Â Receiver: String
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â 100
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â [:t1 |
>>>>>>> | t2 |
>>>>>>> t1 << self class name.
>>>>>>> Â Â Â Â (t2 := self messageText) isEmptyOrNi...etc...
>>>>>>> Â Â Â Â Â Â Â Â t3: Â Â a WriteStream 'Error'
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â superclass: Â Â ArrayedCollection
>>>>>>> Â Â Â Â Â Â Â Â methodDict: Â Â a MethodDictionary(size 303)
>>>>>>> Â Â Â Â Â Â Â Â format: Â Â Â Â 2
>>>>>>> Â Â Â Â Â Â Â Â instanceVariables: Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â organization: Â ('*Compiler-Kernel' inviolateInstanceVariableNames
>>>>>>> isLegalInstVar...etc...
>>>>>>> Â Â Â Â Â Â Â Â subclasses: Â Â {ByteString. WideString. Symbol}
>>>>>>> Â Â Â Â Â Â Â Â name: Â #String
>>>>>>> Â Â Â Â Â Â Â Â classPool: Â Â Â a Dictionary(#AsciiOrder->#[0 1 2 3 4 5 6 7 8 9 10 11 12
>>>>>>> 13 14 15 16...etc...
>>>>>>> Â Â Â Â Â Â Â Â sharedPools: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â environment: Â Â a SystemDictionary(lots of globals)
>>>>>>> Â Â Â Â Â Â Â Â category: Â Â Â #'Collections-Strings'
>>>>>>> Â Â Â Â Â Â Â Â traitComposition: Â Â Â {}
>>>>>>> Â Â Â Â Â Â Â Â localSelectors: Â Â Â Â nil
>>>>>>>
>>>>>>>
>>>>>>> String class(SequenceableCollection class)>>streamContents:
>>>>>>> Â Â Â Â Receiver: String
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â [:t1 |
>>>>>>> | t2 |
>>>>>>> t1 << self class name.
>>>>>>> Â Â Â Â (t2 := self messageText) isEmptyOrNi...etc...
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â superclass: Â Â ArrayedCollection
>>>>>>> Â Â Â Â Â Â Â Â methodDict: Â Â a MethodDictionary(size 303)
>>>>>>> Â Â Â Â Â Â Â Â format: Â Â Â Â 2
>>>>>>> Â Â Â Â Â Â Â Â instanceVariables: Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â organization: Â ('*Compiler-Kernel' inviolateInstanceVariableNames
>>>>>>> isLegalInstVar...etc...
>>>>>>> Â Â Â Â Â Â Â Â subclasses: Â Â {ByteString. WideString. Symbol}
>>>>>>> Â Â Â Â Â Â Â Â name: Â #String
>>>>>>> Â Â Â Â Â Â Â Â classPool: Â Â Â a Dictionary(#AsciiOrder->#[0 1 2 3 4 5 6 7 8 9 10 11 12
>>>>>>> 13 14 15 16...etc...
>>>>>>> Â Â Â Â Â Â Â Â sharedPools: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â environment: Â Â a SystemDictionary(lots of globals)
>>>>>>> Â Â Â Â Â Â Â Â category: Â Â Â #'Collections-Strings'
>>>>>>> Â Â Â Â Â Â Â Â traitComposition: Â Â Â {}
>>>>>>> Â Â Â Â Â Â Â Â localSelectors: Â Â Â Â nil
>>>>>>>
>>>>>>>
>>>>>>> Error(Exception)>>description
>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>> session: ID:John-T...etc...
>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>
>>>>>>>
>>>>>>> StartupUIManager(NonInteractiveUIManager)>>unhandledErrorDefaultAction:
>>>>>>> Â Â Â Â Receiver: a StartupUIManager
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> <<error during printing>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â uiManager: Â Â Â a MorphicUIManager
>>>>>>> Â Â Â Â Â Â Â Â doNotQuitOnRestart: Â Â false
>>>>>>>
>>>>>>>
>>>>>>> UnhandledError>>defaultAction
>>>>>>> Â Â Â Â Receiver: UnhandledError
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â <<error during printing>>
>>>>>>>
>>>>>>> UndefinedObject>>handleSignal:
>>>>>>> Â Â Â Â Receiver: nil
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â UnhandledError
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> nil
>>>>>>>
>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â UnhandledError
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â nil
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil...etc...
>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | ni...etc...
>>>>>>>
>>>>>>>
>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â UnhandledError
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â nil
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil]...etc...
>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [self announceNextCommand]
>>>>>>>
>>>>>>>
>>>>>>> UnhandledError(Exception)>>signal
>>>>>>> Â Â Â Â Receiver: UnhandledError
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â <<error during printing>>
>>>>>>>
>>>>>>> UnhandledError class>>signalForException:
>>>>>>> Â Â Â Â Receiver: UnhandledError
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> <<error during printing>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â superclass: Â Â Exception
>>>>>>> Â Â Â Â Â Â Â Â methodDict: Â Â a
>>>>>>> MethodDictionary(#defaultAction->(UnhandledError>>#defaultAction
>>>>>>> ...etc...
>>>>>>> Â Â Â Â Â Â Â Â format: Â Â Â Â 144
>>>>>>> Â Â Â Â Â Â Â Â instanceVariables: Â Â Â #('exception')
>>>>>>> Â Â Â Â Â Â Â Â organization: Â ('*UIManager' defaultAction)
>>>>>>> ('as yet unclassified' exception exc...etc...
>>>>>>> Â Â Â Â Â Â Â Â subclasses: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â name: Â #UnhandledError
>>>>>>> Â Â Â Â Â Â Â Â classPool: Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â sharedPools: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â environment: Â Â a SystemDictionary(lots of globals)
>>>>>>> Â Â Â Â Â Â Â Â category: Â Â Â #'Kernel-Exceptions'
>>>>>>> Â Â Â Â Â Â Â Â traitComposition: Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â localSelectors: Â Â Â Â nil
>>>>>>>
>>>>>>>
>>>>>>> Error>>defaultAction
>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>> session: ID:John-T...etc...
>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>
>>>>>>>
>>>>>>> UndefinedObject>>handleSignal:
>>>>>>> Â Â Â Â Receiver: nil
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> <<error during printing>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> nil
>>>>>>>
>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> <<error during printing>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil...etc...
>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | ni...etc...
>>>>>>>
>>>>>>>
>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> <<error during printing>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil]...etc...
>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [self announceNextCommand]
>>>>>>>
>>>>>>>
>>>>>>> Error(Exception)>>signal
>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>> session: ID:John-T...etc...
>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>
>>>>>>>
>>>>>>> Error(Exception)>>signal:
>>>>>>> Â Â Â Â Receiver: <<error during printing>>
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>> a Socket[inv...etc...
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â PrimitiveFailed: primitive
>>>>>>> #primSocketReceiveDataAvailable: in a S...etc...
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>> session: ID:John-T...etc...
>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â Error(Exception)>>signal
>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>>
>>>>>>>
>>>>>>> CoreMQStompConnection(Object)>>error:
>>>>>>> Â Â Â Â Receiver: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>> session: ID:John-Tooheys-MacBook-Pro.lo...etc...
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>> a Socket[inv...etc...
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â stream: Â Â Â Â SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>> Â Â Â Â Â Â Â Â connectResponse: Â Â Â Â CONNECTED
>>>>>>> session: ID:John-Tooheys-MacBook-Pro.local-56368-131...etc...
>>>>>>> Â Â Â Â Â Â Â Â subscriptions: Â an OrderedCollection('/topic/parspro-core.juliet-core-events')
>>>>>>> Â Â Â Â Â Â Â Â commandDestination: Â Â '/topic/parspro-core.juliet-core-events'
>>>>>>> Â Â Â Â Â Â Â Â process: Â Â Â Â a Process in nil
>>>>>>> Â Â Â Â Â Â Â Â logger: Â Â Â Â a JulietLogger
>>>>>>>
>>>>>>>
>>>>>>> [:t1 |
>>>>>>> self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>> Â Â Â Â self error: t1.
>>>>>>> Â Â Â Â t1 return] in [[[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil]] repeat.
>>>>>>> Â Â Â Â nil]
>>>>>>> Â Â Â Â Â Â Â Â on: Error
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 |
>>>>>>> Â Â Â Â Â Â Â Â Â Â Â Â self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>> Â Â Â Â Â Â Â Â Â Â Â Â self error: t1.
>>>>>>> Â Â Â Â Â Â Â Â Â Â Â Â t1 return]] in CoreMQStompConnection>>startAnnouncing
>>>>>>> Â Â Â Â Receiver: a CoreMQStompConnection connectResponse: CONNECTED
>>>>>>> session: ID:John-Tooheys-MacBook-Pro.lo...etc...
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>> a Socket[inv...etc...
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â stream: Â Â Â Â SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>> Â Â Â Â Â Â Â Â connectResponse: Â Â Â Â CONNECTED
>>>>>>> session: ID:John-Tooheys-MacBook-Pro.local-56368-131...etc...
>>>>>>> Â Â Â Â Â Â Â Â subscriptions: Â an OrderedCollection('/topic/parspro-core.juliet-core-events')
>>>>>>> Â Â Â Â Â Â Â Â commandDestination: Â Â '/topic/parspro-core.juliet-core-events'
>>>>>>> Â Â Â Â Â Â Â Â process: Â Â Â Â a Process in nil
>>>>>>> Â Â Â Â Â Â Â Â logger: Â Â Â Â a JulietLogger
>>>>>>>
>>>>>>>
>>>>>>> BlockClosure>>cull:
>>>>>>> Â Â Â Â Receiver: [:t1 |
>>>>>>> self logger error: 'Error in startAnnouncing e --> ' , t1 greaseString.
>>>>>>> Â Â Â Â self erro...etc...
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>> a Socket[inv...etc...
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â [[[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1...etc...
>>>>>>> Â Â Â Â Â Â Â Â startpc: Â Â Â Â 118
>>>>>>> Â Â Â Â Â Â Â Â numArgs: Â Â Â Â 1
>>>>>>>
>>>>>>>
>>>>>>> [(self tempAt: 2)
>>>>>>> Â Â Â Â Â Â Â Â cull: t1] in MethodContext(ContextPart)>>handleSignal:
>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>> a Socket[inv...etc...
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil...etc...
>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | ni...etc...
>>>>>>>
>>>>>>>
>>>>>>> BlockClosure>>ensure:
>>>>>>> Â Â Â Â Receiver: [(self tempAt: 2)
>>>>>>> Â Â Â Â Â Â Â Â cull: t1]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â aBlock: Â Â Â Â [self tempAt: 3 put: true]
>>>>>>> Â Â Â Â Â Â Â Â complete: Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â returnValue: Â Â nil
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â MethodContext(ContextPart)>>handleSignal:
>>>>>>> Â Â Â Â Â Â Â Â startpc: Â Â Â Â 98
>>>>>>> Â Â Â Â Â Â Â Â numArgs: Â Â Â Â 0
>>>>>>>
>>>>>>>
>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>> a Socket[inv...etc...
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â nil
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil...etc...
>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | ni...etc...
>>>>>>>
>>>>>>>
>>>>>>> MethodContext(ContextPart)>>handleSignal:
>>>>>>> Â Â Â Â Receiver: BlockClosure>>on:do:
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â PrimitiveFailed: primitive #primSocketReceiveDataAvailable: in
>>>>>>> a Socket[inv...etc...
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â nil
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â sender: Â Â Â Â [[[self announceNextCommand]
>>>>>>> Â Â Â Â Â Â Â Â on: ConnectionTimedOut
>>>>>>> Â Â Â Â Â Â Â Â do: [:t1 | nil]...etc...
>>>>>>> Â Â Â Â Â Â Â Â pc: Â Â 17
>>>>>>> Â Â Â Â Â Â Â Â stackp: Â Â Â Â 3
>>>>>>> Â Â Â Â Â Â Â Â method: Â Â Â Â (BlockClosure>>#on:do: "a CompiledMethod(137625600)")
>>>>>>> Â Â Â Â Â Â Â Â closureOrNil: Â nil
>>>>>>> Â Â Â Â Â Â Â Â receiver: Â Â Â [self announceNextCommand]
>>>>>>>
>>>>>>>
>>>>>>> PrimitiveFailed(Exception)>>signal
>>>>>>> Â Â Â Â Receiver: PrimitiveFailed: primitive #primSocketReceiveDataAvailable:
>>>>>>> in a Socket[invalidSocketHandl...etc...
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â messageText: Â Â 'primitive #primSocketReceiveDataAvailable: in a
>>>>>>> Socket[invalidSoc...etc...
>>>>>>> Â Â Â Â Â Â Â Â tag: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â signaler: Â Â Â a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Â Â Â Â signalContext: Â PrimitiveFailed(Exception)>>signal
>>>>>>> Â Â Â Â Â Â Â Â handlerContext: Â Â Â Â BlockClosure>>on:do:
>>>>>>> Â Â Â Â Â Â Â Â outerContext: Â nil
>>>>>>> Â Â Â Â Â Â Â Â selector: Â Â Â #primSocketReceiveDataAvailable:
>>>>>>>
>>>>>>>
>>>>>>> PrimitiveFailed class(SelectorException class)>>signalFor:
>>>>>>> Â Â Â Â Receiver: PrimitiveFailed
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â #primSocketReceiveDataAvailable:
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â superclass: Â Â SelectorException
>>>>>>> Â Â Â Â Â Â Â Â methodDict: Â Â a
>>>>>>> MethodDictionary(#standardMessageText->(PrimitiveFailed>>#standar...etc...
>>>>>>> Â Â Â Â Â Â Â Â format: Â Â Â Â 144
>>>>>>> Â Â Â Â Â Â Â Â instanceVariables: Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â organization: Â ('printing' standardMessageText)
>>>>>>>
>>>>>>> Â Â Â Â Â Â Â Â subclasses: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â name: Â #PrimitiveFailed
>>>>>>> Â Â Â Â Â Â Â Â classPool: Â Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â sharedPools: Â Â nil
>>>>>>> Â Â Â Â Â Â Â Â environment: Â Â a SystemDictionary(lots of globals)
>>>>>>> Â Â Â Â Â Â Â Â category: Â Â Â #'Kernel-Exceptions'
>>>>>>> Â Â Â Â Â Â Â Â traitComposition: Â Â Â {}
>>>>>>> Â Â Â Â Â Â Â Â localSelectors: Â Â Â Â nil
>>>>>>>
>>>>>>>
>>>>>>> Socket(Object)>>primitiveFailed:
>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â #primSocketReceiveDataAvailable:
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>
>>>>>>>
>>>>>>> Socket(Object)>>primitiveFailed
>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>
>>>>>>>
>>>>>>> Socket>>primSocketReceiveDataAvailable:
>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>
>>>>>>>
>>>>>>> Socket>>waitForDataFor:ifClosed:ifTimedOut:
>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â 45
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â [ConnectionClosed signal: 'Connection closed while waiting for data.']
>>>>>>> Â Â Â Â Â Â Â Â t3: Â Â [ConnectionTimedOut signal: 'Data receive timed out.']
>>>>>>> Â Â Â Â Â Â Â Â t4: Â Â 2210099
>>>>>>> Â Â Â Â Â Â Â Â t5: Â Â 45000
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>
>>>>>>>
>>>>>>> Socket>>waitForDataFor:
>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â 45
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>
>>>>>>>
>>>>>>> Socket>>receiveDataSignallingTimeout:into:startingAt:
>>>>>>> Â Â Â Â Receiver: a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>> Â Â Â Â Â Â Â Â t1: Â Â 45
>>>>>>> Â Â Â Â Â Â Â Â t2: Â Â 'CONNECTED
>>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750288-4:...etc...
>>>>>>> Â Â Â Â Â Â Â Â t3: Â Â 796
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â semaphore: Â Â Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â socketHandle: Â #[162 57 106 78 0 0 0 0 128 42 86 0]
>>>>>>> Â Â Â Â Â Â Â Â readSemaphore: Â a Semaphore()
>>>>>>> Â Â Â Â Â Â Â Â writeSemaphore: Â Â Â Â a Semaphore()
>>>>>>>
>>>>>>>
>>>>>>> SocketStream>>receiveData
>>>>>>> Â Â Â Â Receiver: SocketStream[inbuf:4kb/outbuf:4kb]
>>>>>>> Â Â Â Â Arguments and temporary variables:
>>>>>>>
>>>>>>> Â Â Â Â Receiver's instance variables:
>>>>>>> Â Â Â Â Â Â Â Â recentlyRead: Â 716
>>>>>>> Â Â Â Â Â Â Â Â socket: Â Â Â Â a Socket[invalidSocketHandle]
>>>>>>> Â Â Â Â Â Â Â Â inBuffer: Â Â Â 'CONNECTED
>>>>>>> session:ID:John-Tooheys-MacBook-Pro.local-56368-1315585750...etc...
>>>>>>> Â Â Â Â Â Â Â Â outBuffer: Â Â Â 'SUBSCRIBE
>>>>>>> destination: /topic/parspro-core.juliet-core-events
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Sep 8, 2011 at 10:05, Marcus Denker <marcus.denker(a)inria.fr> wrote:
>>>>>>>>
>>>>>>>> On Sep 8, 2011, at 3:59 PM, John Toohey wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> Is there a 1.3 OneClick build available with the Cog VM, or should I
>>>>>>>>> just down load the linux and OSX Cog builds from the Jenkins server?
>>>>>>>>
>>>>>>>> The script on the hudson is old... we need to update it. And move everything
>>>>>>>> from hudson to jenkins. And, and...
>>>>>>>>
>>>>>>>> So for now:
>>>>>>>>
>>>>>>>> Â Â Â Â https://gforge.inria.fr/frs/download.php/28922/Pharo-1.3-OneClick.zip
>>>>>>>>
>>>>>>>> hand-build one-click with Cog as build from https://ci.lille.inria.fr/pharo/view/Cog/
>>>>>>>>
>>>>>>>>> often run into problems with having different VMs/Plugin on different
>>>>>>>>> servers, and like the idea of having both Liux and OSX supported in
>>>>>>>>> one package, where I can just update the image.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Marcus Denker -- http://marcusdenker.de
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> ~JT
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best regards,
>>>>>> Igor Stasenko AKA sig.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> ~JT
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards,
>>>> Igor Stasenko AKA sig.
>>>>
>>>
>>>
>>>
>>> --
>>> ~JT
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko.
>>
>
>
>
> --
> ~JT
>
--
Best regards,
Igor Stasenko.
Sept. 9, 2011