bugGnash - The GNU Flash player - Bugs: bug #16637, edit_text_character_def: assertion...

 
 

bug #16637: edit_text_character_def: assertion failed

Submitted by:  Sandro Santilli <strk>
Submitted on:  Sat 20 May 2006 10:32:33 PM UTC  
 
Category: NoneSeverity: 4 - Important
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.

 

Fri 16 Jun 2006 12:33:16 AM UTC, comment #4:

The attached file is now playable, the other error was a POP
against an empty Stack. Dunno if this is due to a malformed
SWF input or to a bogus action handler failing to push on
the stack something that is required, anyway I cleaned up
the code to handled conditional stack statuses.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 15 Jun 2006 10:00:26 PM UTC, comment #3:

Compile fails for me.

i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./swf -I.. -I../libbase -I.. -I/usr/include -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/libxml2 -DQT_THREAD_SUPPORT -D_REENTRANT -g -ansi -Wall -MT edit_text_character.lo -MD -MP -MF .deps/edit_text_character.Tpo -c edit_text_character.cpp -fPIC -DPIC -o .libs/edit_text_character.o
edit_text_character.cpp: In member function 'void gnash::edit_text_character::format_text()':
edit_text_character.cpp:481: error: 'class gnash::edit_text_character_def' has no member named 'do_word_wrap'
make[2]: *** [edit_text_character.lo] Error 1
make[2]: Leaving directory `/home/andrew/stuff/src/gnash/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andrew/stuff/src/gnash'
make: *** [all] Error 2

Andrew Barr <andrewbarr>
Thu 15 Jun 2006 09:43:20 PM UTC, comment #2:

We had a problem with text not fitting its own defined bounding box. In current CVS (2006-06-15) the assertion has been removed and a warning is raised in these cases.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 13 Jun 2006 10:16:04 AM UTC, comment #1:

I finally hanlded to reproduce the bug with a ming-generated
unit test file, now added to CVS (make DefineEditTextTest.swf under testsuite/misc-ming.all).

Basically, the SWF contains a Bounds definition for the TextField
which is smaller then the required one to draw the fonts. Techically this would be a malformed SWF, but gnash shouldn't
crash for this!

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 20 May 2006 10:32:33 PM UTC, original submission:

Trying to load this:
http://www.npr.org/news/specials/election2006/map/map.swf

An assertion fails in server/edit_text_character_def.cpp.
The file is full of comments about pending bugs, so
needs a good cleanup. Problem seems related to text
size computation and alignment.

See thread on 'gnash' mailing list:
http://lists.gnu.org/archive/html/gnash/2006-05/msg00086.html

Sandro Santilli <strk>
Project MemberIn charge of this item.

 

(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

 

CC list is empty

 

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
Fri 16 Jun 2006 12:33:16 AM UTCstrkOpen/ClosedOpen=>Closed
Thu 15 Jun 2006 09:43:20 PM UTCstrkStatusConfirmed=>Fixed
Thu 15 Jun 2006 02:50:04 AM UTCandrewbarrCarbon-Copy-=>Added -unavailable-
Tue 13 Jun 2006 10:16:04 AM UTCstrkAssigned toNone=>strk

Back to the top


Powered by Savane 3.1-cleanup1