Users are reporting lots of crashes in release builds, but I’m just not seeing them. So I enabled crash dumps for my app. I’ve gotten one back so far and the call stack looks like this:
ntdll.dll!_RtlpCoalesceFreeBlocks@16() + 0x124e bytes
ntdll.dll!_RtlFreeHeap@12() + 0x91f bytes
MyApp.exe!free(void * pBlock=0x0719d498) Line 110 C
MyApp.exe!juce::Image::~Image() + 0xf bytes C++
MyApp.exe!juce::Image::`vector deleting destructor'() + 0x8 bytes C++
MyApp.exe!juce::MenuItemInfo::~MenuItemInfo() + 0x57 bytes C++
MyApp.exe!juce::PopupMenu::clear() + 0x23 bytes C++
MyApp.exe!juce::PopupMenu::~PopupMenu() + 0x35 bytes C++
MyApp.exe!juce::MenuItemInfo::~MenuItemInfo() + 0x3f bytes C++
MyApp.exe!juce::PopupMenu::clear() + 0x23 bytes C++
MyApp.exe!juce::PopupMenu::~PopupMenu() + 0x35 bytes C++
I’m guessing this means the heap got previously corrupted. Anybody have any other ideas to what it could mean?