Created attachment 913588 [details] cornelius-voice-tr.pdf - The pdf file that atril has difficulty with Description of problem: Atril does not display page 4 of the attached PDF file (cornelius-voice-tr.pdf). The other pages display fine in atril. Xpdf does not have this problem; the PDF document displays fine in xpdf. Version-Release number of selected component (if applicable): mate-document-viewer-1.6.2-3.fc19.x86_64 mate-desktop-1.6.2-2.fc19.x86_64 cairo-1.12.14-2.fc19.x86_64 poppler-glib-0.22.1-5.fc19.x86_64 poppler-0.22.1-5.fc19.x86_64 How reproducible: 100% Steps to Reproduce: 1. atril cornelius-voice-tr.pdf 2. Move forward one page at a time, until page 4 is displaying In case it is relevant, I am using the following settings in Atril under the View menu: "Continuous" is not enabled; "Best Fit" is enabled. Actual results: Only part of the page is displayed; the rest is not. See screenshot. The following error message appears on stdout or stderr: Internal Error: cairo context error: invalid matrix (not invertible)<0a> Expected results: The full page should be displayed. Addditional information: By downloading debugging symbols for mate-document-viewer and cairo, and then running atril inside gdb with a breakpoint set on "cairo_status_to_string", I was able to get the following backtrace, which appears relevant: Breakpoint 1, cairo_status_to_string (status=CAIRO_STATUS_INVALID_MATRIX) at cairo-misc.c:82 82 switch (status) { (gdb) bt #0 cairo_status_to_string (status=CAIRO_STATUS_INVALID_MATRIX) at cairo-misc.c:82 #1 0x00007fffe925d187 in CairoOutputDev::setCairo(_cairo*) () from /lib64/libpoppler-glib.so.8 #2 0x00007fffe925186c in _poppler_page_render(_PopplerPage*, _cairo*, bool, PopplerPrintFlags) () from /lib64/libpoppler-glib.so.8 #3 0x00007fffe947edec in pdf_page_render (page=page@entry=0x7fffd003d240, width=1135, height=1469, rc=rc@entry=0x7fffd0001700) at ev-poppler.cc:373 #4 0x00007fffe947ef07 in pdf_document_render (document=<optimized out>, rc=0x7fffd0001700) at ev-poppler.cc:407 #5 0x000000331d0198a9 in ev_job_render_run (job=0x929340) at ev-jobs.c:574 #6 0x000000331d01b3a0 in ev_job_thread (job=0x929340) at ev-job-scheduler.c:183 #7 ev_job_thread_proxy (data=<optimized out>) at ev-job-scheduler.c:213 #8 0x00000032ee06c0e5 in g_thread_proxy (data=0x90cd40) at gthread.c:798 #9 0x0000003de9207c53 in start_thread (arg=0x7fffe9e87700) at pthread_create.c:308 #10 0x0000003de8af5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 In frame #3 (pdf_page_render()), the code looks like this: 371 cairo_scale (cr, rc->scale, rc->scale); 372 cairo_rotate (cr, rc->rotation * G_PI / 180.0); 373 poppler_page_render (page, cr); and I can see the following values via gdb at the breakpoint (i.e., in the middle of the call to poppler_page_rend()): (gdb) print *cr $4 = {ref_count = {ref_count = 2}, status = CAIRO_STATUS_INVALID_MATRIX, user_data = {size = 0, num_elements = 0, element_size = 24, elements = 0x0}, backend = 0x331b7178a0 <_cairo_default_context_backend>} (gdb) print *rc $6 = {parent = {g_type_instance = {g_class = 0x944ce0}, ref_count = 1, qdata = 0x0}, page = 0x7fffd0001730, rotation = 0, scale = 1.8547979593276978}
Created attachment 913589 [details] A screenshot of what I see when I try to view page 4 in atril (the document actually has lots of text, below the figure)
Couriously i can't reproduce the issue with f20, see attachment. But i can reproduce it with f19.
Created attachment 913789 [details] f20
Same results with evince, works in f20, in f19 not. So i'm thinking that it isn't atril problem, more with the poppler modul inside atril. A quick rebuild of f20 poppler version for f19 fix the issue for me. http://koji.fedoraproject.org/koji/taskinfo?taskID=7097240 But for installing this package you need to remove some other packages. [root@qemu-f19 ~]# yum history info 121 Geladene Plugins: langpacks, refresh-packagekit Transaktions-ID : 121 Anfangszeit : Tue Jul 1 17:59:21 2014 Anfang rpmdb : 1464:c0dae0fe35db8221412a89292248e6d5a351eac6 Endzeit : 17:59:30 2014 (9 Sekunden) Ende rpmdb : 1455:b1976e2093a6e89737e121ae9c21363bad70d1ce Benutzer : Rave it <rave> Rückgabe-Code : Erfolg Transaktion ausgeführt mit: <snip> Veränderte Pakete: Löschen bluez-cups-4.101-9.fc19.x86_64 @updates Löschen cups-1:1.6.4-5.fc19.x86_64 @updates Löschen cups-filters-1.0.53-2.fc19.x86_64 @updates Löschen foomatic-4.0.9-3.fc19.x86_64 @updates Löschen foomatic-db-4.0-38.20130604.fc19.noarch @fedora Löschen foomatic-db-ppds-4.0-38.20130604.fc19.noarch @fedora <snip> Löschen gutenprint-cups-5.2.9-11.fc19.x86_64 @fedora Löschen hpijs-1:3.13.11-4.fc19.x86_64 @updates Löschen hplip-3.13.11-4.fc19.x86_64 @updates <snip> Aktualisiert poppler-0.22.1-5.fc19.x86_64 @updates Aktualisieren 0.24.3-2.fc19.x86_64 @results Aktualisiert poppler-glib-0.22.1-5.fc19.x86_64 @updates Aktualisieren 0.24.3-2.fc19.x86_64 @results Aktualisiert poppler-utils-0.22.1-5.fc19.x86_64 @updates Aktualisieren 0.24.3-2.fc19.x86_64 @results <snip> Ausgabe des Skriptlets: 1 warning: /etc/cups/subscriptions.conf saved as /etc/cups/subscriptions.conf.rpmsave 2 warning: /etc/cups/cups-browsed.conf saved as /etc/cups/cups-browsed.conf.rpmsave history info Sorry german, but it should be clear which packages you need to remove for testing poppler-0.24.3-2.fc19. So for updating poppler other packages need to be rebuild for f19. Let's see what poppler maintainer things about that.
This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fixed - now works in FC21 (poppler-0.26.2-6.fc21.x86_64, atril-1.8.1-2.fc21.x86_64).