[GH-ISSUE #1829] Barrier c++ 12.2.0 stl_vector.h error #1344

Open
opened 2026-05-05 07:44:40 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @VijayKM01 on GitHub (Nov 7, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1829

What happened?

Hi,
Firstly, kudos to all the contributors for developing and maintaining this amazing piece of software.

I have been trying to get barrier to work, since the update to version 2.4.0-2, was absolutely fine until 2.4.0-1.
I'm getting the following error:

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

I'm not really sure what is causing this error, and tried googling and searching for similar issues in this repo to no avail.
I've also tried downgrading both barrier and barrier-headless to version 2.4.0-1 using pacman, but got the following error when launched post downgrade:

/usr/bin/barriers: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

I've attached the relevant log output, and will try my best to provide any other relevant information.
Barrier_Log_STL_Error.txt

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Arch Linux Repo
https://archlinux.org/packages/community/x86_64/barrier/

What OSes are you seeing the problem on? (Check all that apply)

Linux

What OS versions are you using?

Arch Linux ( 6.0.7-arch1-1 )

Relevant log output

Log file attached, couldn't paste the output here due to max character limit (65536 characters)

Any other information

No response

Originally created by @VijayKM01 on GitHub (Nov 7, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1829 ### What happened? Hi, Firstly, kudos to all the contributors for developing and maintaining this amazing piece of software. I have been trying to get barrier to work, since the update to version 2.4.0-2, was absolutely fine until 2.4.0-1. I'm getting the following error: /usr/include/c++/12.2.0/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; reference = unsigned char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. [1] 60656 IOT instruction (core dumped) I'm not really sure what is causing this error, and tried googling and searching for similar issues in this repo to no avail. I've also tried downgrading both barrier and barrier-headless to version 2.4.0-1 using pacman, but got the following error when launched post downgrade: /usr/bin/barriers: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory I've attached the relevant log output, and will try my best to provide any other relevant information. [Barrier_Log_STL_Error.txt](https://github.com/debauchee/barrier/files/9950821/Barrier_Log_STL_Error.txt) ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? Arch Linux Repo https://archlinux.org/packages/community/x86_64/barrier/ ### What OSes are you seeing the problem on? (Check all that apply) Linux ### What OS versions are you using? Arch Linux ( 6.0.7-arch1-1 ) ### Relevant log output ```shell Log file attached, couldn't paste the output here due to max character limit (65536 characters) ``` ### Any other information _No response_
Author
Owner

@robywoo commented on GitHub (Nov 12, 2022):

just tried to download Barrier to my Mac which is Catalina 10.15 OS. Cant install because Mac can't guarantee there is no malware in the app. Is it safe? If so how what do I have to do to install it

<!-- gh-comment-id:1312341502 --> @robywoo commented on GitHub (Nov 12, 2022): just tried to download Barrier to my Mac which is Catalina 10.15 OS. Cant install because Mac can't guarantee there is no malware in the app. Is it safe? If so how what do I have to do to install it
Author
Owner

@mertcanbs commented on GitHub (Nov 23, 2022):

just tried to download Barrier to my Mac which is Catalina 10.15 OS. Cant install because Mac can't guarantee there is no malware in the app. Is it safe? If so how what do I have to do to install it

Right-click & click "Open" instead of double-clicking.

<!-- gh-comment-id:1325595865 --> @mertcanbs commented on GitHub (Nov 23, 2022): > > just tried to download Barrier to my Mac which is Catalina 10.15 OS. Cant install because Mac can't guarantee there is no malware in the app. Is it safe? If so how what do I have to do to install it Right-click & click "Open" instead of double-clicking.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1344
No description provided.