[BUG] minor MPEG bug under Linux?

John Hinsley jhinsley at telinco.co.uk
Fri Aug 10 16:37:20 UTC 2001


Karl Ramberg wrote:
> 
> Lex Spoon wrote:
> >
> > > > Odd.  The only way I can see for primHasVideo: to fail is if the
> > > > "handle" argument isn't a valid file handle.  e.g., it is nil, or it
> > > > isn't a ByteArray...  I wonder how that could ever happen?
> > >
> > > Stranger still, it doesn't always happen: sometimes I open up Squeak and
> > > there is no debugger! But this is nowt but a (very) minor annoyance:
> > > I'll go buy another sound card and see what happens.
> > >
> >
> > Whoa, open MPEG files don't survive snapshot+restart, any more than open
> > FileStreams.  If you reload an image, you need to reopen your MPEG
> > files, too.
> >
> > (Arguably, they should try to do a re-open, but currently they don't.)
> 
> They should do... both John and I have added support for that in the
> various classes.
> Karl


Well, I'm not sure what *should* happen ;-) But this error can generally
be reproduced (on my system at least).

SuSE 6.4, glibc 2.1.3, Squeak 3.1a 4173 built from Lex's sources. squeak
-memory 60m

Ok, open up an mpeg morph and load and play an mpeg. Use the X halo to
collapse the morph. Save and quit. Re-start Squeak. 8 times out of 10,
the debugger pops up. (This isn't really a problem unless you've run a
few mpegs, where the debuggers sometimes seem to block the mouse -- they
refuse to either close/collapse or cancel -- quitting again seems to
clear this.) Killing the debuggers and running Smalltalk garbageCollect
seems to result in a fully functioning system.

Any tests you'd like me to try, please let me know. The Mpeg plug in
itself is superb: I've yet to find anything it won't run.

Cheers

John (still saving for a new soundcard ;-)
-- 
******************************************************************************
Marx: "Why do Anarchists only drink herbal tea?"
Proudhon: "Because all proper tea is theft."
******************************************************************************




More information about the Squeak-dev mailing list