Hi. I noticed that qvm-convert-pdf crashes exactly on the 50th page no matter what pdf file it is but with increased image quality in template. I tested 4 different pdf files which had above 50 pages (55-215) and that tool is crashing with Killed message exactly on the 50th page. With pdf files that have less than 50 pages, it is converting correctly. What I changed before using qvm-convert-pdf:
created different fedora template for pdfs.
created different disposable template for pdfs.
increased image quality by adding "-r", "500", in 148 line (create_irep()) of server.py here:/usr/lib/python3.12/site-packages/qubespdfconverter in fedora template for pdfs.
changed default disposable template in a qube in which I have that pdf files to that created for pdfs which is important because qvm-convert-pdf runs disposable vm to convert pdf. Also what is important - it is crashing when I set dpi to >= 500. Itās not crashing with Killed message when I set it to 300-400 for example. Also I monitored RAM and CPU usage and it was fine so it is not caused by some out of memory-like errors. Strange thing is that it is crashing exactly on 50th page.
I cannot check the output PDF size since there are no output PDFs. It is being killed during sanitizing process so it is not completed and I couldnāt find any directory where pdftocairo works in disp VM (in order to find some incompleted PDF file). Input PDFs page size: 595 x 842 - A4 or 612 x 792 - letter, but I donāt think that matters as I checked it on few different PDFs with different page sizes and if PDF has > 50 pages, it is being Killed at 50th page.
Can you post the link or upload the PDF that is causing this issue for you?
Iāve tried converting the large PDF that was linked as an example in the github issue and it worked for me.