John Cupitt
John Cupitt
Ooof valgrind on 10.13 is not simple. Back to `printf()`.
It looks like an orc bug. If I change this line: https://github.com/jcupitt/libvips/blob/master/libvips/iofuncs/vector.c#L390 to be 5 instead of 8, the crash stops. Something is overflowing inside orc (though only on macOS,...
Just a note to say that this issue still exists with High Sierra and current git master libvips + orc-0.4.28 (homebrew current). I also tried with git master orc, with...
I built orc and libvips with: ``` CC=clang LD=clang \ CFLAGS="-g -O1 -fsanitize=address -fno-omit-frame-pointer" \ CXXFLAGS="-g -O1 -fsanitize=address -fno-omit-frame-pointer" \ CXX=clang++ LDFLAGS="-fsanitize=address" \ ./configure --prefix=/Users/john/vips --disable-gtk-doc --without-magick ``` I found...
Yes, probably. Disabling if CET is on seems like a good idea, I added a quick hack, thanks Lovell. I should test again.
The bug is still present with git master libvips (including the CET change) on macOS Mojave with brew orc (0.4.28).
Hi @ethaniel, I tried on my PC and it seems to work: ``` $ vipsheader -f n-pages test1.pdf 2 $ ldd $(which vipsheader) | grep popp libpoppler-glib.so.8 => /lib/x86_64-linux-gnu/libpoppler-glib.so.8 (0x00007f4355231000)...
Oh, curious, I can't see the thing that's loading your PDFs. Maybe it's configured as a module? What do you see for: ``` $ vipsheader test1.pdf test1.pdf: 612x792 uchar, 4...
Ah! So sorry, I misread your original email. Your PDF does have two pages, but firefox (for example) mistakenly says there is only 1. I think everything is OK. I...
Then I guess your poppler is too old. I'd look into updating that, or switching to pdfium.