bugGnash - The GNU Flash player - Bugs: bug #20403, countdown doesn't stop at 00:00:00...

 
 

bug #20403: countdown doesn't stop at 00:00:00 and goes negative/NaN

Submitted by:  Martin Guy <martinwguy>
Submitted on:  Sun 08 Jul 2007 04:14:25 PM UTC  
 
Category: ActionScriptSeverity: 3 - Normal
Release: NoneStatus: 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.

 

Mon 09 Jul 2007 03:32:21 AM UTC, comment #4:

Good finding Martin, this was a bad bug. We likely need a big pass over ActionNewEquals testing here, as the as_value::equals function I patches for fixing this doesn't convince me very much.

I added documentation about which invariants should hold, which might come handy when working on a focused testcase for it.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 09 Jul 2007 03:17:11 AM UTC, comment #3:

I found the bug to be in string:00 = number:0 evaluating false in Gnash (expected to evaluate to true, using ActionNewEquals)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 09 Jul 2007 01:58:43 AM UTC, comment #2:

Mmm... the '0-1' string, coming out from an ActionNewAdd(string:0, number:-1) seems correct, so the problem must be with the first argument being a string rather then a number.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sun 08 Jul 2007 04:29:42 PM UTC, comment #1:

Oops, 10-second.

From its flare decompilation it uses clearInterval to stop the count

(file #13271)

Martin Guy <martinwguy>
Sun 08 Jul 2007 04:14:25 PM UTC, original submission:

The attached file should show a 5-second countdown (bomb style) and when it gets to 00:00:00 should stop and show flashing 00:00:00

Instead the count carries on past 0 and goes negative.

(Test it with AGG - opengl and cairo have a rendering problem with this swf)

Martin Guy <martinwguy>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #13271:  countdown.flr added by martinwguy (2KiB - application/octet-stream - Flare decompilation of countdown actionscript)
file #13270:  countdown.swf added by martinwguy (3KiB - application/x-shockwave-flash)

 

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 martinwguy (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 09 Jul 2007 03:32:21 AM UTCstrkStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Mon 09 Jul 2007 01:58:43 AM UTCstrkStatusNone=>In Progress
      Assigned toNone=>strk
    Sun 08 Jul 2007 04:29:42 PM UTCmartinwguyAttached File-=>Added countdown.flr, #13271
    Sun 08 Jul 2007 04:14:25 PM UTCmartinwguyAttached File-=>Added countdown.swf, #13270

    Back to the top


    Powered by Savane 3.1-cleanup1