conda-forge / libtiff-feedstock

A conda-smithy repository for libtiff.
BSD 3-Clause "New" or "Revised" License
1 stars 25 forks source link

More win32/unix I/O woes: libtiff crashing in poppler's pdftocairo on Windows #62

Closed pkgw closed 3 years ago

pkgw commented 3 years ago

As reported in https://github.com/conda-forge/poppler-feedstock/issues/73 , it seems that there are TIFF-related crashes in the poppler program pdftocairo on Windows. It can be recreated thus:

  1. My test file is: https://arxiv.org/pdf/2005.01489
  2. Run: pdftocairo -tiff 2005.01489.pdf
  3. The program silently exits with an error code.
  4. Resulting file 2005.01489-1.tif is empty.

The exit code is reported as -1073740791 = 0xC0000409 = STATUS_STACK_BUFFER_OVERRUN, which means that a stack buffer overflow is occuring.

Running the program in a Windows debugger, I get this stack trace:

Screenshot from 2020-11-16 11-06-36

kmilos commented 3 years ago

Resolved by https://github.com/conda-forge/poppler-feedstock/pull/103

pkgw commented 3 years ago

Yeah, I haven't heard about any issues on this front for a while, so I'm going to go ahead and close this.