Primitive failure with second version of JPEGReadWriter2Plugin
Karl Ramberg
karl.ramberg at chello.se
Tue Dec 18 14:59:57 UTC 2001
John M McIntosh wrote:
> Well it might be best if we agree upon both the C source and the
> Smalltalk code, if there is an issue I'll distribute another plugin.
>
> Karl if you can demo the problem? We should see if other have the
> same issue? Maybe there is a missing changeset somewhere?
>
I downloaded a Squeak3.2a-4599 image changes from the ftp.
This I run with the Squeak 3.1Alpha1MT vm.
JPEGPlugin from the ftp.
MacOS 8.6.
Tested with the code:
JPEGMovieFile convertMPEGFileNamed:'Video:mpegvideo:starwars.mpg'
toJPEGMovieNamed: 'Video:mpegvideo:starwars.jmv' quality: 50
Both with and without the JpegPlugin2 update.1.cs I get the same error.
I produced working jmv movies with the first version of the plugin
put at the ftp server.
Karl
Here is the debug log:
Error: a primitive has failed
18 December 2001 3:47:32 pm
VM: Mac OS - Squeak3.1alpha of 7 March 2001 [latest update: #4347]
Image: Squeak3.2alpha [latest update: #4599]
JPEGReadWriter2(Object)>>error:
Receiver: a JPEGReadWriter2
Arguments and temporary variables:
aString: 'a primitive has failed'
Receiver's instance variables:
stream: nil
JPEGReadWriter2(Object)>>primitiveFailed
Receiver: a JPEGReadWriter2
Arguments and temporary variables:
Receiver's instance variables:
stream: nil
JPEGReadWriter2>>primJPEGReadImage:fromByteArray:onForm:errorMgr:
Receiver: a JPEGReadWriter2
Arguments and temporary variables:
aJPEGDecompressStruct: a ByteArray(3 17 228 176 5 10 179 208 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 0 0 1 0 1
0 0 255 21...etc...
form: Form(160x120x16)
aJPEGErrorMgr2Struct: a ByteArray(1 248 55 204 1 248 59 44 1 248 59
36 1 248 59...etc...
Receiver's instance variables:
stream: nil
JPEGReadWriter2>>uncompress:into:
Receiver: a JPEGReadWriter2
Arguments and temporary variables:
aByteArray: a ByteArray(255 216 255 224 0 16 74 70 73 70 0 1 1 0 0 1
0 1 0 0 25...etc...
aForm: Form(160x120x16)
jpegDecompressStruct: a ByteArray(3 17 228 176 5 10 179 208 0 0 0 0 0
0 0 0 0 0...etc...
jpegErrorMgr2Struct: a ByteArray(1 248 55 204 1 248 59 44 1 248 59 36
1 248 59 ...etc...
w: 160
h: 120
Receiver's instance variables:
stream: nil
--- The rest of the stack ---
JPEGMovieFile>>videoReadFrameInto:stream:
MPEGDisplayMorph>>nextFrame
MPEGDisplayMorph>>openFileNamed:
MPEGDisplayMorph>>openMPEGFile
[] in SimpleButtonMorph>>doButtonAction
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
SimpleButtonMorph>>doButtonAction
SimpleButtonMorph>>mouseUp:
SimpleButtonMorph(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
SimpleButtonMorph(Morph)>>handleEvent:
SimpleButtonMorph(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockContext>>newProcess
More information about the Squeak-dev
mailing list
|