sioyek
sioyek copied to clipboard
/usr/include/c++/13.2.1/bits/stl_vector.h:1125: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = int; _Alloc = std::allocator<int>; reference = int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
I got this when opening a pdf https://philpapers.org/rec/CARTNO-2
$ sioyek ./Carroll-NatureHorror-1987.pdf
default_config_path: /etc/sioyek/prefs.config
default_keys_path: /etc/sioyek/keys.config
user_config_path: [ 0 ] /etc/xdg/sioyek/prefs_user.config
user_config_path: [ 1 ] /home/lyh/.config/sioyek/prefs_user.config
user_keys_path: [ 0 ] /etc/xdg/sioyek/keys_user.config
user_keys_path: [ 1 ] /home/lyh/.config/sioyek/keys_user.config
Error: required 3 values for color, but got 1
Error in config file /home/lyh/.config/sioyek/prefs_user.config at line 5 : visual_mark_color #7f849c
database_file_path: /home/lyh/.local/share/sioyek/test.db
local_database_file_path: /home/lyh/.local/share/sioyek/local.db
global_database_file_path: /home/lyh/.local/share/sioyek/shared.db
tutorial_path: /usr/share/sioyek/tutorial.pdf
last_opened_file_address_path: /home/lyh/.local/share/sioyek/last_document_path.txt
shader_path: /usr/share/sioyek/shaders
Creating shared memory block...
Shared memory created: this is the primary application.
Starting IPC server...
IPC server started.
/usr/include/c++/13.2.1/bits/stl_vector.h:1125: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = int; _Alloc = std::allocator<int>; reference = int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
fish: Job 1, 'sioyek ./Carroll-NatureHorror-1…' terminated by signal SIGABRT (Abort)
This pdf can be open with evince. I'll try to see if I can reproduce on some free pdfs later.