ahrm / sioyek

Sioyek is a PDF viewer with a focus on textbooks and research papers
https://sioyek.info/
GNU General Public License v3.0
7.02k stars 232 forks source link

Crash when opening links in large document #1074

Open 7415963987456321 opened 5 months ago

7415963987456321 commented 5 months ago

Managed to crash sioyek when pressing f in some particular document, Attaching output and backtrace

Creating shared memory block...
Shared memory created: this is the primary application.
Starting IPC server...
IPC server started.
warning: found duplicate fz_icc_link in the store
warning: FT_Get_Advance(HiddenHorzOCR,102): invalid glyph index
warning: FT_Get_Advance(HiddenHorzOCR,117): invalid glyph index
warning: FT_Get_Advance(HiddenHorzOCR,108): invalid glyph index
warning: FT_Get_Advance(HiddenHorzOCR,126): invalid glyph index
warning: FT_Get_Advance(HiddenHorzOCR,173): invalid glyph index
..
about 18500 times
...
warning: FT_Get_Advance(HiddenHorzOCR,32): invalid glyph index
fish: Job 1, 'sioyek' terminated by signal SIGSEGV (Address boundary error)

Backtrace: https://gist.github.com/7415963987456321/88778cec2e3e639c8749133a0be0f56e

ahrm commented 5 months ago

Can you share the document or is it private?