[BUG]Re: [updates] 36 for 3.1alpha
Karl Ramberg
karl.ramberg at chello.se
Sat Mar 10 13:54:49 UTC 2001
I think I traced it down to a lowspace problem with mac os... Does the
plugin load
outside Squeaks memory partition ? At least the freeze on my system
is total! Everything locks up. The funny part was that it seemed to
happen
when I used the new fileSelector.... I have to keep on looking.
When the freeze happens no debug log or anything is given. Makes it really
hard and slow to track down, with alot of system restarts :-(
Karl
Bob Arning wrote:
>
> 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
|