bugGnash - The GNU Flash player - Bugs: bug #23494, memory error in display list

 
 

bug #23494: memory error in display list

Submitted by:  Benjamin Wolsey <bwy>
Submitted on:  Thu 05 Jun 2008 02:39:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

 Spam posted by an anonymous
Wed 25 Jun 2008 09:49:58 PM UTC, comment #1:

I can't reproduce with trunk, when does it happen ?

Sandro Santilli <strk>
Project Member
Thu 05 Jun 2008 02:39:15 PM UTC, original submission:

I only noticed this while valgrinding - it has no obvious effects, but suggests there is a problem in the display list.

This is while playing golf.swf.

(My last commit to dlist.cpp doesn't fix or change this result at all).

==27109== Conditional jump or move depends on uninitialised value(s)
==27109== at 0x47738C: void agg::render_scanlines_compound_layered<agg::rasterizer_compound_aa<agg::rasterizer_sl_clip<agg::ras_conv_dbl> >, agg::scanline_u8_am<agg::alpha_mask_u8<1, 0, agg::one_component_mask_u8> >, agg::renderer_base<agg::pixfmt_alpha_blend_gray<agg::blender_gray<agg::gray8>, agg::row_accessor<unsigned char>, 1, 0> >, agg::span_allocator<agg::gray8>, gnash::agg_mask_style_handler>(agg::rasterizer_compound_aa<agg::rasterizer_sl_clip<agg::ras_conv_dbl> >&, agg::scanline_u8_am<agg::alpha_mask_u8<1, 0, agg::one_component_mask_u8> >&, agg::renderer_base<agg::pixfmt_alpha_blend_gray<agg::blender_gray<agg::gray8>, agg::row_accessor<unsigned char>, 1, 0> >&, agg::span_allocator<agg::gray8>&, gnash::agg_mask_style_handler&) (agg_pixfmt_gray.h:373)
==27109== by 0x4AE82B: void gnash::render_handler_agg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8, agg::order_rgb>, agg::row_accessor<unsigned char> > >::draw_mask_shape_impl<agg::scanline_u8_am<agg::alpha_mask_u8<1, 0, agg::one_component_mask_u8> > >(std::vector<gnash::Path<float>, std::allocator<gnash::Path<float> > > const&, int, agg::scanline_u8_am<agg::alpha_mask_u8<1, 0, agg::one_component_mask_u8> >&) (render_handler_agg.cpp:1631)
==27109== by 0x4AE934: gnash::render_handler_agg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8, agg::order_rgb>, agg::row_accessor<unsigned char> > >::draw_mask_shape(std::vector<gnash::Path<float>, std::allocator<gnash::Path<float> > > const&, int) (render_handler_agg.cpp:1552)
==27109== by 0x4B068A: gnash::render_handler_agg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8, agg::order_rgb>, agg::row_accessor<unsigned char> > >::draw_shape_character(gnash::shape_character_def*, gnash::matrix const&, gnash::cxform const&, float, std::vector<gnash::fill_style, std::allocator<gnash::fill_style> > const&, std::vector<gnash::line_style, std::allocator<std::vector<gnash::fill_style, std::allocator<gnash::fill_style> > const&> > const&) (render_handler_agg.cpp:980)
==27109== by 0x447C53: gnash::render_handler::draw_shape_character(gnash::shape_character_def, gnash::character) (render_handler.h:434)
==27109== by 0x53B51F3: gnash::generic_character::display() (generic_character.cpp:59)
==27109== by 0x54243EC: gnash::DisplayList::display() (dlist.cpp:685)
==27109== by 0x53CA64B: gnash::sprite_instance::display() (sprite_instance.cpp:3345)
==27109== by 0x54243EC: gnash::DisplayList::display() (dlist.cpp:685)
==27109== by 0x53CA64B: gnash::sprite_instance::display() (sprite_instance.cpp:3345)
==27109== by 0x54243EC: gnash::DisplayList::display() (dlist.cpp:685)
==27109== by 0x53CA64B: gnash::sprite_instance::display() (sprite_instance.cpp:3345)
==27109== Uninitialised value was created by a heap allocation
==27109== at 0x4C1FC9C: operator new[](unsigned long) (vg_replace_malloc.c:274)
==27109== by 0x45BD4E: gnash::render_handler_agg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8, agg::order_rgb>, agg::row_accessor<unsigned char> > >::begin_submit_mask() (render_handler_agg.cpp:280)
==27109== by 0x54243CE: gnash::DisplayList::display() (dlist.cpp:681)
==27109== by 0x53CA64B: gnash::sprite_instance::display() (sprite_instance.cpp:3345)
==27109== by 0x53BE452: gnash::movie_root::display() (movie_root.cpp:1146)
==27109== by 0x42AA52: gnash::Gui::display(gnash::movie_root*) (gui.cpp:769)
==27109== by 0x42BF80: gnash::Gui::advanceMovie() (gui.cpp:941)
==27109== by 0x6E175BA: (within /usr/lib64/libglib-2.0.so.0.1600.2)
==27109== by 0x6E16E91: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.1600.2)
==27109== by 0x6E1A145: (within /usr/lib64/libglib-2.0.so.0.1600.2)
==27109== by 0x6E1A406: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.1600.2)
==27109== by 0x6288922: gtk_main (in /usr/lib64/libgtk-x11-2.0.so.0.1200.9)

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:
   

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)
  • -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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 31 Oct 2008 01:59:34 PM UTCbwyStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1