bugGnash - The GNU Flash player - Bugs: bug #22149, stream.cpp assertion failure from...

 
 

bug #22149: stream.cpp assertion failure from text_glyph_record::read

Submitted by:  Benjamin Wolsey <bwy>
Submitted on:  Mon 28 Jan 2008 05:04:55 PM UTC  
 
Category: parserSeverity: 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 28 Jan 2008 06:57:32 PM UTC, comment #3:

Confirm that's fixed.

Benjamin Wolsey <bwy>
Project Member
Mon 28 Jan 2008 05:14:26 PM UTC, comment #2:

Backtraces are all coming up...

Here's one for this:

#3 0x00002b22648766c7 in gnash::stream::read_uint (this=0x9d5780, bitcount=47)
at stream.cpp:86
#4 0x00002b2264877f4c in gnash::text_glyph_record::read (this=0x9fc990,
in=0x9d5780, glyph_count=224, glyph_bits=-1,
advance_bits=<value optimized out>) at text.cpp:76
#5 0x00002b2264911e45 in gnash::text_character_def::read (this=0x9fcc10,
in=0x9d5780, tag_type=33, m=0x9d8150) at text_character_def.cpp:144
#6 0x00002b226481fcbd in gnash::SWF::tag_loaders::define_text_loader (
in=0x9d5780, tag=gnash::SWF::DEFINETEXT2, m=0x9d8150)
at swf/tag_loaders.cpp:1146
#7 0x00002b2264914566 in gnash::movie_def_impl::read_all_swf (this=0x9d8150)
at movie_def_impl.cpp:780

Benjamin Wolsey <bwy>
Project Member
Mon 28 Jan 2008 05:07:16 PM UTC, comment #1:

Could you please get some backtraces as you go ?
The fix here would be checking the bitcount in the caller.
Not really sure 32 bits is invalid as for SWF specs, but so
far it seems we think it is.
Best would be reading some specs, or remove that assertion
and accept any bitcount that fits in a short

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 28 Jan 2008 05:04:55 PM UTC, original submission:

stream.cpp:86: unsigned int gnash::stream::read_uint(short unsigned int): Assertion »bitcount <= 32« failed.

Benjamin Wolsey <bwy>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #14892:  snoopy_click.zzuf.s576.swf added by bwy (212KiB - 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 bwy (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Jan 2008 06:57:32 PM UTCbwyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 28 Jan 2008 06:44:43 PM UTCstrkCategoryNone=>parser
      StatusNone=>Ready For Test
      Assigned toNone=>strk
      Summarystream.cpp assertion failure=>stream.cpp assertion failure from text_glyph_record::read
    Mon 28 Jan 2008 05:04:55 PM UTCbwyAttached File-=>Added snoopy_click.zzuf.s576.swf, #14892

    Back to the top


    Powered by Savane 3.1-cleanup1