Hi Christian, I don't know of any OSG specific problems related to shaders and exiting, so this crash is probably an ATI driver crash. ATI drivers under Windows and Linux (especially) don't have a great reputation for stability. Curiously under OSX ATI driver look better supported than NVidia...
One other possibility is that this bug is a osgProducer/Producer exit problem that in this case is rearing its head in slightly different way than usual. The SVN version of the OSG doesn't use osgProducer anymore so if trying out the SVN version might at least eliminate this possibility. My guess is that this is probably an ATI driver bug though... Robert. On 4/20/07, Christian Muschick <[EMAIL PROTECTED]> wrote:
Hello! It seems to me the following is an ATI driver problem, but I wanted to hear your opinion on it: I have a brand-new Ubuntu Feisty Fawn system, with the openscenegraph package installed. Running the sample osgshaders works, but upon quitting with "esc" the error message at the end of my message results. I get similar errors when the driver compiles a different shader which uses depth shadow textures and two other textures. Has anyone experienced similar problems with ATI drivers? thx alot christian *** glibc detected *** osgshaders: free(): invalid pointer: 0x084145f0 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb76757cd] /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7678e30] /usr/lib/libstdc++.so.5(_ZdlPv+0x23)[0xb6beba53] /usr/lib/dri/fglrx_dri.so(_ZN12TATICompilerD2Ev+0x150)[0xb73eed30] /usr/lib/dri/fglrx_dri.so(_ZN20TATIFragmentCompilerD0Ev+0x50)[0xb7321d20] /usr/lib/dri/fglrx_dri.so(_Z14DeleteCompilerP9TCompiler+0x15)[0xb7321735] /usr/lib/dri/fglrx_dri.so(__glslATIFreeCompilerInterfaceData+0x16)[0xb6e821e6] /usr/lib/dri/fglrx_dri.so(__glslDeleteFragmentShaderObject+0x28)[0xb6f0da88] /usr/lib/dri/fglrx_dri.so(__glslDeleteObject+0xcd)[0xb6f0be5d] /usr/lib/dri/fglrx_dri.so(__glim_DeleteObjectARB+0x3c)[0xb6f0b77c] /usr/lib/libosg.so.4(_ZNK3osg13GL2Extensions14glDeleteShaderEj+0x24)[0xb7aea544] /usr/lib/libosg.so.4(_ZN3osg6Shader21flushDeletedGlShadersEjdRd+0xe5)[0xb7afb915] /usr/lib/libosgUtil.so.4(_ZN7osgUtil9SceneView24flushAllDeletedGLObjectsEv+0x106)[0xb7c5e8c6] /usr/lib/libosgProducer.so.4(_ZN11osgProducer15OsgSceneHandler4drawERN8Producer6CameraE+0x7b)[0xb7e160bb] /usr/lib/libProducer.so.4(_ZN8Producer6Camera6_frameEb+0x17d)[0xb7dcc87d] /usr/lib/libProducer.so.4(_ZN8Producer6Camera5frameEb+0xd0)[0xb7dccb10] /usr/lib/libProducer.so.4(_ZN8Producer11CameraGroup20_singleThreadedFrameEv+0x98)[0xb7dd14a8] /usr/lib/libProducer.so.4(_ZN8Producer11CameraGroup6_frameEv+0x58)[0xb7dd1668] /usr/lib/libProducer.so.4(_ZN8Producer11CameraGroup5frameEv+0x38)[0xb7dd16f8] /usr/lib/libosgProducer.so.4(_ZN11osgProducer14OsgCameraGroup5frameEv+0x81)[0xb7e0b391] /usr/lib/libosgProducer.so.4(_ZN11osgProducer6Viewer5frameEv+0x292)[0xb7e2ab22] /usr/lib/libosgProducer.so.4(_ZN11osgProducer14OsgCameraGroup13cleanup_frameEv+0x117)[0xb7e0d9c7] osgshaders[0x805176a] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7623ebc] osgshaders(__gxx_personality_v0+0x145)[0x804c211] _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
