Various poppler based application crash on my ~amd64 system. Here's a simple test case that reproduces the crash (all it does is instantiate the poppler params object #include <GlobalParams.h> #include <stdio.h> // gcc -pthread -I/usr/include/poppler ~/test.cpp -o test -lpoppler int main(int argc, char **argv) { printf("Initalizing poppler\n"); globalParams = new GlobalParams(); printf("finalizing poppler\n"); delete globalParams; printf("exiting\n"); return 0; } Compile it as gcc -pthread -I/usr/include/poppler ~/test.cpp -o test -lpoppler The run ./test On my system it crashes in libc with the following bt Initalizing poppler finalizing poppler *** glibc detected *** ./test: double free or corruption (!prev): 0x0000000001134010 *** ======= Backtrace: ========= /lib/libc.so.6(+0x723e6)[0x7f74fb8393e6] /lib/libc.so.6(cfree+0x6c)[0x7f74fb83e18c] ./test[0x4009bd] /lib/libc.so.6(__libc_start_main+0xfd)[0x7f74fb7e5bbd] ./test[0x400879] Note that if you compile it without threading (No -pthread) it works. It also works on my ~x86 system with or without threading. I have already run revdep-rebuild, emerge -e system and re-emerged poppler. Reproducible: Always Steps to Reproduce:
Created attachment 219549 [details] Output from emerge --info
This should be fixed now. Try poppler-0.12.3-r5.
Thanks, -r5 works for me