Skip to content

Segmentation fault at caling get_cdrawings(extended=True) #2556

Closed
@pulsar314

Description

@pulsar314

Description

If a document contains sequences like

q
100 100 m
W n

invocation of page.get_cdrawings(extended=True) results in a segfault.

In this case dev_pathdict is being cleared due to the empty commands list, but jm_lineart_clip_path and jm_lineart_clip_stroke_path are trying to get a value from the dict.

Configuration

  • Linux MINT
  • Python 3.8
  • PyMuPDF 1.22.5, installed via pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions