Thanks David, fix now merged and submitted to svn/trunk.
On Mon, Oct 19, 2009 at 11:52 PM, David Callu <[email protected]> wrote: > Hi Robert, > > > I have a Segfault with xine plugin, when I load a video, then delete the > XineStreamImage, > then reload a video and finally delete the second XineStreamImage. > > In src/osgPlugins/xine/video_out_rgb.c, many code is ASM code, and 'clear()' > function is one of them. > If OSG is compiled without the flag COMPILE_ASSEMBLY (default behaviours) > the clear() function is an empty > function and allocated memory is never initialized to 0. So a structure > which contain pointer haven't its pointer set to NULL. > And when we need to delete this pointer, all go bad. > > I join the fixed file. > > > Cheer > David Callu > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
