Bug 699318

Summary: mutool fails with "Cannot convert between incompatible pixmaps"
Product: MuPDF Reporter: Kan-Ru Chen <koster>
Component: appsAssignee: MuPDF bugs <mupdf-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: mimmo71, monnier, quentinburley, t.glaser, tor.andersson
Priority: P4    
Version: 1.12.0   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: reproducer

Description Kan-Ru Chen 2018-05-07 23:19:02 UTC
Created attachment 15103 [details]
reproducer

Forwarded from https://bugs.debian.org/895572

--------------------------------------------------------------------
Dear Maintainer,

Recently, Emacs's doc-view-mode started failing for me in some cases.
After tracking down the origin of the problem, it seems to be due to
a problem in `mutool`.
I can reproduce it with:

    mutool draw -o foo.png foo.pdf 1

with the attached PDF file, which gives me:

    page foo.pdf 1error: Cannot convert between incompatible pixmaps
    error: Cannot convert between incompatible pixmaps
    warning: Ignoring error during interpretation
    error: Cannot convert between incompatible pixmaps
    warning: Ignoring error during interpretation
    error: Cannot convert between incompatible pixmaps
    warning: Ignoring error during interpretation
    error: Cannot convert between incompatible pixmaps
    warning: Ignoring error during interpretation

even though both `evince` and `mupdf` display it just fine.
---------------------------------------------------------------------

I can reproduce in 1.12 and 1.13 with the attached pdf file.
Comment 1 Quentin Burley 2018-08-23 11:26:08 UTC
+1
Comment 2 Tor Andersson 2018-11-08 14:11:57 UTC
I cannot reproduce this with 1.12.0, 1.13.0, 1.14.0, nor current git master.
Comment 3 mirabilos 2019-04-13 12:50:53 UTC
I’m also hitting this bug, with mupdf-tools (= 1.14.0+ds1-4) in Debian.
Comment 4 Domenico Mammola 2020-04-03 09:40:46 UTC
+1 Me too.

Xubuntu 18.04.4 LTS

Package: mupdf-tools
Versions: 1.12.0+ds1-1
Comment 5 Domenico Mammola 2020-04-03 09:51:11 UTC
Upgrading to 1.14.0-0build3+ubuntu18.04 as described here: http://ubuntuhandbook.org/index.php/2018/05/install-mupdf-1-3-0-ubuntu-18-04/
solved for me.