You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segmentation fault in ev_hyperlink_get_end_index when opening specific PDF #700
Xreader crashes with a segmentation fault when attempting to open or render a PDF file containing certain hyperlinks. The crash seems to occur during the document indexing/loading phase when processing hyperlinks.
Steps to reproduce
Open a PDF document that contains specific (possibly malformed) hyperlinks.
The application crashes immediately with "Segmentation fault (core dumped)".
Expected behavior
The application should open the document normally, or at least skip/ignore the problematic hyperlink instead of crashing.
kernel: xreader[17892]: segfault at 7fe6d012c8f0 ip 00007fc881a02c14 sp 00007ffc5f6e2440 error 4 in libxreaderview.so.3.0.0
systemd-coredump: Process 17892 (xreader) of user 1000 dumped core.
#0 0x00007fc881a02c14 ev_hyperlink_get_end_index (libxreaderview.so.3 + 0x25c14)
#2 0x00007fc8819feaeb ev_job_thread_proxy (libxreaderview.so.3 + 0x21aeb)
#10 0x000055a83fbc1eb7 main (xreader + 0x28eb7)
Additional Context: The crash was narrowed down to the function ev_hyperlink_get_end_index. Removing the hyperlink from the PDF source resolved the crash, confirming that the issue is related to how Xreader handles specific link metadata.
I tried also with the most recent version (4.6.3) which did the same. Subsequently I downgraded it, because the icons did not appear in the update.
Activity