Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process dumped core #1063

Open
Dale-Muccignat opened this issue Apr 19, 2024 · 3 comments
Open

Process dumped core #1063

Dale-Muccignat opened this issue Apr 19, 2024 · 3 comments

Comments

@Dale-Muccignat
Copy link

Hi Team,

Love sioyek so far, awesome work.

Every now and then I come across a pdf that refuses to open. Every time I try it crashes with a coredump

systemd-coredump[3543436]: [馃] Process 3543424 (sioyek) of user 1000 dumped core.
                                                       
                                                       Stack trace of thread 3543424:
                                                       #0  0x00007c5ac40ab32c n/a (libc.so.6 + 0x8d32c)
                                                       #1  0x00007c5ac405a6c8 raise (libc.so.6 + 0x3c6c8)
                                                       #2  0x00007c5ac40424b8 abort (libc.so.6 + 0x244b8)
                                                       #3  0x00007c5ac42dd3b2 _ZSt21__glibcxx_assert_failPKciS0_S0_ (libstdc++.so.6 + 0xdd3b2)
                                                       #4  0x0000639ae75f12d0 n/a (sioyek + 0x4d2d0)
                                                       #5  0x0000639ae75f14b6 n/a (sioyek + 0x4d4b6)
                                                       #6  0x0000639ae75f36f3 n/a (sioyek + 0x4f6f3)
                                                       #7  0x0000639ae7732c99 n/a (sioyek + 0x18ec99)
                                                       #8  0x0000639ae773a19f n/a (sioyek + 0x19619f)
                                                       #9  0x0000639ae7624c50 n/a (sioyek + 0x80c50)
                                                       #10 0x0000639ae75dd3d5 n/a (sioyek + 0x393d5)
                                                       #11 0x00007c5ac4043cd0 n/a (libc.so.6 + 0x25cd0)
                                                       #12 0x00007c5ac4043d8a __libc_start_main (libc.so.6 + 0x25d8a)
                                                       #13 0x0000639ae75df3c5 n/a (sioyek + 0x3b3c5)
                                                       
                                                       Stack trace of thread 3543427:
                                                       #0  0x00007c5ac41190bf __poll (libc.so.6 + 0xfb0bf)
                                                       #1  0x00007c5abff0320b n/a (libxcb.so.1 + 0xd20b)
                                                       #2  0x00007c5abff04f3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
                                                       #3  0x00007c5abfb89ff2 n/a (libQt5XcbQpa.so.5 + 0x5cff2)
                                                       #4  0x00007c5ac46eb88a n/a (libQt5Core.so.5 + 0xeb88a)
                                                       #5  0x00007c5ac40a955a n/a (libc.so.6 + 0x8b55a)
                                                       #6  0x00007c5ac4126a3c n/a (libc.so.6 + 0x108a3c)
                                                       
                                                       Stack trace of thread 3543426:
                                                       #0  0x00007c5ac41190bf __poll (libc.so.6 + 0xfb0bf)
                                                       #1  0x00007c5ac277f306 n/a (libglib-2.0.so.0 + 0xb9306)
                                                       #2  0x00007c5ac271f712 g_main_context_iteration (libglib-2.0.so.0 + 0x59712)
                                                       #3  0x00007c5ac48e288c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2e288c)
                                                       #4  0x00007c5ac4892774 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x292774)
                                                       #5  0x00007c5ac46ef666 _ZN7QThread4execEv (libQt5Core.so.5 + 0xef666)
                                                       #6  0x00007c5abf747a9a n/a (libQt5DBus.so.5 + 0x17a9a)
                                                       #7  0x00007c5ac46eb88a n/a (libQt5Core.so.5 + 0xeb88a)
                                                       #8  0x00007c5ac40a955a n/a (libc.so.6 + 0x8b55a)
                                                       #9  0x00007c5ac4126a3c n/a (libc.so.6 + 0x108a3c)
                                                       
                                                       Stack trace of thread 3543430:
                                                       #0  0x00007c5ac40f2335 clock_nanosleep (libc.so.6 + 0xd4335)
                                                       #1  0x00007c5ac40fd3e7 __nanosleep (libc.so.6 + 0xdf3e7)
                                                       #2  0x0000639ae7665441 n/a (sioyek + 0xc1441)
                                                       #3  0x00007c5ac42e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
                                                       #4  0x00007c5ac40a955a n/a (libc.so.6 + 0x8b55a)
                                                       #5  0x00007c5ac4126a3c n/a (libc.so.6 + 0x108a3c)
                                                       
                                                       Stack trace of thread 3543434:
                                                       #0  0x00007c5ac41196bc read (libc.so.6 + 0xfb6bc)
                                                       #1  0x00007c5ac40a0993 _IO_file_underflow (libc.so.6 + 0x82993)
                                                       #2  0x00007c5ac40a1b40 n/a (libc.so.6 + 0x83b40)
                                                       #3  0x00007c5ac409500f _IO_fread (libc.so.6 + 0x7700f)
                                                       #4  0x00007c5ac5d32960 n/a (libmupdf.so + 0x132960)
                                                       #5  0x00007c5ac5ce20d9 n/a (libmupdf.so + 0xe20d9)
                                                       #6  0x00007c5ac5d2fdd5 fz_read (libmupdf.so + 0x12fdd5)
                                                       #7  0x00007c5ac5d45379 n/a (libmupdf.so + 0x145379)
                                                       #8  0x00007c5ac5d45b6c fz_open_tar_archive_with_stream (libmupdf.so + 0x145b6c)
                                                       #9  0x00007c5ac5c8c48e fz_try_open_archive_with_stream (libmupdf.so + 0x8c48e)
                                                       #10 0x00007c5ac5de5390 n/a (libmupdf.so + 0x1e5390)
                                                       #11 0x00007c5ac5c9f91d fz_recognize_document_stream_content (libmupdf.so + 0x9f91d)
                                                       #12 0x00007c5ac5c9fd12 fz_recognize_document_content (libmupdf.so + 0x9fd12)
                                                       #13 0x00007c5ac5c9fd8a fz_open_accelerated_document (libmupdf.so + 0x9fd8a)
                                                       #14 0x0000639ae75f2533 n/a (sioyek + 0x4e533)
                                                       #15 0x00007c5ac42e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
                                                       #16 0x00007c5ac40a955a n/a (libc.so.6 + 0x8b55a)
                                                       #17 0x00007c5ac4126a3c n/a (libc.so.6 + 0x108a3c)
                                                       
                                                       Stack trace of thread 3543429:
                                                       #0  0x00007c5ac40f2335 clock_nanosleep (libc.so.6 + 0xd4335)
                                                       #1  0x00007c5ac40fd3e7 __nanosleep (libc.so.6 + 0xdf3e7)
                                                       #2  0x0000639ae7665441 n/a (sioyek + 0xc1441)
                                                       #3  0x00007c5ac42e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
                                                       #4  0x00007c5ac40a955a n/a (libc.so.6 + 0x8b55a)
                                                       #5  0x00007c5ac4126a3c n/a (libc.so.6 + 0x108a3c)
                                                       
                                                       Stack trace of thread 3543431:
                                                       #0  0x00007c5ac40f2335 clock_nanosleep (libc.so.6 + 0xd4335)
                                                       #1  0x00007c5ac40fd3e7 __nanosleep (libc.so.6 + 0xdf3e7)
                                                       #2  0x0000639ae7665441 n/a (sioyek + 0xc1441)
                                                       #3  0x00007c5ac42e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
                                                       #4  0x00007c5ac40a955a n/a (libc.so.6 + 0x8b55a)
                                                       #5  0x00007c5ac4126a3c n/a (libc.so.6 + 0x108a3c)
                                                       
                                                       Stack trace of thread 3543432:
                                                       #0  0x00007c5ac40f2335 clock_nanosleep (libc.so.6 + 0xd4335)
                                                       #1  0x00007c5ac40fd3e7 __nanosleep (libc.so.6 + 0xdf3e7)
                                                       #2  0x0000639ae7665441 n/a (sioyek + 0xc1441)
                                                       #3  0x00007c5ac42e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
                                                       #4  0x00007c5ac40a955a n/a (libc.so.6 + 0x8b55a)
                                                       #5  0x00007c5ac4126a3c n/a (libc.so.6 + 0x108a3c)
                                                       
                                                       Stack trace of thread 3543433:
                                                       #0  0x00007c5ac40f2335 clock_nanosleep (libc.so.6 + 0xd4335)
                                                       #1  0x00007c5ac40fd3e7 __nanosleep (libc.so.6 + 0xdf3e7)
                                                       #2  0x0000639ae76646d0 n/a (sioyek + 0xc06d0)
                                                       #3  0x00007c5ac42e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
                                                       #4  0x00007c5ac40a955a n/a (libc.so.6 + 0x8b55a)
                                                       #5  0x00007c5ac4126a3c n/a (libc.so.6 + 0x108a3c)
                                                       ELF object binary architecture: AMD x86-64

