bugGnash - The GNU Flash player - Bugs: bug #18242, gtk/agg: assertion failing while...

 
 

bug #18242: gtk/agg: assertion failing while playing warp-forest (head)

Submitted by:  Sandro Santilli <strk>
Submitted on:  Thu 09 Nov 2006 02:15:24 PM UTC  
 
Category: render-aggSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Udo Giacomozzi <udog>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 26 Nov 2006 11:07:02 PM UTC, comment #5:

actually, since I was the original reporter I'm closing this.

Sandro Santilli <strk>
Project Member
Sun 26 Nov 2006 10:50:21 PM UTC, comment #4:

Yes, that patch fixes both cases. Committed.

Sandro Santilli <strk>
Project Member
Sun 26 Nov 2006 10:19:56 AM UTC, comment #3:

Seems like glyphs are being used to draw masks. Can't test this myself ATM, so please try to change the draw_glyph() function to:

void draw_glyph(shape_character_def *def,
const matrix& mat, rgba color, float /pixel_scale/) {

// NOTE: def->get_bound() is NULL for glyphs so we can't check the
// clipping area (bounds_in_clipping_area):

// create a new path with the matrix applied
std::vector<path> paths;
apply_matrix_to_path(def->get_paths(), paths, mat);

// make sure m_single_fill_styles contains the required color
need_single_fill_style(color);

// draw the shape
if (m_drawing_mask)
draw_mask_shape(paths, false);
else
draw_shape(-1, paths, m_single_fill_styles, m_neutral_cxform,
mat, false);

// NOTE: Do not use even-odd filling rule for glyphs!
}

Udo Giacomozzi <udog>
Project MemberIn charge of this item.
Sat 25 Nov 2006 01:54:53 PM UTC, comment #2:

Here's another case for that assertion:
http://homepages.nildram.co.uk/~lovrus/pentagon.swf

Sandro Santilli <strk>
Project Member
Thu 09 Nov 2006 02:23:58 PM UTC, comment #1:

gnash-0.7.2-branch/backend/render_handler_agg.cpp:863: void gnash::render_handler_agg<PixelFormat>::draw_shape_impl(int, const std::vector<gnash::path, std::allocator<gnash::path> >&, const std::vector<gnash::fill_style, std::allocator<gnash::fill_style> >&, const gnash::cxform&, const gnash::matrix&, int, scanline_type&) [with scanline_type = agg::scanline_u8_am<agg::alpha_mask_gray8>, PixelFormat = agg::pixfmt_rgb24]: Assertion `!m_drawing_mask' failed.

Sandro Santilli <strk>
Project Member
Thu 09 Nov 2006 02:15:24 PM UTC, original submission:

https://savannah.gnu.org/bugs/download.php?file_id=10266

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 strk (Posted a comment)
  •  

    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
    Sun 26 Nov 2006 11:07:02 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 26 Nov 2006 10:50:21 PM UTCstrkStatusConfirmed=>Ready For Test
    Mon 20 Nov 2006 03:31:14 PM UTCstrkSummarygtk/agg: assertion failing while playing warp-forest (0.7.2)=>gtk/agg: assertion failing while playing warp-forest (head)
    Sat 11 Nov 2006 02:58:40 PM UTCpertususCarbon-Copy-=>Added pertusus
    Thu 09 Nov 2006 02:23:58 PM UTCstrkCategoryNone=>render-agg
      Severity3 - Normal=>5 - Blocker
      StatusNone=>Confirmed
      Assigned toNone=>udog
      Summarygtk/agg: segfault playing warp-forest=>gtk/agg: assertion failing while playing warp-forest (0.7.2)

    Back to the top


    Powered by Savane 3.1-cleanup1