bugGnash - The GNU Flash player - Bugs: bug #46308, `gtk-gnash --once` freezes when...

 
 

bug #46308: `gtk-gnash --once` freezes when used on single-frame SWF

Submitted by:  Nutchanon Wetchasit <nachanon>
Submitted on:  Wed 28 Oct 2015 11:47:53 AM UTC  
 
Category: guiSeverity: 3 - Normal
Release: masterStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 22 Jan 2016 07:55:20 AM UTC, comment #8:

For the framebuffer UI issue mentioned in comment 7, it is now separately reported as bug #46949.

Nutchanon Wetchasit <nachanon>
Mon 18 Jan 2016 09:11:29 AM UTC, comment #7:

Current git version of Gnash is now playing and terminating properly with single-frame test SWF in oneshot mode. (Checked with GTK, Qt4, SDL, and Dump UI)

So, this bug could now be marked as fixed.

GTK GUI:

Qt4 GUI:

SDL GUI:

Dump GUI:

Note: Gnash's framebuffer UI is not tested as there is an unrelated issue which caused it to leave the console screen unusable after it exited.

Gnash: 0.8.11 (git 62cfdfe 16-Jan-2016)
System: Debian GNU/Linux 7.0 Wheezy i386

Nutchanon Wetchasit <nachanon>
Sat 16 Jan 2016 11:13:01 AM UTC, comment #6:

Fixed by patch #8858. I tested with gtk,qt4 and sdl guis.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 15 Jan 2016 10:03:38 AM UTC, comment #5:

After applied the first patch of patch #8858, you'd see that running
`gtk-gnash --once singleframe.swf` now terminates gracefully by itself:

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

Nutchanon Wetchasit <nachanon>
Thu 14 Jan 2016 04:37:00 PM UTC, comment #4:

See patch #8858, which also fix this issue.

Nutchanon Wetchasit <nachanon>
Thu 14 Jan 2016 02:54:21 PM UTC, comment #3:

With diagnostic patch from bug #27981 (`show-gtk-main-loop-level.patch`
file #36027), debug output shows that the freeze of this bug is also caused
by gtk-gnash trying to exit main GTK loop before `gtk_main()` was run;
the same root cause as bug #27981 minus window-related assertion warnings.

`gtk-gnash -vv --once singleframe.swf`:

Thus, when the real `gtk_main()` is run, nothing stops it.

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

Nutchanon Wetchasit <nachanon>
Sun 13 Dec 2015 12:28:53 PM UTC, comment #2:

See also bug #27981 (First-frame `fscommand("quit")` failure) which involves exiting on first frame in different way.

Nutchanon Wetchasit <nachanon>
Wed 28 Oct 2015 12:16:04 PM UTC, comment #1:

The previously-attached `singleframe.zip` mistakenly omitted binary SWF files,
sorry. SWF files are now included in the new `singleframe-swf.zip`.

(file #35320)

Nutchanon Wetchasit <nachanon>
Wed 28 Oct 2015 11:47:53 AM UTC, original submission:

I have created a simple one-frame Flash 7 file using SWFmill, and run it
on Gnash using oneshot mode:

Gnash supposed to render this one-frame SWF and exit. Window was briefly
displayed and quickly vanished as expected, but instead of exiting gracefully,
Gnash froze, and command-line interrupt (Ctrl+C or Ctrl+\) was needed to exit.

Following is a console output:

Test SWF, source code, build script, Gnash log (verbosity 2) and GDB backtrace
(collected from SIGQUIT core dump) are attached.

Note #1: `qt4-gnash`, and `dump-gnash` don't seem to be affected by this issue.
Note #2: `gtk-gnash -vv --once` seems to work well with two-frame SWF.

Gnash: 0.8.11dev (git f0f66ce 23-Sep-2015)
System: Debian GNU/Linux 7.0 Wheezy i386

Nutchanon Wetchasit <nachanon>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #35320:  singleframe-swf.zip added by nachanon (11KiB - application/x-zip - Test SWF files, build script, log, and backtrace)
file #35319:  singleframe.zip added by nachanon (10KiB - application/x-zip - Test Flash file, build script, log, and backtrace)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by nachanon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 18 Jan 2016 11:47:16 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 16 Jan 2016 11:13:01 AM UTCstrkStatusNone=>Ready For Test
      Assigned toNone=>strk
    Wed 28 Oct 2015 12:16:04 PM UTCnachanonAttached File-=>Added singleframe-swf.zip, #35320
    Wed 28 Oct 2015 11:47:53 AM UTCnachanonAttached File-=>Added singleframe.zip, #35319

    Back to the top


    Powered by Savane 3.1-cleanup1