Page 1 of 1

Exception with multiple screen with not used SDK textures

Posted: Tue Dec 11, 2018 2:05 pm
by Pellaeon
Ogre Version: 1.11.3
Operating System: Win10 x64
Render System: DX9

Hi,

I have the following issue. When moving my window from my first screen to the second an exception is thrown.
As you see below e.g. the texture "egyptrockyfull.jpg" is missing. My scene doesn't use this texture! But it seems it is part of the OgreSDK. So why does Ogre need this texture although my scene doesn't use it? And why does this happen when I move my application on my second screen? *confused*


Ausnahme ausgelöst bei 0x00007FFFC34EA388 in NoCrashMT.exe: Microsoft C++-Ausnahme: Ogre::FileNotFoundException bei Speicherort 0x0000001F05DBC390.
Ogre: Warning: Failed to restore texture egyptrockyfull.jpg on DeviceCreate.
Ausnahme ausgelöst bei 0x00007FFFC34EA388 in NoCrashMT.exe: Microsoft C++-Ausnahme: Ogre::FileNotFoundException bei Speicherort 0x0000001F05DBC390.
Ogre: Warning: Failed to restore texture ogrelogo.png on DeviceCreate.
Ausnahme ausgelöst bei 0x00007FFFC34EA388 in NoCrashMT.exe: Microsoft C++-Ausnahme: Ogre::FileNotFoundException bei Speicherort 0x0000001F05DBC390.
Ogre: Warning: Failed to restore texture Panels_Diffuse.png on DeviceCreate.

Re: Exception with multiple screen with not used SDK textures

Posted: Tue Dec 11, 2018 3:23 pm
by Pellaeon
Ok, the texture name is because of the RTSS material folder. But when I remove this folder the applications crashes anyway.

The reason for the crash seems to be a stack overflow:

Ausnahme ausgelöst bei 0x00007FFF71C7DE8A (Codec_FreeImage_d.dll) in NoCrashMT.exe: 0xC00000FD: Stack overflow (Parameter: 0x0000000000000001, 0x000000A6C1D03F90).
Ausnahmefehler bei 0x00007FFF71C7DE8A (Codec_FreeImage_d.dll) in NoCrashMT.exe: 0xC000041D: Ausnahmefehler während eines Benutzerrückrufs


I attached a screenshot from my function call list of the debugger. There you can see a repeated function call pattern. I don't know if this is normal or not. Perhaps here is a problem within ogre?


Image

Re: Exception with multiple screen with not used SDK textures

Posted: Tue Dec 11, 2018 5:36 pm
by paroj
can you reproduce this with the sample browser? Probably a duplicate of: https://github.com/OGRECave/ogre/issues/710

Re: Exception with multiple screen with not used SDK textures

Posted: Wed Dec 12, 2018 9:52 am
by Pellaeon
Yes, same behaviour with the sample browser (see attached screenshot)
Image

Re: Exception with multiple screen with not used SDK textures

Posted: Wed Dec 12, 2018 12:03 pm
by paroj