Error: a primitive has failed 19 January 2006 8:57:10 am VM: Mac OS - a SmalltalkImage Image: Squeak3.9alpha [latest update: #6715] SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir Discovery:Users:admin:SqueakDevelop:Squeak3.9alpha Ä Trusted Dir Discovery:Users:admin:SqueakDevelop:Squeak3.9alpha Ä Untrusted Dir foobar:tooBar:forSqueak:bogus JPEGReadWriter2(Object)>>error: Receiver: a JPEGReadWriter2 Arguments and temporary variables: aString: 'a primitive has failed' Receiver's instance variables: stream: MultiByteFileStream: 'Discovery:Users:admin:Desktop:99piecetemplate.jpg...etc... JPEGReadWriter2(Object)>>primitiveFailed Receiver: a JPEGReadWriter2 Arguments and temporary variables: Receiver's instance variables: stream: MultiByteFileStream: 'Discovery:Users:admin:Desktop:99piecetemplate.jpg...etc... JPEGReadWriter2>>primJPEGReadImage:fromByteArray:onForm:doDithering:errorMgr: Receiver: a JPEGReadWriter2 Arguments and temporary variables: aJPEGDecompressStruct: a ByteArray(4 239 17 80 0 71 162 192 0 0 0 0 0 0 0 0 0 0...etc... source: a ByteArray(255 216 255 224 0 16 74 70 73 70 0 1 1 1 0 72 0 72 0 0 255 ...etc... form: Form(360x270x16) ditherFlag: true aJPEGErrorMgr2Struct: a ByteArray(0 7 194 48 0 9 157 80 0 9 157 0 0 9 157 240 0...etc... Receiver's instance variables: stream: MultiByteFileStream: 'Discovery:Users:admin:Desktop:99piecetemplate.jpg...etc... JPEGReadWriter2>>nextImageSuggestedDepth: Receiver: a JPEGReadWriter2 Arguments and temporary variables: depth: 16 bytes: a ByteArray(255 216 255 224 0 16 74 70 73 70 0 1 1 1 0 72 0 72 0 0 255 2...etc... width: 360 height: 270 form: Form(360x270x16) jpegDecompressStruct: a ByteArray(4 239 17 80 0 71 162 192 0 0 0 0 0 0 0 0 0 0 ...etc... jpegErrorMgr2Struct: a ByteArray(0 7 194 48 0 9 157 80 0 9 157 0 0 9 157 240 0 ...etc... depthToUse: 16 Receiver's instance variables: stream: MultiByteFileStream: 'Discovery:Users:admin:Desktop:99piecetemplate.jpg...etc... --- The full stack --- JPEGReadWriter2(Object)>>error: JPEGReadWriter2(Object)>>primitiveFailed JPEGReadWriter2>>primJPEGReadImage:fromByteArray:onForm:doDithering:errorMgr: JPEGReadWriter2>>nextImageSuggestedDepth: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - JPEGReadWriter2>>nextImage [] in ImageReadWriter class>>formFromStream: {[form := reader nextImage. reader close]} BlockContext>>ensure: CursorWithMask(Cursor)>>showWhile: ImageReadWriter class>>formFromStream: Form class>>fromBinaryStream: Form class>>openImageInWindow: SimpleServiceEntry>>performServiceFor: PluggableButtonMorph>>performAction [] in PluggableButtonMorph>>mouseUp: {[:m | (m containsPoint: evt cursorPoint) ifTrue: [m performAction]]} Array(SequenceableCollection)>>do: PluggableButtonMorph>>mouseUp: PluggableButtonMorph(Morph)>>handleMouseUp: MouseButtonEvent>>sentTo: PluggableButtonMorph(Morph)>>handleEvent: PluggableButtonMorph(Morph)>>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: PasteUpMorph>>doOneCycle [] in Project class>>spawnNewProcess {[[World doOneCycle. Processor yield. false] whileFalse. nil]} [] in BlockContext>>newProcess {[self value. Processor terminateActive]}