[BUG]Re: [updates] 36 for 3.1alpha

Bob Arning arning at charm.net
Sat Mar 10 12:44:27 UTC 2001


Hi Karl,

Do you mean the new code *always* crashes? Do you see any difference in what is passed to MPEGPlayer2 as the argument to #openFile: between the old version and the new? The file name strings look the same to me, bu maybe I overlooked something. Can you narrow it down to which primitive was last called before the crash?

Anyone else having problems with this?

Cheers,
Bob

On Sat, 10 Mar 2001 10:21:55 +0100 Karl Ramberg <karl.ramberg at chello.se> wrote:
>But I keep getting really hard crashes with this change, eg the 
>whole machine freezes up and I have to restart. 
>The MPEGPlugin is really picky about what you serve it, and chockes 
>in a really nasty way if it's something slightly wrong.
>The old code read:
>
>openMPEGFile
>	| file dir test delimiter full |
>	(file _ StandardFileMenu oldFile)
>		ifNotNil: [dir _ file directory pathName.
>			test _ file name.
>			delimiter _ FileDirectory pathNameDelimiter asString.
>			full _ dir , delimiter , test. 
>			foo _ MPEGPlayer2 openFile: full asLowercase.
>			...
>
>and the new one:
>openMPEGFile
>
>	| file |
>
>	(file _ FileList2 modalFileSelectorForSuffixes: #('mpg' 'mpeg')) ifNil: [^self].
>
>	foo _ MPEGPlayer2 openFile: file fullName asLowercase.





More information about the Squeak-dev mailing list