signal 11:SIGSEGV while using display_list.get_textpage() (original) (raw)

Description of the bug

For the pdf (provided below), while executing get_textpage() -> got error: Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)

on both macOS and docker (python:3.13.1-slim-bookworm on debian)

How to reproduce the bug

(page: fitz.Page)
display_list = page.get_displaylist(annots=False)
fz_structured_text_page = display_list.get_textpage() -> error happens here

error_file-11_anonymized.pdf

PyMuPDF version

1.26.7

Operating system

Linux

Python version

3.13