GNOME Bugzilla – Bug 304303
crash on opening pdf with : Not a JPEG file: starts with 0x02 0x00
Last modified: 2005-05-16 09:06:10 UTC
Distribution/Version: Fedora/development I made a PDF with OpenOffice (1.9.100-1 on Fedora development) with a jpeg image inside. I than exported it with losless compression. Evince crashed with "Not a JPEG file: starts with 0x02 0x00". If I choose to export PDF with JPEG compression Evince does not crash. XPDF does not crash on either document and displays both correctly. BTW: Nautilus displays a preview only for the PDF with JPEG compression. A Trace ended with: open("/path/filename.pdf", O_RDONLY|O_LARGEFILE) = 1 7 fstat64(17, {st_mode=S_IFREG|0644, st_size=56956, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 499000 _llseek(17, 0, [0], SEEK_CUR) = 0 _llseek(17, 0, [0], SEEK_SET) = 0 read(17, "%PDF-1.4\r\n%\303\244\303\274\303\266\303\237\r\n2 0 o"..., 4096) = 40 96 fstat64(17, {st_mode=S_IFREG|0644, st_size=56956, ...}) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 fstat64(17, {st_mode=S_IFREG|0644, st_size=56956, ...}) = 0 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 56956, [56956], SEEK_SET) = 0 read(17, "", 4096) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 3708) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 _llseek(17, 56956, [56956], SEEK_SET) = 0 _llseek(17, 53248, [53248], SEEK_SET) = 0 read(17, "\33z\261\255A\35\25_X\335\310I\30=\237\325\205h#\314B\311"..., 4096) = 3708 futex(0x880d0a4, 0x4 /* FUTEX_??? */, 1) = 1 futex(0x880c560, FUTEX_WAKE, 1Not a JPEG file: starts with 0x02 0x00 ) = 1
Could you provide a stack trace and the file that causes the crash? (See http://live.gnome.org/GettingTraces for more information on how to get a stack trace)
Also, this looks like a bug with the PDF backend. Could you please follow these instructions to help get this bug fixed. You can attach backtrace and document directly to poppler bugzilla. http://live.gnome.org/Evince/PopplerBugs#poppler Thank You.
Ok, bug for poppler is now here: https://bugs.freedesktop.org/show_bug.cgi?id=3299