bugGnash - The GNU Flash player - Bugs: bug #19223, Segfault playing adv

 
 

bug #19223: Segfault playing adv

Submitted by:  Sandro Santilli <strk>
Submitted on:  Tue 06 Mar 2007 09:35:54 PM UTC  
 
Category: render-aggSeverity: 4 - Important
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.

 

Wed 07 Mar 2007 11:01:36 AM UTC, comment #4:

Found the problem. The segfault was raised in agg_alpha_mask::clear(). The real problem was "visiblerect" not being intialized correctly. (0,0,xres,yres) is one pixel too large in both directions.

I also fixed various Range2d usage issues. The point is that Range2d(0,0,0,0) is one pixel and Range2d(0,0,1,1) are four pixels!

Udo Giacomozzi <udog>
Project MemberIn charge of this item.
Wed 07 Mar 2007 10:22:41 AM UTC, comment #3:

The problem is not in clear_framebuffer(), it must be somewhere outside that function. Will tell you more later...

Udo Giacomozzi <udog>
Project MemberIn charge of this item.
Tue 06 Mar 2007 10:20:31 PM UTC, comment #2:

About that warning: Is this with current CVS, i.e. after Bastiaan's patch 18:40 CET?

Anyway, I'll have a look at this tomorrow. I think I know the reason for this...

Udo Giacomozzi <udog>
Project MemberIn charge of this item.
Tue 06 Mar 2007 10:16:18 PM UTC, comment #1:

The segfault happens right after this warning is raised:

WARNING: clear_framebuffer() called with width=0

Which is after an "events" text appears going to the left.

Sandro Santilli <strk>
Project Member
Tue 06 Mar 2007 09:35:54 PM UTC, original submission:

http://ads.ingame.de/banner/ingame_portal_banner_hardcoded.swf

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227839808 (LWP 10563)]
0xb79cb184 in agg::pixfmt_alpha_blend_gray<agg::blender_gray<agg::gray8>, agg::row_accessor<unsigned char>, 1u, 0u>::copy_hline (this=0x82db860, x=0, y=372,
len=4294784872, c=@0xbf90d7ae) at agg_pixfmt_gray.h:257
257 *p = c.v;
(gdb) bt
#0 0xb79cb184 in agg::pixfmt_alpha_blend_gray<agg::blender_gray<agg::gray8>, agg::row_accessor<unsigned char>, 1u, 0u>::copy_hline (this=0x82db860, x=0,
y=372, len=4294784872, c=@0xbf90d7ae) at agg_pixfmt_gray.h:257
#1 0xb79cb2bb in gnash::agg_alpha_mask::clear (this=0x82db848, region=@0x82cf3a0) at /home/strk/src/gnash/gnash-head/backend/render_handler_agg.cpp:277
#2 0xb79e88f4 in 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 (this=0x8203f00) at /home/strk/src/gnash/gnash-head/backend/render_handler_agg.cpp:744
#3 0xb78840f0 in gnash::render::begin_submit_mask () at /home/strk/src/gnash/gnash-head/server/render.cpp:240
#4 0xb78609dc in gnash::DisplayList::display (this=0x822d4bc) at /home/strk/src/gnash/gnash-head/server/dlist.cpp:653
#5 0xb782ece0 in gnash::sprite_instance::display (this=0x822d3f8) at /home/strk/src/gnash/gnash-head/server/sprite_instance.cpp:3030
#6 0xb781cc6a in gnash::movie_root::display (this=0x82316a0) at /home/strk/src/gnash/gnash-head/server/movie_root.cpp:525
#7 0xb7a217e4 in gnash::Gui::display (this=0x8055bb8, m=0x82316a0) at /home/strk/src/gnash/gnash-head/gui/gui.cpp:345
#8 0xb7a218a5 in gnash::Gui::advance_movie (gui=0x8055bb8) at /home/strk/src/gnash/gnash-head/gui/gui.cpp:414

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 udog (Posted a comment)
  • -unavailable- added by strk (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Mar 2007 11:01:36 AM UTCudogStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Wed 07 Mar 2007 09:44:45 AM UTCudogStatusNone=>In Progress
    Tue 06 Mar 2007 09:35:54 PM UTCstrkCarbon-Copy-=>Added bjacques

    Back to the top


    Powered by Savane 3.1-cleanup1