PyMuPDF icon indicating copy to clipboard operation
PyMuPDF copied to clipboard

Segmentation fault when calling "apply_redactions" method, when trying to redact a specific document.

Open andreasbvillumsen opened this issue 2 years ago • 2 comments

Describe the bug (mandatory)

Python crashes when calling "apply_redactions" method, when trying to redact a specific document.

To Reproduce (mandatory)

  • Open document.
  • Loop pages.
  • Find sensitive information using regex.
  • Add redact annotation
  • Apply redactions

Sample file will be sent to your email, as well as code snippet.

Your configuration (mandatory)

  • macOS Monterey, 12.5, Mac Mini M1
  • 3.8.9, 64 bit ARM
  • PyMuPDF version 1.20.1, wheel

Additional context (optional)

This issue is related to discussion #1867

andreasbvillumsen avatar Aug 11 '22 08:08 andreasbvillumsen

A duplicate of #1824

JorjMcKie avatar Aug 11 '22 11:08 JorjMcKie

This should be fixed in PyMuPDF-1.20.2, released a few hours ago.