SIGABRT at poppler/Object.h:435
Hi, we found a bug in the latest version of poppler (commit b9643712), the bug causes the program to crash with the following backtrace.
To reproduce it, run pdfseparate poc 1.pdf
(gdb) bt
#0 0x00007ffff72467bb in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff7231535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff7bee76f in Object::getDict (this=<optimized out>)
at /home/users/chluo/poppler/poppler/Object.h:435
#3 PDFDoc::savePageAs (this=0x466e10, name=..., pageNo=1)
at /home/users/chluo/poppler/poppler/PDFDoc.cc:889
#4 0x0000000000408659 in extractPages (srcFileName=<optimized out>,
destFileName=0x7fffffffe6eb "./1.pdf")
at /home/users/chluo/poppler/utils/pdfseparate.cc:123
#5 main (argc=<optimized out>, argv=<optimized out>)
at /home/users/chluo/poppler/utils/pdfseparate.cc:156
Seems that this bug is related to #706 (closed). 7b4e372d partially fixes #706 (closed) yet it is incomplete.
Edited by crt