[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 12:52:58 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0 |
Follow-up Comment #4, bug #27981 (project gnash):
First assertion error message seems to be caused by calling `gtk_main_quit()`
before the GUI code enters `gtk_main()`. I have created a dummy patch
which prints DEBUG message when `gtk-gnash` enter/terminate/exit main GTK
loop,
see the attached `show-gtk-main-loop-level.patch`.
After applied the patch, I tested using `gtk-gnash -vv singleframeexit.swf`:
81 DEBUG: gnash::GtkAggGlue::GtkAggGlue() enter
81 DEBUG: gnash::GtkAggGlue::GtkAggGlue() returning
81 DEBUG: virtual bool gnash::GtkAggGlue::init(int, char***) enter
81 DEBUG: virtual bool gnash::GtkAggGlue::init(int, char***) returning
112 DEBUG: gnash_canvas_size_allocate 257 1
112 DEBUG: virtual void gnash::GtkAggGlue::prepDrawingArea(GtkWidget*) enter
112 DEBUG: virtual void gnash::GtkAggGlue::prepDrawingArea(GtkWidget*)
returning
112 DEBUG: virtual gnash::Renderer* gnash::GtkAggGlue::createRenderHandler()
enter
113 DEBUG: Framebuffer pixel format is BGRA32 (little-endian host)
113 DEBUG: virtual gnash::Renderer* gnash::GtkAggGlue::createRenderHandler()
returning
113 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int, int)
enter
113 DEBUG: virtual void gnash::GtkAggGlue::setRenderHandlerSize(int, int)
returning
113 DEBUG: /home/window/Desktop/firstframeexit/ appended to local sandboxes
113 DEBUG: /home/window/Desktop/firstframeexit/singleframeexit.swf appended to
local sandboxes
114 SECURITY: Checking security of URL
'file:///home/window/Desktop/firstframeexit/singleframeexit.swf'
114 SECURITY: Load of file
/home/window/Desktop/firstframeexit/singleframeexit.swf granted (under local
sandbox /home/window/Desktop/firstframeexit/)
114 DEBUG: Movie
file:///home/window/Desktop/firstframeexit/singleframeexit.swf (SWF7) added to
library
139 SECURITY: Extensions disabled
139 DEBUG: Advance interval timer set to 10 ms (~ 100 FPS)
139 DEBUG: Loading native class MovieClip
140 TRACE: This is first frame start.
142 DEBUG: GtkGui: terminating GTK main loop level 0
(gtk-gnash:20173): Gtk-CRITICAL **: IA__gtk_main_quit: assertion `main_loops
!= NULL' failed
142 TRACE: This is first frame end.
142 DEBUG: void gnash::Gui::resize_view(int, int) enter
142 DEBUG: void gnash::Gui::resize_view(int, int) returning
(gtk-gnash:20173): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion
`GDK_IS_WINDOW (window)' failed
(gtk-gnash:20173): Gdk-CRITICAL **: IA__gdk_window_process_updates: assertion
`GDK_IS_WINDOW (window)' failed
151 DEBUG: GtkGui: starting GTK main loop
>From debug output, you'd see that Gnash tried to terminate main GTK loop
before
the main loop is run, so it failed. When the GTK main loop is run afterward,
there were nothing else to stop it, so Gnash simply froze instead of exiting.
Gnash: 0.8.11dev (patched against git e8b111c 13-Jan-2016)
System: Debian GNU/Linux 7.0 Wheezy i386
(file #36027)
_______________________________________________________
Additional Item Attachment:
File name: show-gtk-main-loop-level.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27981>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/