Skip to content

crash when loading preview of cf player module #92

@roberChen

Description

@roberChen

I've encountered with this bug too many times. When I perform a text search on modules, it will likely to crash (I want to search filter and when I typed f it will crash ).
console output:

[29.248 info Window.cpp:73 loadFile] Loaded font /usr/lib/lv2/CardinalSynth.lv2/resources/cf/Segment7Standard.ttf
[29.313 info Window.cpp:73 loadFile] Loaded font /usr/lib/lv2/CardinalSynth.lv2/resources/cf/LEDCalculator.ttf
/usr/include/c++/11.1.0/bits/basic_string.h:1045: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed.
[1]    137552 abort (core dumped)  ardour6

cardinal plugin load info starts with:

[0.000 info CardinalPlugin.cpp:137 Initializer] Cardinal LV2 v2.0
[0.000 info CardinalPlugin.cpp:138 Initializer] Linux 5.15.7-1-MANJARO #1 SMP PREEMPT Wed Dec 8 10:09:19 UTC 2021 x86_64
[0.000 info CardinalPlugin.cpp:139 Initializer] Binary filename: /usr/lib/lv2/CardinalSynth.lv2/CardinalSynth.so
[0.000 info CardinalPlugin.cpp:140 Initializer] Bundle path: /usr/lib/lv2/CardinalSynth.lv2/
[0.000 info CardinalPlugin.cpp:141 Initializer] System directory: /usr/lib/lv2/CardinalSynth.lv2//resources
[0.000 info CardinalPlugin.cpp:142 Initializer] User directory: /usr/lib/lv2/CardinalSynth.lv2//resources
[0.000 info CardinalPlugin.cpp:143 Initializer] Template patch: /usr/lib/lv2/CardinalSynth.lv2/resources/template.vcv

using Ardour6.9.0 (built using 6.9 and GCC version 11.1.0), and cardinal-git Version : r451.353594a-1

note that this bug has been existing at least several days, with many rebuilt to sync with newest version. Also, I was using pipewire-alsa but I think this is noting related to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions