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

 
 

bug #16637: edit_text_character_def: assertion failed

Submitter:  Sandro Santilli <strk>
Submitted:  Sat 20 May 2006 10:32:33 PM UTC
   
 
Category:  None Severity:  4 - Important
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  strk
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member
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>
Group Member
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>
Group Member
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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-16 strk Open/ClosedOpen Closed
2006-06-15 strk StatusConfirmed Fixed
2006-06-15 andrewbarr Carbon-Copy- Added -email is unavailable-
2006-06-13 strk Assigned toNone strk

Back to the top

Powered by Savane 3.13-0329.
Corresponding source code