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:
Code: Select all
(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=????????
Reproduction code + binaries here
Tested on:
Windows 7.
Visual Studio 2010 SP1.
OGRE 1.10.0 at commit 56501ce from 24.02.2014.
Anyone have an idea why this wouldn't be reproducible in Debug and RelWithDebInfo (CMake) ?