gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but r


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures
Date: Tue, 03 May 2016 14:39:45 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1

Follow-up Comment #8, bug #27952 (project gnash):

On Gnash 0.8.9, the build process went on without error too. But as soon as
Gnash run, it crashed without any output. (Tested by running `gui/gnash -vv -t
10 pcmplay.swf` from build tree)

GDB backtrace gathered from core dump:

#0  0xb6882445 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#1  0x0806f652 in boost::program_options::typed_value<std::string,
char>::default_value (this=0x9c05460, address@hidden) at
/usr/include/boost/any.hpp:110
#2  0x08062937 in getSupportedOptions (address@hidden) at gnash.cpp:441
#3  0x080653e8 in main (argc=5, argv=0xbffeef24) at gnash.cpp:98


Backtrace shows that in command line switches enumeration process, Gnash tries
to tell libboost all available media handlers
<http://git.savannah.gnu.org/cgit/gnash.git/tree/gui/gnash.cpp?id=release_0_8_9_final#n377>,
as well as _the default media handler_ to be used
<http://git.savannah.gnu.org/cgit/gnash.git/tree/gui/gnash.cpp?id=release_0_8_9_final#n378>.
As there are no media handler configured, `front()` method of the handler list
(which is `std::vector`
<http://git.savannah.gnu.org/cgit/gnash.git/tree/gui/gnash.cpp?id=release_0_8_9_final#n303>)
returned `NULL`, causing null pointer dereference inside libboost code, and
crashed Gnash.

Newer Gnash 0.8.10 has a provision for this
<http://git.savannah.gnu.org/cgit/gnash.git/tree/gui/gnash.cpp?id=0.8.10#n389>;
it's not crashing on this spot anymore.

Full GDB backtrace is attached as `pcmplay_gnash0.8.9.disable-media.gdb.log`.
Configure options and test SWF file used is the same as previous post.

Gnash: 0.8.9 (git)
System: Debian GNU/Linux 5.0 Lenny i386


(file #37057)
    _______________________________________________________

Additional Item Attachment:

File name: pcmplay_gnash0.8.9.disable-media.gdb.log Size:19 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27952>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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