MuPDF v0.9-2 gives a segfault on Raspberry Pi running Raspian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Expired
|
Undecided
|
Unassigned |
Bug Description
I reported this bug to the MuPDF team first (on bugzilla) and got the follwoing responses. They say it's a build problem in Raspbian... I've tried an "apt-get install mupdf" but it says my version is up-to-date.
--- Comment #2 from Robin Watts <email address hidden> ---
(In reply to comment #0)
> pi@raspberrypi ~ $ apt-cache showpkg mupdf
> Package: mupdf
> Versions:
> 0.9-2
> (/var/lib/
> org_raspbian_
> Description Language:
> File:
> /var/lib/
> org_raspbian_
> MD5: 76c7b56de572593
>
>
> 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.
--- Comment #1 from Robin Watts <email address hidden> ---
http://
Robin Watts <email address hidden> changed:
What |Removed |Added
-------
--- Comment #1 from Robin Watts <email address hidden> ---
The clue to this is in the error message:
(In reply to comment #0)
> pi@raspberrypi ~ $ mupdf /usr/local/
> + fitz/filt_
> 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-thirdpart
or
* from sources obtained from git (using the thirdparty libraries available via
"git submodule update --init")
-------
MuPDF v0.9-2 gives a segfault on Raspberry Pi running Raspian:
pi@raspberrypi ~ $ mupdf /usr/local/
+ fitz/filt_
| 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/
Description Language:
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:
Is this still an issue?
I tried to reproduce it on my jessie system, but it just worked just fine for me.
I have no idea why 'apt-cache showpkg mupdf' shows those 'null' values, but it does it here too.