Mark Lemay

Results 11 comments of Mark Lemay

attempting to turn off compiler flags by adding ``` #SET(CMAKE_CXX_FLAGS "-O0") #SET(CMAKE_C_FLAGS "-O0") ``` in `CMakeLists.txt` made no difference. As suggested on the discord, tried the fist mission on the...

This is not as reproducible as I originally thought, after rebuilding (or time passing) the error no longer reliably happens. I was able to get one stack-trace: ``` Maintenance_Callback() soundio_openal.cpp:691...

on the allied demo mission I can get this, after destroying some barrels ``` AnimClass::AnimClass(AnimType, unsigned int, unsigned char, char) anim.cpp:582 AnimClass::AnimClass(AnimType, unsigned int, unsigned char, char) anim.cpp:582 AnimClass::Middle() anim.cpp:1142...

since this seems to be a momory issue I'm trying to run with saitizers, though the options are limited for Mac. I get the following warnings ``` straw.cpp Stack-use-after-scope on...

looks like the sanitizer warning is unrelated to the animation crash. if you remove the code that causes the warning, you can run up the the animation crash without any...

the animation crash is happening because `FixedHeapClass::Allocate` is failing to allocate: ActiveCount= 200 TotalCount= 200 there seems to be a hacky fix to `rules.cpp` with ``` AnimMax = max(AnimMax, 800);...

excellent! I have occasionally been getting the OpenAL bug as well but less frequently. I want to make sure things are actually deallocating before I commit the change. It looks...

It seems like in general it might be better to try and increase the size of the heap if more elements are allocated then there is size: https://github.com/TheAssemblyArmada/Vanilla-Conquer/blob/vanilla/redalert/heap.cpp#L217-L226 . It...

small example of what might not be working in clang ``` #include using namespace std; class car { string name; public: car(string a, int n) { cout

If this does turn out to be a valid fix, we should search for other places that should have this keyword.