If I open it in terminal I get

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/dale/.config/sioyek/prefs_user.config
user_keys_path: [ 0 ] /etc/xdg/sioyek/keys_user.config
user_keys_path: [ 1 ] /home/dale/.config/sioyek/keys_user.config
database_file_path: /home/dale/.local/share/sioyek/test.db
local_database_file_path: /home/dale/.local/share/sioyek/local.db
global_database_file_path: /home/dale/.local/share/sioyek/shared.db
tutorial_path: /usr/share/sioyek/tutorial.pdf
last_opened_file_address_path: /home/dale/.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.
Warning: key defined in /etc/sioyek/keys.config:169 overwritten by /home/dale/.config/sioyek/keys_user.config:1
Warning: key defined in /etc/sioyek/keys.config:180 overwritten by /home/dale/.config/sioyek/keys_user.config:5. Overriding command: h: replacing add_highlight with move_right
Warning: key defined in /etc/sioyek/keys.config:280 overwritten by /home/dale/.config/sioyek/keys_user.config:6. Overriding command: l: replacing overview_definition with move_left
Warning: key defined in /etc/sioyek/keys.config:157 overwritten by /home/dale/.config/sioyek/keys_user.config:8
/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.
[1]    3579681 IOT instruction (core dumped)  sioyek 

This is the file in question
Zammit_et_al_2017_Electron_and_positron_molecule_scattering_development_of_the_molecular_convergent_close-coupling_method.pdf

@ahrm
Copy link
Owner

ahrm commented Apr 19, 2024

Can't reproduce the issue on windows or ubuntu WSL. I think this might be fixed in the development branch?

@Dale-Muccignat
Copy link
Author

I'll try and install the development branch to check, my first attempt was unsuccessful but I need to read up a bit as I might have missed something.

@Dale-Muccignat
Copy link
Author

According to the AUR, I have gb312fe0-1 installed, which looks to be the latest commit in the development branch and it still crashes for me. I'm a bit puzzled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants