Created attachment 107988 [details] openjpeg-crash.pdf OS: Fedora 20 (running in virtualbox) Dependencies installed with: yum-builddep poppler Version: GIT Master Command line: master/pdftocairo -svg <attached.pdf> /dev/null Crash in libopenjpeg, tried to extract images with pdfimages, but it crashes with same error. ########################################################################### GDB output: Reading symbols from /home/foobar/poppler/utils/.libs/lt-pdftocairo...done. Starting program: /home/foobar/poppler/utils/.libs/lt-pdftocairo -svg segfault-openjpeg-tdc_malloc_decode_tile-611-pdftocairofuzz-9.pdf /dev/null [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7058406 in tcd_malloc_decode_tile () from /lib64/libopenjpeg.so.1
We don't fix crashes in openjpeg, report it to them :)
Asked in IRC channel, since couldn't extract jpeg with pdfimages was told to report here, sorry :)
(In reply to MH from comment #2) > Asked in IRC channel, since couldn't extract jpeg with pdfimages was told to > report here, sorry :) It is not possible to extract defect jpg2000 images (images which crashes in openjpeg library) with poppler, because opj_decode is already called when try to get the image params (8 bit, RGB or Grayscale)
Created attachment 107993 [details] defect jp2 I send comment 3 to early, I wanted to explain, that You first have to disable the usage of libopenjpeg: ./configure --disable-libopenjpeg Than You can use pdfimages with option -all. I attach the defect jp2.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.