poppler installed via homebrew is crashing on monterey (m1 silicon)
First off- great work on this library!
I know there's not a lot of info here, but I'm posting mainly to see if anyone else if having issues.
I recently started using a new Apple M1 MacBook Pro (16-inch, 2021).
I have a few scripts that make use of poppler's pdftotext binary. It was working on my new laptop last month.
Unfortunately, I frequently run brew upgrade
and brew cleanup
.
It appears poppler was updated fairly recently, but I hadn't "re-run" my script until yesterday.
Now, anytime I run pdftotext, it immediately exits with some info:
[1] 82196 killed pdftotext
OSX's crash log shows some info like:
Process: pdftohtml [19413]
Path: /opt/homebrew/*/pdftohtml
Identifier: pdftohtml
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [750]
Responsible: iTerm2 [554]
Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes: UNKNOWN_0x32 at 0x0000000100fbc000
Exception Codes: 0x0000000000000032, 0x0000000100fbc000
Exception Note: EXC_CORPSE_NOTIFY
What's weird, is I've tried re-installing old versions of poppler, and none of the pdf tools seem to work now. I've also tried "building from source" (via homebrew). The build step does not work, but I haven't tried to debug closely.
Anyways, I'm mainly wondering if something is screwed up with my setup, or if this is an issue for other homebrew/poppler/m1/monterey users.
Thanks!