Well, at this point I'm even more convinced about the stack corruption thing... Unfortunately I still didn't handle to build gnash with propolice activated.
I guess 'wiping' out deleted memory might help us, but it's probably something that's better implemented as a delete wrapper itself ? --strk; On Mon, Nov 06, 2006 at 05:18:32PM +0100, strk wrote: > On Mon, Nov 06, 2006 at 04:52:47PM +0100, strk wrote: > > On Mon, Nov 06, 2006 at 08:42:43AM -0700, Rob Savoye wrote: > > > strk wrote: > > > > > > > Segfaults in both cases, NOT always. > > > > > > I can't reproduce this anymore... > > > > > > > PS: we should be discussing this in the bug tracker > > > > > > Probably... but we need to decide whether this is a show stopper bug, > > > can we make a workaround... > > > > I think we might try waiting for the loader thread to complete > > mm.. I tried this (ensure_frame_loaded = total_frame_count). > THis ensures that all frames are loaded before the playhead starts. > At that point the loader thread should be just sleeping. > > Well, with -r1 (no sound) it opens up a spash screen, (click to play). > You click and animation starts and almost complete, except > a final Segmentation Fault. > > gdb first lines: > > [Thread debugging using libthread_db enabled] > [New Thread 1092611168 (LWP 17825)] > [New Thread 1103264688 (LWP 17828)] > [Thread 1103264688 (zombie) exited] > > ... loading thread exited ... > > Program received signal SIGSEGV, Segmentation fault. > (gdb) bt > #0 0x4006b8d5 in > gnash::render_handler_agg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb<agg::rgba8, > agg::order_rgb>, agg::row_accessor<unsigned char> > >::clear_framebuffer > (this=0x80bf738, left=602, top=0, width=4294967243, height=43, > color={r = 0 '\0', g = 0 '\0', b = 0 '\0', a = 255 'ÿ'}) > at agg_pixfmt_rgb.h:323 > #1 0x40046d9b in > gnash::render_handler_agg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb<agg::rgba8, > agg::order_rgb>, agg::row_accessor<unsigned char> > >::begin_display > (this=0x80bf738, background_color= > {m_r = 0 '\0', m_g = 0 '\0', m_b = 0 '\0', m_a = 255 'ÿ'}) > at agg_color_rgba.h:250 > #2 0x40118d60 in gnash::render::begin_display (viewport_x0=0, viewport_y0=0, > viewport_width=0, viewport_height=0, x0=0, x1=0, y0=0, y1=0) > at /home/strk/src/gnash/gnash-0.7.2-branch/server/render.cpp:104 > #3 0x400e9b45 in gnash::movie_root::display (this=0x83c8048) at rect.h:160 > #4 0x40284976 in gnash::Gui::display (this=0x8050510, m=0x83c8048) > > --strk; > > > > _______________________________________________ > Gnash-dev mailing list > Gnash-dev@gnu.org > http://lists.gnu.org/mailman/listinfo/gnash-dev -- /"\ ASCII Ribbon Campaign \ / Respect for low technology. X Keep e-mail messages readable by any computer system. / \ Keep it ASCII. _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev