msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.29k stars 1.22k forks source link

poppler's pdftocairo version 24.09.0 runs out of memory #22220

Closed dustwanderer closed 4 weeks ago

dustwanderer commented 4 weeks ago

Description / Steps to reproduce the issue

pdftocairo.exe -pdf "original.pdf" "corrected.pdf"

Expected behavior

pdftocairo.exe corrects a defective "original.pdf" archive into a new "corrected.pdf" archive without errors.

Actual behavior

"cairo error: out of memory" A new "corrected.pdf" is created, but "Acrobat 3D 8" can not open it, Acrobat claims that the archive is damaged and can't be repaired.

Verification

Windows Version

MSYS_NT-10.0-22631

MINGW environments affected

Are you willing to submit a PR?

No response

MehdiChinoune commented 4 weeks ago

I think you should report the issue to the upstream, I mean poppler developers. MSYS2 just packages it.

Biswa96 commented 4 weeks ago

I can not reproduce the issue with a test pdf file. The new pdf file can be opened in okular without any error.

MehdiChinoune commented 4 weeks ago

The issue was reported to poppler from a Linux user https://gitlab.freedesktop.org/poppler/poppler/-/issues/1521

Biswa96 commented 4 weeks ago

I can not reproduce the issue in ArchLinux either. I have commented that in the poppler issue.