Hi Robert,

What results do you get with the bug fixes I've just checked in?

I've just updated and now I get a single corrupted image flashed onto the screen and then a segfault.

$ osgmovie --mouse --interactive --shaders -e ffmpeg file.avi
image->s()640 image-t()=480 aspectRatio=1
_maxTexturePoolSize=0
_maxBufferObjectPoolSize=0
Created new TextureObject, _numOfTextureObjects 1
GLBufferObjectSet::GLBufferObjectSet _profile._size=1228800
Segmentation fault

If I run in gdb the corrupted image stays, but I'll have to recompile with debug info to give you a more sensible backtrace. Tomorrow... have to go now.

Debug build still did not provide a nice backtrace, but I've followed the crash to

void TextureRectangle::applyTexImage_subload in TextureRectangle.cpp

At the line:

dataPtr = reinterpret_cast<unsigned char*>(pbo->getOffset(image->getBufferIndex()));

dataPtr gets assigned 0 and then the glTexSubImage2D call generates the segfault.

jp

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to