bugGnash - The GNU Flash player - Bugs: bug #33780, Hostile Skies caused Gnash to...

 
 

bug #33780: Hostile Skies caused Gnash to freeze on dropping bombs on enemies' plane

Submitted by:  Nachanon Vetjasit <nachanon>
Submitted on:  Sat 16 Jul 2011 07:54:10 AM UTC  
Votes:  15  
 
Category: ActionScriptSeverity: 3 - Normal
Release: 0.8.9Status: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 18 Jul 2011 11:08:17 PM UTC, comment #2:

it should be tested if 'j' should be kept alive or the loop be interrupted. I'm pretty sure there's some test of us for "guarded" target, and we have code implementing target guarding to stop execution (when abortOnUnload is given). EventCode (in ExecutableCode.h) is passing abrtOnUnload=false, btw...

Sandro Santilli <strk>
Project Member
Sat 16 Jul 2011 08:24:55 AM UTC, comment #1:

It's still a bug. The problem appears to be a loop in an onEnterFrame clip event:

j = 2;
while (j <= 3) {
// ...
// Under some condition:
this.removeMovieClip();
++j;
}

The call to removeMovieClip() makes j undefined, so incrementing it becomes NaN, and the loop never terminates.

Benjamin Wolsey <bwy>
Project Member
Sat 16 Jul 2011 07:54:10 AM UTC, original submission:

I've used Gnash 0.8.9 from getgnash.org APT repository on
Debian GNU/Linux 5.0 to play Hostile Skies game (Flash 9)

http://www.miniclip.com/games/hostile-skies/en/
(http://www.miniclip.com/games/hostile-skies/en/hostileskies.swf)

It played pretty fine in Gnash, albeit slowly, with uncontinuous airplane sound which looks more or less like bug #24481 (actionscript sound loop issue).
The game played fine, able to shoot enemies' plane, drop bombs on enemies' ship and submarine,
and able to proceed to all levels.

Except, when I tried to drop the bomb onto enemies' plane (not ship),
as soon as the bomb reached enemies' plane, gnash froze,
gnash's menu didn't respond, gnash window didn't repaint,
and console didn't print anything too.

System: Debian GNU/Linux 5.0 "Lenny" (i386: Intel Celeron 2GHz)
Gnash: gnash 0.8.9-1~lenny (from getgnash.org apt repository)

Nachanon Vetjasit <nachanon>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nachanon (Voted in favor of this item)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by bwy (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 15 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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Aug 2012 04:24:54 AM UTCnachanonCarbon-Copy-=>Added nachanon
    Mon 18 Jul 2011 11:08:17 PM UTCstrkCategoryNone=>ActionScript
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup