gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] segfault by launching fb-gnash


From: Gabriele Mondada
Subject: [Gnash-dev] segfault by launching fb-gnash
Date: Wed, 18 May 2011 14:29:53 +0200

Hello,
On debian squeeze i686, gnash 0.8.9 from tarball, with:

./configure --prefix=/usr/xxx --disable-menus --enable-renderer=agg 
--enable-gui=fb --disable-plugins --disable-sound --enable-media=none 
--enable-input=touchscreen

I got segmentation fault by launching fb-gnash. Here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0xb76fbf85 in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string(std::string const&) () from 
/usr/lib/libstdc++.so.6
(gdb) bt
#0  0xb76fbf85 in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string(std::string const&) () from 
/usr/lib/libstdc++.so.6
#1  0x0805fb33 in holder (p=<value optimized out>) at 
/usr/include/boost/any.hpp:121
#2  any<std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
> (
    p=<value optimized out>) at /usr/include/boost/any.hpp:46
#3  boost::program_options::typed_value<std::string, char>::default_value (
    p=<value optimized out>)
    at /usr/include/boost/program_options/value_semantic.hpp:197
#4  getSupportedOptions (p=<value optimized out>) at ../gnash.cpp:441
#5  0x08064327 in main (argc=1, argv=0xbffffce4) at ../gnash.cpp:98

By removing pretty all options in getSupportedOptions(), except "input-file", 
there is no more segfault but an other error:

Error: Non-existent media handler  specified

Maybe due to --enable-media=none

Workaround: remove the following lines in Player.cpp:

    if (!_mediaHandler.get()) {
        boost::format fmt =
            boost::format(_("Non-existent media handler %1% specified"))
            % _media;
        throw GnashException(fmt.str());
    }

What can I do to help fixing this in the main-line?
Gabriele Mondada




reply via email to

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