Hi. >> Message: Process 8174 (sioyek) of user 1000 dumped core. >> >> Module libudev.so.1 from deb systemd-255.2-3.amd64 >> Module libsystemd.so.0 from deb systemd-255.2-3.amd64 >> Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2.amd64 >> Stack trace of thread 8174: >> #0 0x00007f9c5755e773 >> _ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_assignERKS4_ >> (libstdc++.so.6 + 0x15e773) >> #1 0x000055fff30c0f40 n/a (sioyek + 0xd4f40)
> This location in the sioyek binary points to line 1589 or 1590 in > pdf_viewer/main_widget.cpp in the function > MainWidget::update_current_history_index, but I'm unable to recreate the > crash myself. Oh, I see. Something about my local environment then. > Does the crash happen after a specific sequence of events? Or at random? > Are you able to reproduce it yourself? It happens consistently at launch. hermogenes@avalon:~$ sioyek default_config_path: /etc/sioyek/prefs.config default_keys_path: /etc/sioyek/keys.config user_config_path: [ 0 ] /usr/share/desktop-base/kf5-settings/sioyek/prefs_user.config user_config_path: [ 1 ] /etc/xdg/sioyek/prefs_user.config user_config_path: [ 2 ] /home/hermogenes/.config/kdedefaults/sioyek/prefs_user.config user_config_path: [ 3 ] /home/hermogenes/.config/sioyek/prefs_user.config user_keys_path: [ 0 ] /usr/share/desktop-base/kf5-settings/sioyek/keys_user.config user_keys_path: [ 1 ] /etc/xdg/sioyek/keys_user.config user_keys_path: [ 2 ] /home/hermogenes/.config/kdedefaults/sioyek/keys_user.config user_keys_path: [ 3 ] /home/hermogenes/.config/sioyek/keys_user.config database_file_path: /home/hermogenes/.local/share/sioyek/test.db local_database_file_path: /home/hermogenes/.local/share/sioyek/local.db global_database_file_path: /home/hermogenes/.local/share/sioyek/shared.db tutorial_path: /usr/share/sioyek/tutorial.pdf last_opened_file_address_path: /home/hermogenes/.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. Falha de segmentação (imagem do núcleo gravada) I created a fresh user account for which the problem indeed does not appear. The account experiencing the crash doesn't seem to contain anything unusual in the configuration and database files: /home/hermogenes/.config/kdedefaults/sioyek/prefs_user.config doesn't exist /home/hermogenes/.config/sioyek/prefs_user.config also doesn't exist /home/hermogenes/.config/kdedefaults/sioyek/keys_user.config doesn't exist /home/hermogenes/.config/sioyek/keys_user.config also doesn't exist hermogenes@avalon:~$ sqlite3 .local/share/sioyek/local.db SQLite version 3.44.2 2023-11-24 11:41:44 Enter ".help" for usage hints. sqlite> .tables document_hash sqlite> select * from document_hash; 1|/usr/share/sioyek/tutorial.pdf|2aae0eaa25c30153bffb37bddb925d26 2|/home/hermogenes/Nuvem/Work/doktorarbeit/PTS3-slides.pdf|ad2fed9472ce10ac7898f9b6806825ad 3|/home/hermogenes/Arquivos/paratodxs/forallxyyc.pdf|2a7b0c72937ecdc019a2f6ef769b76a6 4|/home/hermogenes/Downloads/2209.00626.pdf|5b3eca6ef422479e5e251336bd885ff3 sqlite> .quit hermogenes@avalon:~$ sqlite3 .local/share/sioyek/shared.db SQLite version 3.44.2 2023-11-24 11:41:44 Enter ".help" for usage hints. sqlite> .tables bookmarks highlights links marks opened_books sqlite> select * from bookmarks; sqlite> select * from highlights; sqlite> select * from marks; 1|2a7b0c72937ecdc019a2f6ef769b76a6|/|1616.0 sqlite> select * from opened_books; 2|2aae0eaa25c30153bffb37bddb925d26|1.0|0.0|216.0|2023-03-04 21:14:23 4|ad2fed9472ce10ac7898f9b6806825ad|3.0|0.0|582.0|2023-04-15 15:41:23 7|2a7b0c72937ecdc019a2f6ef769b76a6|1.0|0.0|3835.0|2023-12-09 20:25:24 15|5b3eca6ef422479e5e251336bd885ff3|0.897059|0.0|400.0|2024-01-04 16:24:12 sqlite> .quit hermogenes@avalon:~$ sqlite3 .local/share/sioyek/test.db SQLite version 3.44.2 2023-11-24 11:41:44 Enter ".help" for usage hints. sqlite> .tables bookmarks highlights marks document_hash links opened_books sqlite> select * from bookmarks; sqlite> select * from document_hash; sqlite> select * from highlights; sqlite> select * from marks; sqlite> select * from links; sqlite> select * from opened_books; sqlite> .quit After I moved local.db out of the way, sioyek launched successfully. But even after a moved it back in place, it continued to launch successfully. hermogenes@avalon:~$ mv .local/share/sioyek/test.db ~/ hermogenes@avalon:~$ sioyek default_config_path: /etc/sioyek/prefs.config default_keys_path: /etc/sioyek/keys.config user_config_path: [ 0 ] /usr/share/desktop-base/kf5-settings/sioyek/prefs_user.config user_config_path: [ 1 ] /etc/xdg/sioyek/prefs_user.config user_config_path: [ 2 ] /home/hermogenes/.config/kdedefaults/sioyek/prefs_user.config user_config_path: [ 3 ] /home/hermogenes/.config/sioyek/prefs_user.config user_keys_path: [ 0 ] /usr/share/desktop-base/kf5-settings/sioyek/keys_user.config user_keys_path: [ 1 ] /etc/xdg/sioyek/keys_user.config user_keys_path: [ 2 ] /home/hermogenes/.config/kdedefaults/sioyek/keys_user.config user_keys_path: [ 3 ] /home/hermogenes/.config/sioyek/keys_user.config database_file_path: /home/hermogenes/.local/share/sioyek/test.db local_database_file_path: /home/hermogenes/.local/share/sioyek/local.db global_database_file_path: /home/hermogenes/.local/share/sioyek/shared.db tutorial_path: /usr/share/sioyek/tutorial.pdf last_opened_file_address_path: /home/hermogenes/.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. Falha de segmentação (imagem do núcleo gravada) hermogenes@avalon:~$ mv test.db .local/share/sioyek/ hermogenes@avalon:~$ mv .local/share/sioyek/local.db ~/ hermogenes@avalon:~$ sioyek default_config_path: /etc/sioyek/prefs.config default_keys_path: /etc/sioyek/keys.config user_config_path: [ 0 ] /usr/share/desktop-base/kf5-settings/sioyek/prefs_user.config user_config_path: [ 1 ] /etc/xdg/sioyek/prefs_user.config user_config_path: [ 2 ] /home/hermogenes/.config/kdedefaults/sioyek/prefs_user.config user_config_path: [ 3 ] /home/hermogenes/.config/sioyek/prefs_user.config user_keys_path: [ 0 ] /usr/share/desktop-base/kf5-settings/sioyek/keys_user.config user_keys_path: [ 1 ] /etc/xdg/sioyek/keys_user.config user_keys_path: [ 2 ] /home/hermogenes/.config/kdedefaults/sioyek/keys_user.config user_keys_path: [ 3 ] /home/hermogenes/.config/sioyek/keys_user.config database_file_path: /home/hermogenes/.local/share/sioyek/test.db local_database_file_path: /home/hermogenes/.local/share/sioyek/local.db global_database_file_path: /home/hermogenes/.local/share/sioyek/shared.db tutorial_path: /usr/share/sioyek/tutorial.pdf last_opened_file_address_path: /home/hermogenes/.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. hermogenes@avalon:~$ mv local.db .local/share/sioyek/ hermogenes@avalon:~$ sioyek default_config_path: /etc/sioyek/prefs.config default_keys_path: /etc/sioyek/keys.config user_config_path: [ 0 ] /usr/share/desktop-base/kf5-settings/sioyek/prefs_user.config user_config_path: [ 1 ] /etc/xdg/sioyek/prefs_user.config user_config_path: [ 2 ] /home/hermogenes/.config/kdedefaults/sioyek/prefs_user.config user_config_path: [ 3 ] /home/hermogenes/.config/sioyek/prefs_user.config user_keys_path: [ 0 ] /usr/share/desktop-base/kf5-settings/sioyek/keys_user.config user_keys_path: [ 1 ] /etc/xdg/sioyek/keys_user.config user_keys_path: [ 2 ] /home/hermogenes/.config/kdedefaults/sioyek/keys_user.config user_keys_path: [ 3 ] /home/hermogenes/.config/sioyek/keys_user.config database_file_path: /home/hermogenes/.local/share/sioyek/test.db local_database_file_path: /home/hermogenes/.local/share/sioyek/local.db global_database_file_path: /home/hermogenes/.local/share/sioyek/shared.db tutorial_path: /usr/share/sioyek/tutorial.pdf last_opened_file_address_path: /home/hermogenes/.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. So, I propose we close this. Probably just some weird thing with my local setup. Sorry, and thank you for your time and patience. -- Hermógenes Oliveira