Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Songbuilder debug assert #1540

Open
NoxyNixie opened this issue Mar 1, 2024 · 0 comments
Open

Songbuilder debug assert #1540

NoxyNixie opened this issue Mar 1, 2024 · 0 comments

Comments

@NoxyNixie
Copy link
Collaborator

The following debug assert is triggered when moving the mouse over the songbuilder in debug mode

Debug Assertion Failed!

Program: ...re\build\Source\BespokeSynth_artefacts\Debug\BespokeSynth.exe
File: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include\vector
Line: 192

Expression: vector iterators incompatible

Call stack:

 	BespokeSynth.exe!std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<IUIControl *>>>::_Compat(const std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<IUIControl *>>> & _Right) Line 192	C++
 	BespokeSynth.exe!std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<IUIControl *>>>::operator==(const std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<IUIControl *>>> & _Right) Line 156	C++
 	BespokeSynth.exe!std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<IUIControl *>>>::operator!=(const std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<IUIControl *>>> & _Right) Line 166	C++
>	BespokeSynth.exe!VectorContains<IUIControl *>(IUIControl * element, const std::vector<IUIControl *,std::allocator<IUIControl *>> & vec) Line 275	C++
 	BespokeSynth.exe!IUIControl::IsPreset() Line 50	C++
 	BespokeSynth.exe!IUIControl::GetColors(ofColor & color, ofColor & textColor) Line 202	C++
 	BespokeSynth.exe!FloatSlider::Render() Line 127	C++
 	BespokeSynth.exe!IClickable::Draw() Line 46	C++
 	BespokeSynth.exe!StepSequencer::DrawModule() Line 417	C++
 	BespokeSynth.exe!IDrawableModule::DrawFrame(float w, float h, bool drawModule, float & titleBarHeight, float & highlight) Line 323	C++
 	BespokeSynth.exe!IDrawableModule::Render() Line 382	C++
 	BespokeSynth.exe!IClickable::Draw() Line 46	C++
 	BespokeSynth.exe!ModuleContainer::DrawModules() Line 76	C++
 	BespokeSynth.exe!Prefab::DrawModule() Line 178	C++
 	BespokeSynth.exe!IDrawableModule::DrawFrame(float w, float h, bool drawModule, float & titleBarHeight, float & highlight) Line 323	C++
 	BespokeSynth.exe!IDrawableModule::Render() Line 382	C++
 	BespokeSynth.exe!IClickable::Draw() Line 46	C++
 	BespokeSynth.exe!ModuleContainer::DrawModules() Line 76	C++
 	BespokeSynth.exe!ModuleContainer::DrawContents() Line 66	C++
 	BespokeSynth.exe!ModularSynth::Draw(void * vg) Line 582	C++
 	BespokeSynth.exe!MainContentComponent::render() Line 379	C++
 	BespokeSynth.exe!juce::OpenGLAppComponent::renderOpenGL() Line 62	C++
 	BespokeSynth.exe!juce::OpenGLContext::CachedImage::renderFrame(juce::MessageManager::Lock & mmLock) Line 405	C++
 	BespokeSynth.exe!juce::OpenGLContext::CachedImage::RenderThread::renderAll() Line 787	C++
 	BespokeSynth.exe!juce::OpenGLContext::CachedImage::RenderThread::<lambda>() Line 876	C++
 	[External Code]	
 	BespokeSynth.exe!thread_start<unsigned int (__cdecl*)(void *),1>(void * const parameter) Line 97	C++
 	[External Code]	

(I may figure this one out myself but for now I need to write this down before I forget about it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant