cli-visualizer icon indicating copy to clipboard operation
cli-visualizer copied to clipboard

Crash upon open

Open amyipdev opened this issue 3 years ago • 8 comments

The following output is yielded:

/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = vis::ColorDefinition; _Alloc = std::allocator<vis::ColorDefinition>; std::vector<_Tp, _Alloc>::reference = vis::ColorDefinition&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
                                [1]    78151 IOT instruction (core dumped)  vis

amyipdev avatar Jan 13 '22 21:01 amyipdev

Happens to me too:

os: arch
using: pulseaudio
installed via yay (both stable and git version crash)

xNaCly avatar Jan 14 '22 15:01 xNaCly

Happening to me too. Using Artix and pulseaudio, installed with yay.

/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = vis::ColorDefinition; _Alloc = std::allocator<vis::ColorDefinition>; std::vector<_Tp, _Alloc>::reference = vis::ColorDefinition&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
                                             zsh: IOT instruction  vis
                                                                      %

Skrib avatar Feb 14 '22 01:02 Skrib

Exactly the same error for me, installed with yay, package version 1.8-8

/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 = vis::ColorDefinition; _Alloc = std::allocator<vis::ColorDefinition>; std::vector<_Tp, _Alloc>::reference = vis::ColorDefinition&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
 zsh: IOT instruction (core dumped)  command vis

Laura7089 avatar Feb 27 '22 17:02 Laura7089

I'm having the same problem, is there any updates?, I'm on manjaro, tried with both AUR packages cli-visualizer and cli-visualizer-git, default config file but with the pulse audio part

OscarGPDev avatar Mar 26 '22 16:03 OscarGPDev

I am also having the same issue

Celibistrial avatar Apr 17 '22 15:04 Celibistrial

Any devs going to maybe respond same issue here....

dcindallas avatar Apr 25 '22 03:04 dcindallas

exact same... in arch with pulseaudio

Edit: Okay... just ignore the AUR package. Clone this repo and run install.sh It worked. AUR package is broken.

MaywormIII avatar May 11 '22 19:05 MaywormIII

a fix: add options(!buildflags) to the PKGBUILD like this. Reference: https://wiki.archlinux.org/title/Makepkg#Troubleshooting

streetsamurai00mi avatar Jul 01 '22 21:07 streetsamurai00mi