Skip to content

Crashes when scrolling using PageUp / PageDown keys #65

@4goettma

Description

@4goettma

When I scroll through a document using the PageUp / PageDown keys, I can get jfbview to crash repeatedly after a few dozen pages. It feels like it's related to the speed of scrolling, like it's causing a hiccup with the timings or some race condition. I don't think I've been able to reproduce the issue with the spacebar or scroll arrow keys. I was able to generate the issues on multiple devices. These are the error messages I have seen output in stdout so far:

error: aborting process from uncaught error!
error: cycle in tree (parents)
error: aborting process from uncaught error!
Segmentation fault (core dumped)
error: cycle in tree (parents)
*** longjmp causes uninitialized stack frame ***: terminated
Aborted (core dumped)

Distribution:
Arch Linux

Operation system:
Linux x220 6.13.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 27 Feb 2025 18:09:44 +0000 x86_64 GNU/Linux

Application version:
jfbview 0.6.0-3, built from Arch User Repository

Dependencies:
freetype2 2.13.3-3
harfbuzz 10.4.0-1
imlib2 1.12.3-2
libjpeg-turbo 3.1.0-1
ncurses 6.5-3
openjpeg2 2.5.3-1
zlib 1:1.3.1-2

Example file (generated with typst):
example.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions