[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 07:49:19 +0000 |
User-agent: |
Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1 |
Follow-up Comment #6, bug #27952 (project gnash):
On Gnash 0.8.10, the build process went on without error, but as soon as
`pcmplay.swf` issued `Sound.start()` action, Gnash crashed.
Running `gui/gnash -vv -t 10 pcmplay.swf` from build tree:
8679:1] 125 ERROR: Couldn't find pixmap file: GnashG.png
** (lt-gtk-gnash:8679): WARNING **: Couldn't find pixmap file: GnashG.png
8679:1] 126 DEBUG: gnash::GtkAggGlue::GtkAggGlue() enter
8679:1] 126 DEBUG: gnash::GtkAggGlue::GtkAggGlue() returning
8679:1] 126 DEBUG: virtual bool gnash::GtkAggGlue::init(int, char***) enter
8679:1] 126 DEBUG: virtual bool gnash::GtkAggGlue::init(int, char***)
returning
8679:1] 224 DEBUG: gnash_canvas_size_allocate 219 1
8679:1] 224 DEBUG: virtual void gnash::GtkAggGlue::prepDrawingArea(GtkWidget*)
enter
8679:1] 224 DEBUG: virtual void gnash::GtkAggGlue::prepDrawingArea(GtkWidget*)
returning
8679:1] 224 DEBUG: virtual gnash::Renderer*
gnash::GtkAggGlue::createRenderHandler() enter
8679:1] 227 DEBUG: Framebuffer pixel format is BGRA32 (little-endian host)
8679:1] 227 DEBUG: virtual gnash::Renderer*
gnash::GtkAggGlue::createRenderHandler() returning
8679:1] 227 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int,
int) enter
8679:1] 227 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int,
int) returning
8679:1] 228 DEBUG: /home/window/build/gnashgit/ appended to local sandboxes
8679:1] 228 DEBUG: /home/window/build/gnashgit/pcmplay.swf appended to local
sandboxes
8679:1] 228 SECURITY: Checking security of URL
'file:///home/window/build/gnashgit/pcmplay.swf'
8679:1] 228 SECURITY: Load of file /home/window/build/gnashgit/pcmplay.swf
granted (under local sandbox /home/window/build/gnashgit/)
8679:1] 229 DEBUG: Movie file:///home/window/build/gnashgit/pcmplay.swf (SWF8)
added to library
8679:1] 286 DEBUG: Invalid SOL safe dir /home/window/.gnash/SharedObjects: No
such file or directory. Will try to create on flush/exit.
8679:1] 288 SECURITY: Extensions disabled
8679:1] 304 DEBUG: Advance interval timer set to 10 ms (~ 100 FPS)
8679:1] 305 DEBUG: Loading native class MovieClip
8679:1] 306 DEBUG: Loading native class Sound
8679:1] 312 DEBUG: Sound.start: secOff:0
Segmentation fault (core dumped)
Exerpt from GDB backtrace gathered from core dump:
Core was generated by `/home/window/build/gnashgit/gui/.libs/lt-gtk-gnash -vv
-t 10 pcmplay.swf'.
Program terminated with signal 11, Segmentation fault.
[New process 8679]
#0 gnash::sound::LiveSound::createDecoder (this=0xb5123d80, address@hidden,
address@hidden) at LiveSound.cpp:50
50 _decoder.reset(mh.createAudioDecoder(info).release());
Backtrace shows NULL pointer dereference in libsound's
`LiveSound::CreateDecoder()` as it tries to call `mh.createAudioDecoder()`
<http://git.savannah.gnu.org/cgit/gnash.git/tree/libsound/LiveSound.cpp?id=0.8.10#n50>
but the `MediaHandler mh` argument given to the function is `NULL`. My guess
is because there's no media handler configured, and both `LiveSound` and its
invoker (`EmbedSound`) didn't check for this possibility.
Full GDB backtrace is attached as
`pcmplay_gnash0.8.10.disable-media.gdb.log`.
Configure options and test SWF file used is the same as previous post.
Gnash: 0.8.10 (git)
System: Debian GNU/Linux 5.0 Lenny i386
(file #37055)
_______________________________________________________
Additional Item Attachment:
File name: pcmplay_gnash0.8.10.disable-media.gdb.log Size:111 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27952>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Nutchanon Wetchasit, 2016/05/01
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Nutchanon Wetchasit, 2016/05/03
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures,
Nutchanon Wetchasit <=
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Sandro Santilli, 2016/05/03
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Nutchanon Wetchasit, 2016/05/03
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Nutchanon Wetchasit, 2016/05/03
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Nutchanon Wetchasit, 2016/05/03
- Message not available
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Nutchanon Wetchasit, 2016/05/08
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Nutchanon Wetchasit, 2016/05/08
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Nutchanon Wetchasit, 2016/05/11
- [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures, Sandro Santilli, 2016/05/11