Windows x64 build runs fine in release but crashes in debug, pic of debugger attached.
Posted: 20 Oct 2017, 01:03
A picture is worth a thousand words so I have uploaded a screenshot of the relevant VS debugger screen.
https://imgur.com/a/epRFU
The error I get on crash is:
crash happens when I try to load a game, main menu runs fine.
Should mRecords really be THAT massive? Am I looking at a memory leak here? I've been tweaking all sorts of stuff for fun (have added new AI packages and re worked the dialogue system), so I can't expect anyone here to pinpoint my issue but I would really appreciate a point in the right direction.
Also, when I complile OpenMW I get these warnings
I have been ignoring them for a while with no harm, maybe they have come back to bite me?
Thanks for any thoughts!
https://imgur.com/a/epRFU
The error I get on crash is:
Code: Select all
Unhandled exception thrown: read access violation.
_Parent_proxy was 0xFFFFFFFFFFFFFFF7.
Should mRecords really be THAT massive? Am I looking at a memory leak here? I've been tweaking all sorts of stuff for fun (have added new AI packages and re worked the dialogue system), so I can't expect anyone here to pinpoint my issue but I would really appreciate a point in the right direction.
Also, when I complile OpenMW I get these warnings
Code: Select all
8>C:\openmw-dev\Greylock\openmw\apps\openmw\mwworld\worldimp.cpp(3486): warning C4315: 'ESM::Header': 'this' pointer for member 'ESM::Header::mSCRD' may not be aligned 8 as expected by the constructor
8> C:\openmw-dev\Greylock\openmw\apps\openmw\mwworld\worldimp.cpp(3486): note: This diagnostic occurred in the compiler generated function 'ESM::Header::Header(ESM::Header &&)'
8>C:\openmw-dev\Greylock\openmw\apps\openmw\mwworld\worldimp.cpp(3486): warning C4315: 'ESM::Header': 'this' pointer for member 'ESM::Header::mSCRS' may not be aligned 8 as expected by the constructor
8> C:\openmw-dev\Greylock\openmw\apps\openmw\mwworld\worldimp.cpp(3486): note: This diagnostic occurred in the compiler generated function 'ESM::Header::Header(ESM::Header &&)'
8>C:\openmw-dev\Greylock\openmw\apps\openmw\mwworld\worldimp.cpp(3486): warning C4315: 'ESM::Header': 'this' pointer for member 'ESM::Header::mMaster' may not be aligned 8 as expected by the constructor
8> C:\openmw-dev\Greylock\openmw\apps\openmw\mwworld\worldimp.cpp(3486): note: This diagnostic occurred in the compiler generated function 'ESM::Header::Header(ESM::Header &&)'
Thanks for any thoughts!