(JUCE 6) Projucer crash on exit

Closing the Projucer, built from the juce6 branch, using the window’s close button causes a read access violation.

Full console output:

JUCE v6.0.0

**********************************************************
Projucer 6.0.0  ---  Build date: Apr 23 2020
Log started: 23 Apr 2020 3:41:20pm

Windows 7
CPU: 2490MHz  Cores: 8  8117MB
Loading project: C:\Users\james\Desktop\JUCE\extras\Projucer\Projucer.jucer
The thread 0x167c has exited with code 0 (0x0).
The thread 0x14a8 has exited with code 0 (0x0).
Exception thrown: read access violation.
**this** was 0xFFFFFFFFFFFFFFFF.

Full call stack:

>	Projucer.exe!juce::HeapBlock<juce::NamedValueSet::NamedValue,0>::operator juce::NamedValueSet::NamedValue *() Line 182	C++
 	Projucer.exe!juce::ArrayBase<juce::NamedValueSet::NamedValue,juce::DummyCriticalSection>::begin() Line 177	C++
 	Projucer.exe!juce::Array<juce::NamedValueSet::NamedValue,juce::DummyCriticalSection,0>::begin() Line 339	C++
 	Projucer.exe!juce::NamedValueSet::getVarPointer(const juce::Identifier & name) Line 161	C++
 	Projucer.exe!juce::NamedValueSet::contains(const juce::Identifier & name) Line 200	C++
 	Projucer.exe!juce::ValueTree::SharedObject::hasProperty(const juce::Identifier & name) Line 152	C++
 	Projucer.exe!juce::ValueTree::hasProperty(const juce::Identifier & name) Line 769	C++
 	Projucer.exe!juce::ValueWithDefault::isUsingDefault() Line 119	C++
 	Projucer.exe!juce::ValueWithDefault::get() Line 89	C++
 	Projucer.exe!Project::getProjectUIDString() Line 171	C++
 	Projucer.exe!Project::getStoredProperties() Line 1418	C++
 	Projucer.exe!ProjectContentComponent::deleteProjectTabs() Line 223	C++
 	Projucer.exe!ProjectContentComponent::setProject(Project * newProject) Line 176	C++
 	Projucer.exe!MainWindow::setProject(std::unique_ptr<Project,std::default_delete<Project>> newProject) Line 270	C++
 	Projucer.exe!MainWindow::closeCurrentProject(OpenDocumentManager::SaveIfNeeded askUserToSave) Line 236	C++
 	Projucer.exe!MainWindowList::askAllWindowsToClose() Line 637	C++
 	Projucer.exe!ProjucerApplication::closeAllMainWindows() Line 1213	C++
 	Projucer.exe!ProjucerApplication::systemRequestedQuit() Line 244	C++
 	Projucer.exe!MainWindowList::closeWindow(MainWindow * w) Line 660	C++
 	Projucer.exe!MainWindow::closeButtonPressed() Line 213	C++
 	Projucer.exe!juce::DocumentWindow::userTriedToCloseWindow() Line 351	C++
 	Projucer.exe!juce::ComponentPeer::handleUserClosingWindow() Line 544	C++
 	Projucer.exe!juce::HWNDComponentPeer::peerWindowProc(HWND__ * h, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 3700	C++
 	Projucer.exe!juce::HWNDComponentPeer::windowProc(HWND__ * h, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 3449	C++
 	[External Code]	
 	Projucer.exe!juce::InternalMessageQueue::dispatchNextMessage(bool returnIfNoPendingMessages) Line 149	C++
 	Projucer.exe!juce::MessageManager::dispatchNextMessageOnSystemQueue(bool returnIfNoPendingMessages) Line 266	C++
 	Projucer.exe!juce::MessageManager::runDispatchLoop() Line 128	C++
 	Projucer.exe!juce::JUCEApplicationBase::main() Line 266	C++
 	Projucer.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 62	C++
 	[External Code]	

Running Projucer in debug, built from Visual Studio 2019 on Windows 7. Using latest of juce6 branch.

This should be fixed on the juce6 branch now:

1 Like