bugGnash - The GNU Flash player - Bugs: bug #23549, try/catch fail in mtasc testcase

 
 

bug #23549: try/catch fail in mtasc testcase

Submitted by:  Sandro Santilli <strk>
Submitted on:  Thu 12 Jun 2008 10:26:45 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: 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.

 

Tue 17 Jun 2008 05:16:12 PM UTC, comment #5:

I confirm is fixed (the swfdec one is still failing but I guess it's another issue).

Sandro Santilli <strk>
Project Member
Mon 16 Jun 2008 05:21:29 AM UTC, comment #4:

> throw "try"c


There's no c after "try". This is a ming bug as it compiles fine for me, and it isn't related to this bug report (the actionscript.all Try test is new).

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Mon 16 Jun 2008 12:43:40 AM UTC, comment #3:

usr/bin/makeswf \
-iDejagnu.swf:dejagnu \
-DUSE_DEJAGNU_MODULE \
-DOUTPUT_VERSION=5 -v5 \
-DMING_VERSION_CODE=00040006 -DMEDIADIR='\"`cd ./../media; pwd`\"' \
\
-o Try.swf \
./dejagnu_so_init.as \
./Try.as \
./dejagnu_so_fini.as;
Output file name: Try.swf
Output compression level: 9
Output SWF version: 5
Importing symbols from Dejagnu.swf: dejagnu
Preprocessing ./dejagnu_so_init.as... done.
Compiling `Try.swf.frame0.pp'... successfully compiled 2356 bytes bytecode.
Adding ./dejagnu_so_init.as to frame 0... done.
Preprocessing ./Try.as... done.
Parser error: writing empty block

Compiling `Try.swf.frame1.pp'... failed:
throw "try"c
^
Line 5: Reason: 'syntax error, unexpected STRING, expecting '.' or '[''

make[2]: *** [Try.swf] Error 1
make[2]: Leaving directory `/home/mago/gnash/testsuite/actionscript.all'
make[1]: *** [Try-v5.swf] Error 2
make[1]: Leaving directory `/home/mago/gnash/testsuite/actionscript.all'
make: *** [check-am] Error 2

Markus Gothe <nihilus>
Project Member
Fri 13 Jun 2008 10:50:26 AM UTC, comment #2:

All fixed again.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Thu 12 Jun 2008 12:19:51 PM UTC, comment #1:

It was an infinite recursion caused by not unflagging the exception. I'm glad this was tested after all, and have reinstalled mtasc after a dist upgrade nuked it.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Thu 12 Jun 2008 10:26:45 AM UTC, original submission:

I guess you don't have mtasc installed ?

--=[ ./testsuite/misc-mtasc.all ]=--
FAIL: sanetests-runner: expected: "number" , obtained: "exception" [/home/strk/src/gnash/gnash-head/testsuite/misc-mtasc.all/exception.as:97]
FAIL: sanetests-runner: gprocessor returned an error while playing 'exception.swf'
FAIL: sanetests-runner: expected: "number" , obtained: "exception" [/home/strk/src/gnash/gnash-head/testsuite/misc-mtasc.all/exception.as:97]) doesn't match pattern (_END_OF_TEST_)

Sandro Santilli <strk>
Project Member

 

(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 nihilus (Posted a comment)
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by strk (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 17 Jun 2008 05:16:12 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 13 Jun 2008 10:50:26 AM UTCbwyStatusIn Progress=>Ready For Test
    Thu 12 Jun 2008 12:19:51 PM UTCbwyStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1