Cardinal icon indicating copy to clipboard operation
Cardinal copied to clipboard

Use of `_GLIBCXX_ASSERTIONS` causes many codepaths to fail

Open falkTX opened this issue 3 years ago • 0 comments

At least 2 assertion failures can be seen:

  1. Loading a previously saved Cardinal plugin state (e.g. in Carla)
  2. 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.

falkTX avatar Feb 17 '22 23:02 falkTX