You are not logged in.
Pages: 1
Topic closed
Hi. I recently installed Arch, and wanted to use Veracrypt. I installed it, and launched it (using the GUI), before creating a new Veracrypt volume. When I tried to mount the volume, I got the error "Not enough data available". I tried mounting the volume using the CLI, and got 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 = char; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.While writing this post, I tried again (from the GUI) and got a different error:
Broken pipe
VeraCrypt::File::Write:384Now, it seems that when I try to mount from the GUI, I get the "broken pipe" error, and when I mount from the CLI, I get the "Not enough data available" message and the long error message above.
I have tried rebooting, reinstalling Veracrypt, and updating my system.
Can anyone give me some advice on this?
Thank you ![]()
Edit: Tried mounting the volume with root privileges (using the CLI) and it worked. I would still like to work out what's causing this issue though, as if I use this method, I need to be logged in as root to do anything inside the volume, which is pretty inconvenient.
Last edited by disk-destroyer (2023-12-14 23:12:09)
Offline
I'm getting this too, following a system update. I'm guessing the last update to the VeraCrypt package or something else messed something up.
Curiously, I only get the
```
Broken pipe
VeraCrypt::File::Write:384
```
error when trying to "Mount Favorite Volumes"; when trying to mount individual volumes, one by one (still from the GUI), they mount without error.
Offline
And, today, it works! The error seems to've been fixed on my side.
Offline
After updating everything, I still have this issue.
Don't know what's going on here.
Offline
Unfortunately I am still experiencing this issue too. I decided to run veracrypt from the terminal to see the output of the error message and received the following (hope this helps):
/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 = char; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.Offline
I found the root cause of the above mentioned issue:
The user running Veracrypt wasn't part of the sudoers file. Thus, Veracrypt wasn't able to run as root but didn't return a meaningful error message.
You can use 'visudo' command to adjust the file accordingly, eg. uncomment the line that allows all users being part of the 'wheel' group to use sudo.
Offline
which was basically confirmed over the course of the 2 year old thread already.
Closing this old thread.
Offline
Pages: 1
Topic closed