gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] std::bad_cast


From: Andrea Palmatè
Subject: Re: [Gnash-dev] std::bad_cast
Date: Mon, 11 May 2009 19:03:58 +0200

Well,
if i change the code to avoit that kind of catches

        catch (ActionLimitException& ale) // expected and sane
        {
//log_debug("ActionLimitException got from swf_function execution: %s", ale.what());
                throw;
        }
#ifndef __amigaos4__
        catch (std::exception& ex) // unexpected but we can tell what it is
        {
                log_debug("Unexpected exception from swf_function execution: 
%s",
                ex.what());
                throw;
        }
#endif
        catch (...) // unexpected, unknown, but why not cleaning up...
        {
                log_debug("Unknown exception got from swf_function execution");
                throw;
        }

i would expected that a throw will be called but instead i don't receive bad_cast anymore and however i'm not able to understand why some files (like youtube player) doesn't play correctly Is there a way to produce a REALLY VERBOSE file that maybe can help me to discover the differences between linux and amigaos?

Andrea

Il giorno 11/mag/09, alle ore 15:05, Benjamin Wolsey ha scritto:


bu do you thing on Gnash or in some Amiga libraries?
Is hard to understand why i get those errors while on Linux doesn't
And since i receive them in the swf_function is har to understand
which cast is wrong..


That's why you should change swf_function to catch just a
GnashException. You may then get an abort which will help you with
debugging.

I guess that it's an AmigaOS bug. I think there was a similar report on
a different platform in the past, but I can't find it at the moment.

bwy
--
The current release of Gnash is 0.8.5
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
_______________________________________________
Gnash-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnash-dev





reply via email to

[Prev in Thread] Current Thread [Next in Thread]