Socket connect fails -LOG

Frank Gerlach frankgerlach22 at gmx.de
Sat Dec 25 01:20:13 UTC 2004


> It means exactly what it says - a primitive function in the VM failed.
> Unfortunately there is currently no way of the VM communicating exactly
> (or evn approximately) why it failed. Usually we can work out a lot
> more from the Squeak stacktrace which (unless something truly dreadful
> happened) got written to a file called SqueakDebug.log in your default
> directory.
> 
> I do have code to allow better failure return values that I hope to put
> into the system some day but it really needs to wait until there is a
> good excuse for an image compatibility break since it... well, never
> mind right now.
> 
> Looks for that log file and see if it says anything that makes sense to
> you and if not, report it on the list.

OK, here is the log. I don't know if it matters, but this machine
doesn't have proper DNS resolving, it is just my home machine
connected via DSL.


The Log:

Error: a primitive has failed
25 December 2004 2:14:02 am

VM: Win32 - a SmalltalkImage
Image: Squeak3.7 [latest update: #5989]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir c:\franksordner\dev\squeak
Trusted Dir c:\franksordner\dev\squeak\Frank
Untrusted Dir C:\My Squeak\Frank

Socket(Object)>>error:
	Receiver: a Socket[unconnected]
	Arguments and temporary variables: 
		aString: 	'a primitive has failed'
	Receiver's instance variables: 
		semaphore: 	a Semaphore()
		socketHandle: 	a ByteArray(157 222 4 3 0 0 0 0 168 236 9 0)
		readSemaphore: 	a Semaphore()
		writeSemaphore: 	a Semaphore()
		primitiveOnlySupportsOneSemaphore: 	false

Socket(Object)>>primitiveFailed
	Receiver: a Socket[unconnected]
	Arguments and temporary variables: 

	Receiver's instance variables: 
		semaphore: 	a Semaphore()
		socketHandle: 	a ByteArray(157 222 4 3 0 0 0 0 168 236 9 0)
		readSemaphore: 	a Semaphore()
		writeSemaphore: 	a Semaphore()
		primitiveOnlySupportsOneSemaphore: 	false

Socket>>primSocket:connectTo:port:
	Receiver: a Socket[unconnected]
	Arguments and temporary variables: 
		socketID: 	a ByteArray(157 222 4 3 0 0 0 0 168 236 9 0)
		hostAddress: 	'localhost'
		port: 	1444
	Receiver's instance variables: 
		semaphore: 	a Semaphore()
		socketHandle: 	a ByteArray(157 222 4 3 0 0 0 0 168 236 9 0)
		readSemaphore: 	a Semaphore()
		writeSemaphore: 	a Semaphore()
		primitiveOnlySupportsOneSemaphore: 	false

Socket>>connectNonBlockingTo:port:
	Receiver: a Socket[unconnected]
	Arguments and temporary variables: 
		hostAddress: 	'localhost'
		port: 	1444
		status: 	0
	Receiver's instance variables: 
		semaphore: 	a Semaphore()
		socketHandle: 	a ByteArray(157 222 4 3 0 0 0 0 168 236 9 0)
		readSemaphore: 	a Semaphore()
		writeSemaphore: 	a Semaphore()
		primitiveOnlySupportsOneSemaphore: 	false


--- The full stack ---
Socket(Object)>>error:
Socket(Object)>>primitiveFailed
Socket>>primSocket:connectTo:port:
Socket>>connectNonBlockingTo:port:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Socket>>connectTo:port:waitForConnectionFor:
Socket>>connectTo:port:
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in TextMorphEditor(ParagraphEditor)>>evaluateSelection {[rcvr class
evaluatorClass new   evaluate: self selectionAsStream   in: ctxt...]}
BlockContext>>on:do:
TextMorphEditor(ParagraphEditor)>>evaluateSelection
[] in PluggableTextMorph>>doIt {[textMorph editor evaluateSelection]}
[] in PluggableTextMorph>>handleEdit: {[result := editBlock value]}
TextMorphForEditView(TextMorph)>>handleEdit:
PluggableTextMorph>>handleEdit:
PluggableTextMorph>>doIt
Workspace(StringHolder)>>perform:orSendTo:
[] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) =
0   ifTrue: [target perform: selector] ...]}
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
MenuItemMorph>>invokeWithEvent:
MenuItemMorph>>mouseUp:
MenuItemMorph>>handleMouseUp:
MouseButtonEvent>>sentTo:
MenuItemMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuItemMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
MenuMorph(Morph)>>processEvent:
MenuMorph>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent
:= anEvent.  result := focusHolder     han...]}
[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h
processEvents.  capturingGesture := capturingGest...]}
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
WorldState>>doOneSubCycleFor:
PasteUpMorph>>doOneSubCycle
MenuMorph>>invokeModalAt:in:allowKeyboard:
MenuMorph>>invokeModal:
MenuMorph>>invokeModal
PluggableTextMorph>>yellowButtonActivity:
TextMorphForEditView>>mouseDown:
TextMorphForEditView(Morph)>>handleMouseDown:
MouseButtonEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchMouseDown:with:
...etc...

-- 
+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben



More information about the Squeak-dev mailing list