pi@raspberrypi ~ $ mupdf /usr/local/bin/indiecity/InstalledApps/the-magpi-issue-1/Full/The_MagPi_issue_1.pdf + fitz/filt_dctd.c:89: read_dctd(): jpeg error: JPEG parameter struct mismatch: library thinks size is 488, caller expects 448 | fitz/stm_read.c:53: fz_read(): read error Segmentation fault pi@raspberrypi ~ $ apt-cache showpkg mupdf Package: mupdf Versions: 0.9-2 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages) (/var/lib/dpkg/status) Description Language: File: /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages MD5: 76c7b56de572593eec7cf1dec638601e Reverse Depends: Dependencies: 0.9-2 - libc6 (2 2.13-28) libfreetype6 (2 2.3.9) libjbig2dec0 (0 (null)) libjpeg8 (2 8c) libopenjpeg2 (0 (null)) libx11-6 (0 (null)) libxext6 (0 (null)) zlib1g (2 1:1.2.0) mupdf-tools (0 (null)) Provides: 0.9-2 - Reverse Provides:
The clue to this is in the error message: (In reply to comment #0) > pi@raspberrypi ~ $ mupdf > /usr/local/bin/indiecity/InstalledApps/the-magpi-issue-1/Full/ > The_MagPi_issue_1.pdf > + fitz/filt_dctd.c:89: read_dctd(): jpeg error: JPEG parameter struct > mismatch: library thinks size is 488, caller expects 448 You've got a build mismatch here. You are building with jpeg header files that don't match the jpeg library you have installed. This is a problem with your set up, and nothing to do with MuPDF itself. Sorry. We recommend that you build either from: * the last released version of the source (using the libraries in the mupdf-thirdparty.zip file available for download at the same location). or * from sources obtained from git (using the thirdparty libraries available via "git submodule update --init") If you have more questions, feel free to visit the #ghostscript irc channel to ask us.
(In reply to comment #0) > pi@raspberrypi ~ $ apt-cache showpkg mupdf > Package: mupdf > Versions: > 0.9-2 > (/var/lib/apt/lists/mirrordirector.raspbian. > org_raspbian_dists_wheezy_main_binary-armhf_Packages) (/var/lib/dpkg/status) > Description Language: > File: > /var/lib/apt/lists/mirrordirector.raspbian. > org_raspbian_dists_wheezy_main_binary-armhf_Packages > MD5: 76c7b56de572593eec7cf1dec638601e > > > Reverse Depends: > Dependencies: > 0.9-2 - libc6 (2 2.13-28) libfreetype6 (2 2.3.9) libjbig2dec0 (0 (null)) > libjpeg8 (2 8c) libopenjpeg2 (0 (null)) libx11-6 (0 (null)) libxext6 (0 > (null)) zlib1g (2 1:1.2.0) mupdf-tools (0 (null)) > Provides: > 0.9-2 - > Reverse Provides: Actually, that looks like someone has packaged mupdf for Raspbian, but has done so badly. This should be reported to the maintainers for Raspbian.