I tried convert rose: pdf:rose.pdf identify rose.pdf work as expected. Seems to crash on multiple page pdf
On Mon, Aug 29, 2016 at 6:08 PM, roucaries bastien <[email protected]> wrote: > On Mon, Aug 29, 2016 at 11:35 AM, Udo Pütz <[email protected]> wrote: >> On Mon, 29 Aug 2016 10:31:22 +0200 =?UTF-8?B?VWRvIFDDvHR6?= >> <[email protected]> wrote: >>> On Sat, 27 Aug 2016 21:41:26 +0200 "Tommie Van Mechgelen" <[email protected]> >>> wrote: >>> > >>> > Hi, >>> >>> Hi, >>> >>> > The issue exists with all PDF-files that I have tried. >>> > >>> > I tried both commands, and the result is the same for both. So working >>> > previous the security update. >>> > identify bug.pdf >>> > Identify -ping bug.pdf >>> > >>> >  8:6.8.9.9-5+deb8u4: >>> > identify: unable to read image data `/tmp/magick-4028M_5kB2MxtwSv1' @ >>> > error/pnm.c/ReadPNMImage/617. >>> >>> I strace'd the php call and saw that the file in question is there (in >>> the example above /tmp/magick-4028M_5kB2MxtwSv1), being opened and read >>> and then unlinked. But it also tries to unlink >>> /tmp/magick-4028M_5kB2MxtwSv1.cache (name + ".cache") - which doesn't >>> exist. I think the bug comes from that. >> >> From the strace. The /tmp/magick-8360Zq2saDcjr5Vf1 was mentioned in the >> error message but, as can be seen, was there and unlinked > > No it is perfectly normal (removing before reading is unix way to > create tmp file) > > Could you try ltrace ? > > > >> >> 8360 unlink("/tmp/magick-8360Zq2saDcjr5Vf1.cache") = -1 ENOENT (No such >> file or directory) >> 8360 unlink("/tmp/magick-8360Zq2saDcjr5Vf1") = 0 >> 8360 munmap(0x7f42fa1fb000, 790528) = 0 >> 8360 brk(0x1b2c000) = 0x1b2c000 >> 8360 open("/var/www/files/htdocs/system/logs/error.log", >> O_WRONLY|O_CREAT|O_APPEND, 0644) = 6 >> 8360 write(6, "[29-Aug-2016 10:07:38 Europe/Ber"..., 737) = 737 >> 8360 close(6) = 0 >> 8360 write(1, "<br><strong>Fatal error</strong>"..., 682) = 682 >> >> _______________________________________________ >> Pkg-gmagick-im-team mailing list >> [email protected] >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-gmagick-im-team >

