sdslabs/Rubeus

Read access violation on first time building

Abdul-AZ opened this issue · 1 comments

Master HEAD: a9dd229

OS version: Windows 10 professional 64 bit

CPU/GPU: Intel Core i5-4460 CPU 3.2GHz 64bit / Nvidia GTX 970 gigabyte

Applications used Visual Studio Community 2017 Version 15.9.6 / CMake 1.14.1 / Visual Leak Detector 2.5.1

How it happened I followed the steps shown here and tried building.
I tried running it on release and same exception happens, so I do not think the bug is related with debugging.

Exception is in this function:

inline GraphicComponents::RWindowComponent * getCurrentWindow() const { return m_Window; }

Exception location In the file engine.h in line 131

Exception text Exception thrown: read access violation.
this was nullptr.

Thanks for reporting :)

This is a known issue only on Windows builds on newer versions of Visual Studio (MSVC). An ongoing solution is at #101 which is tackling this issue. It is currently introducing a bug in our image loading library (DevIL).

I will fix in a few days time. However in the meanwhile you can either try to debug #101 or use our Ubuntu builds.