Really weird issue, I've spent a few days looking and dismantling my own code, and finally traced it to my base object that contains a scene node. It only happens on OpenGL, and I saw that it happens when there are 2 or more materials that use scene blending. (doesn't seem to happen if the camera is stationary, only when the camera moves)
It's definitely related to scene_blend because (as noted in the material file), if we comment any 2 of the scene_blend specifications the application doesn't crash.
Since it doesn't happen in any other mode other than Release. (not even RelWithDebInfo from CMake).
Visual Studio default debugger doesn't help at all. This is what I got from WinDbg:
(4bc.1688): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Users\MindCalamity\Documents\Visual Studio 2010\Projects\OGRE_GL_Bug\OGRE_GL_Bug\OgreMain.dll - eax=50c53904 ebx=02384688 ecx=55161660 edx=5093fb50 esi=02384678 edi=00afa590 eip=50932abe esp=0046f3ac ebp=0046f3c8 iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246 OgreMain!Ogre::SharedPtr<Ogre::HardwareCounterBuffer>::destroy+0x545e: 50932abe 8b01 mov eax,dword ptr [ecx] ds:002b:55161660=????????
Environment
Visual Studio 2010 SP1. OGRE 1.10.0 at commit 56501ce from 24.02.2014.
Attachments
1
27 Feb 2014, 09:44 PM
Activity
Show:
Ilija Boshkov
March 4, 2014 at 10:42 PM
Well, I opened up a thread on the forums and with the help of dark_sylinc/Matias Goldber traced the issue to render object depth sorting. Detailed discussion: http://ogre3d.org/forums/viewtopic.php?f=4&t=80314
Really weird issue, I've spent a few days looking and dismantling my own code, and finally traced it to my base object that contains a scene node. It only happens on OpenGL, and I saw that it happens when there are 2 or more materials that use scene blending. (doesn't seem to happen if the camera is stationary, only when the camera moves)
It's definitely related to scene_blend because (as noted in the material file), if we comment any 2 of the scene_blend specifications the application doesn't crash.
Since it doesn't happen in any other mode other than Release. (not even RelWithDebInfo from CMake).
Visual Studio default debugger doesn't help at all.
This is what I got from WinDbg: