The stack is corrupted in _getCpuVendor() function
to reproduce the bug, I used the example project included in juce 1.26, line 48:
-
g.drawText (T("click on this window to quit..."),
-
g.drawText (SystemStats::getCpuVendor(),
The error gets spotted by visual c++ 2003, when in debug build.
“RTC failure #2 - Stack around the variable ‘vendor’ was corrupted”.
In release build, the resulting string is empty.
My cpu is reported by windows as “AMD Athlon™ 64 Processor”.
cheers