bugGnash - The GNU Flash player - Bugs: bug #28830, Regression: Assertion `fmt !=...

 
 

bug #28830: Regression: Assertion `fmt != ARG_NONE' failed

Submitted by:  Daniel Michalik <argafal>
Submitted on:  Sat 06 Feb 2010 04:46:43 PM UTC  
 
Category: coreSeverity: 5 - Blocker
Release: trunkStatus: Fixed
Privacy: PublicAssigned to: Benjamin Wolsey <bwy>
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 08 Feb 2010 08:40:58 AM UTC, comment #2:

The opcode 0x89 (strict mode) was present. Gnash now handles that because it's a known opcode, even though it's not relevant for execution, and we don't want to warn about it. The actual bug was really a bogus assert, which has also been dropped with revision 11920.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Sat 06 Feb 2010 05:15:59 PM UTC, comment #1:

Only crashes with -va. Otherwise logs the following:

11808:4] 18:14:33 ERROR: *** no tag loader for type 255 (movie)
11808:4] 18:14:34 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
11808:4] 18:14:34 DEBUG: This SWF uses AVM1
11808:4] 18:14:34 DEBUG: HTTP response 200 from url http://www.surfthechannel.com/swf/9ca0ba076c4dbc037b263b11deb41db9.swf
11808:1] 18:14:34 DEBUG: processCompletedRequest: _level loading (level 1)
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89
11808:1] 18:14:34 ERROR: Unsupported action handler invoked, code at pc is 0x89

But no memory corruption, so it may be a malformed SWF. I'll investigate further and fix the crash.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Sat 06 Feb 2010 04:46:43 PM UTC, original submission:

When visiting http://www.surfthechannel.com/link/1/1029/5142467/0.html or any other surfthechannel "Visit host website" page, I see the flash appearing for a second (Blue text "Click here to go to host webpage" on white bg), afterwards it turns into a grey box (gnash crashes).

On the console I see:
gtk-gnash: ../../../libcore/parser/action_buffer.cpp:195: std::string gnash::disasm_instruction(const unsigned char*, size_t): Assertion `fmt != ARG_NONE' failed.

ps aux lists:
1000 8463 1.2 0.0 0 0 pts/5 Z+ 17:45 0:00 [gtk-gnash] <defunct>

Version used is 0.8.6-2 from Debian. I believe this did not happen before upgrading to this release, hence I marked it as regression. STC might of course has changed something in between so I wouldn't be absolutely sure that it was introduced with this release.

Launcher attached, please tell me what other information I should provide.

Daniel Michalik <argafal>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #19633:  gnash-debug-2.sh added by argafal (1KiB - application/x-sh - Correct launcher)
file #19632:  gnash-debug-5.sh added by argafal (577B - application/x-sh - Launcher)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by argafal (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 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Feb 2010 02:35:07 PM UTCbwyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 08 Feb 2010 08:40:58 AM UTCbwyStatusConfirmed=>Ready For Test
    Sat 06 Feb 2010 05:15:59 PM UTCbwyCategoryrelease 0.8.6=>core
      Severity3 - Normal=>5 - Blocker
      ReleaseNone=>trunk
      StatusNone=>Confirmed
      Assigned toNone=>bwy
    Sat 06 Feb 2010 05:07:41 PM UTCargafalAttached File-=>Added gnash-debug-2.sh, #19633
    Sat 06 Feb 2010 04:46:43 PM UTCargafalAttached File-=>Added gnash-debug-5.sh, #19632

    Back to the top


    Powered by Savane 3.1-cleanup1