gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #27981] fscommand:quit ineffective if in first frame


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #27981] fscommand:quit ineffective if in first frame
Date: Thu, 14 Jan 2016 15:40:51 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0

Follow-up Comment #5, bug #27981 (project gnash):

Compare an contrast, using Gnash with the same diagnostic patch, but running
SWF that issues `fscommand("quit")` in _second frame_:

`gtk-gnash -vv secondframeexit.swf`:

66 DEBUG: gnash::GtkAggGlue::GtkAggGlue() enter
66 DEBUG: gnash::GtkAggGlue::GtkAggGlue() returning
66 DEBUG: virtual bool gnash::GtkAggGlue::init(int, char***) enter
66 DEBUG: virtual bool gnash::GtkAggGlue::init(int, char***) returning
91 DEBUG: gnash_canvas_size_allocate 261 1
91 DEBUG: virtual void gnash::GtkAggGlue::prepDrawingArea(GtkWidget*) enter
91 DEBUG: virtual void gnash::GtkAggGlue::prepDrawingArea(GtkWidget*)
returning
91 DEBUG: virtual gnash::Renderer* gnash::GtkAggGlue::createRenderHandler()
enter
92 DEBUG: Framebuffer pixel format is BGRA32 (little-endian host)
92 DEBUG: virtual gnash::Renderer* gnash::GtkAggGlue::createRenderHandler()
returning
92 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int, int)
enter
92 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int, int)
returning
92 DEBUG: /home/window/Desktop/secondframeexit/ appended to local sandboxes
92 DEBUG: /home/window/Desktop/secondframeexit/secondframeexit.swf appended to
local sandboxes
93 SECURITY: Checking security of URL
'file:///home/window/Desktop/secondframeexit/secondframeexit.swf'
93 SECURITY: Load of file
/home/window/Desktop/secondframeexit/secondframeexit.swf granted (under local
sandbox /home/window/Desktop/secondframeexit/)
93 DEBUG: Movie
file:///home/window/Desktop/secondframeexit/secondframeexit.swf (SWF7) added
to library
107 SECURITY: Extensions disabled
107 DEBUG: Advance interval timer set to 10 ms (~ 100 FPS)
107 DEBUG: Loading native class MovieClip
108 TRACE: This is first frame.
108 DEBUG: void gnash::Gui::resize_view(int, int) enter
108 DEBUG: void gnash::Gui::resize_view(int, int) returning
109 DEBUG: GtkGui: starting GTK main loop
113 DEBUG: gnash_canvas_size_allocate 320 240
113 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int, int)
enter
113 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int, int)
returning
113 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int, int)
enter
113 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int, int)
returning
113 DEBUG: void gnash::Gui::resize_view(int, int) enter
114 DEBUG: void gnash::Gui::resize_view(int, int) returning
199 TRACE: This is second frame start.
200 DEBUG: GtkGui: terminating GTK main loop level 1
200 TRACE: This is second frame end.
200 DEBUG: GtkGui: GTK main loop ended
200 DEBUG: Main loop ended, cleaning up
201 DEBUG: ~Player - _movieDef refcount: 2 (1 will be dropped now)
201 DEBUG: ~Gui - _movieDef refcount: 1


You'd see that in this case, `gtk_main_quit()` is run while `gtk_main()`
was running, thus no problem on terminating the main loop.

Gnash: 0.8.11dev (patched against git e8b111c 13-Jan-2016)
System: Debian GNU/Linux 7.0 Wheezy i386


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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