Pdfseparate: A type error occurred while calling the object
version:23.08.0
My system OS:Ubuntu 20.04
reproduce: pdfseparate poc.pdf output-%d.pdf
Final error message prompt“Internal Error (0): Call to Object where the object was type 5, not the expected type 7”
The stack information is as follows:
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: 没有那个文件或目录.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff7594859 in __GI_abort () at abort.c:79
#2 (closed) 0x00007ffff7d44a22 in PDFDoc::savePageAs (this=0x654560, name=..., pageNo=1) at /Oscar01/liujiahao/poppler/poppler/Object.h:435
#3 (closed) 0x00000000004055ad in extractPages (srcFileName=, destFileName=0x7fffffffed26 "output-%d.pdf") at /Oscar01/liujiahao/poppler/utils/pdfseparate.cc:123
#4 main (argc=, argv=) at /Oscar01/liujiahao/poppler/utils/pdfseparate.cc:156
Attach the poc file. If this is not an error or if it has already been discovered, we apologize for wasting your time. thank you very much indeed
poc.pdf