Hi,
I added a null pointer check so it shouldn't crash anymore but as I
can't reproduce this with qt3 I hope the rendering is also correct.
Andreas
Hi Toni,
the stack trace helps a lot, thanks.
On Tue, 2006-03-07 at 16:37 +0100, Antonio Bleile wrote:
OSGSystemD.dll!osg::DrawActionBase::getWindow() Riga 115 + 0x3 C++
OSGSystemD.dll!osg::TextureChunk::activate(osg::DrawActionBase
* action=0x00000000, unsigned int idx=0) Riga 1545 + 0x8 C++
^^^^^^^^^^
This causes the crash. Apparently the CGFXChunk is the only component
that needs this, which is why it never happened before.
OSGContribD.dll!osg::CGFXChunk::updateParameters(osg::Window *
win=0x04aa9520) Riga 983 + 0x2d C++
OSGContribD.dll!osg::CGFXChunk::handleGL(osg::Window *
win=0x04aa9520, unsigned int idstatus=66) Riga 260 C++
...
OSGSystemD.dll!osg::Window::validateGLObject(unsigned int
id=8) Riga 658 + 0x34 C++
OSGSystemD.dll!osg::Window::validateAllGLObjects() Riga 687 +
0xc C++
The problem is that updateParameters implicitly assumes to only be
called from activate/changeFrom/deactivate, which initialize _action
before they handleGL is called. validateAllGLObjects() doesn't do that,
and it crashes.
Andreas, can you take a look at that?
Dirk
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users