swesterfeld / liquidsfz

SFZ Sampler
Mozilla Public License 2.0
87 stars 12 forks source link

Crash in Ardour6 on Fedora 34 #27

Open baumgartnerniels opened 3 years ago

baumgartnerniels commented 3 years ago

Hello

I just tried installing and running liquidsfz in Ardour 6 on a Fedora 34 machine. When Ardour loads the lv2 plugin it crashes with:

Reading player:liquidsfz took 500 microseconds, final size = 0 /usr/include/c++/11/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = char; _Alloc = std::allocator<char>; std::vector<_Tp, _Alloc>::reference = char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed. zsh: IOT instruction (core dumped) ardour6

I found some Github Issues in random projects that have the same stl_vector issue after compiling their software with a new gcc version. Maybe the are useful for reference. They all were related to actual bugs that were detected by the new gcc. msoos/cryptominisat#643 mamedev/mame#7760 arminbiere/cadical#31

Previous discussion here with @ycollet who maintains the packaged version for Fedora I tried to install: https://github.com/ycollet/fedora-spec/issues/25

swesterfeld commented 2 years ago

This could be the same problem as this one https://github.com/swesterfeld/liquidsfz/issues/34 and if that is the case, it should be fixed by this commit https://github.com/swesterfeld/liquidsfz/commit/01f0eb84f8efb3728f8627c9c37176902bba8e0a

So please let me know if you still have problems when using the latest release, liquidsfz-0.3.1 (or build from github/master).