Cardinal
Cardinal copied to clipboard
Use of `_GLIBCXX_ASSERTIONS` causes many codepaths to fail
At least 2 assertion failures can be seen:
- Loading a previously saved Cardinal plugin state (e.g. in Carla)
- Adding Bogaudio pressor to the rack
Assertions so far are all related to std::vector use.
For example Bogaudio one:
/usr/include/c++/11.2.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = rack::engine::Output; _Alloc = std::allocator<rack::engine::Output>; std::vector<_Tp, _Alloc>::reference = rack::engine::Output&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.