After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684989 - Evince Crashes When Viewing Parts of PDF
Evince Crashes When Viewing Parts of PDF
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: PDF
3.4.x
Other Linux
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-27 18:00 UTC by Kevin Cox
Modified: 2012-11-02 13:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Stack Trace (5.64 KB, text/plain)
2012-10-02 01:45 UTC, Kevin Cox
Details

Description Kevin Cox 2012-09-27 18:00:36 UTC
When viewing the PDF I get the following error upon scrolling to about page 32.

evince: GfxState.cc:4159: void GfxGouraudTriangleShading::getTriangle(int, double*, double*, GfxColor*, double*, double*, GfxColor*, double*, double*, GfxColor*): Assertion `!isParameterized()' failed.
Aborted

Similarly `evince -i 32 $pdf` crashes as well.
Comment 1 Kevin Cox 2012-09-28 00:52:29 UTC
The file upload failed (silently) because the file is too large.  You can find it here: http://www.engsoc.org/~kevincox/f/Lecture%203%20-%20Engineering%20Reporting%20&%20Units0-3.pdf.
Comment 2 José Aliste 2012-09-28 00:58:46 UTC
Could you tell which version of poppler are you using? The assertion you are getting is from poppler, and most probably this is either a poppler bug or a weird pdf file. In my fedora 17 machine, I don't get the crash
Comment 3 Kevin Cox 2012-09-28 01:25:09 UTC
poppler 0.20.3-1
Comment 4 Germán Poo-Caamaño 2012-10-01 07:50:34 UTC
Neither I can.

The only problem I see is the second column in page 5, which renders ugly
(a poppler issue, probably).

I noticed that getting the page 32 is slightly slower than the other pages,
but it renders fine in my machine, as well as the rest of the document.

The PDF does not look like big, except if there were memory constraints.
What are your machine settings?  Can you reproduce it in a different 
machine?
Comment 5 Felix Möller 2012-10-01 20:56:34 UTC
This file makes my evince crash as well.

Backtrace is generated at <https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1059837>.

libpoppler28 0.20.4-0ubuntu1
evince-common 3.6.0-0ubuntu1
Comment 6 Kevin Cox 2012-10-01 21:03:50 UTC
> The PDF does not look like big, except if there were memory constraints.

I have 4GB of ram and am not doing much.

> What are your machine settings? 

What exactly do you mean?

> Can you reproduce it in a different machine?

I crashes on my other arch computer as well. (Only 1GB ram and 32-bit).
Comment 7 Felix Möller 2012-10-01 21:11:48 UTC
I have 8GB of RAM which are mostly empty. This is a 64bit system. I am using Ubuntu 12.10.

So this is not depending on the architecture.
And it does happen on Ubuntu and some other distribution of Kevin.

Kevin, which distribution are you running?
Comment 8 Felix Möller 2012-10-01 21:18:06 UTC
This is a duplicate of bug #684151 I think
Comment 9 Germán Poo-Caamaño 2012-10-01 21:22:50 UTC
(In reply to comment #6)
> > The PDF does not look like big, except if there were memory constraints.
> 
> I have 4GB of ram and am not doing much.
> 
> > What are your machine settings? 
> 
> What exactly do you mean?

Architecture (it seems 64bits), distro version, package versions, etc.

Also, having a backtrace would help to determine where is the problem.
For that, you have to install the debugging symbols (usually, the same
package name plus the prefix '-dbg').  More information on how to get
backtraces: https://live.gnome.org/GettingTraces/DistroSpecificInstructions
Comment 10 Kevin Cox 2012-10-01 21:25:18 UTC
I'm away from the computer right now but both are arch Linux reasonably up to date (within a week, I'll update and check again).  One is 32 and one is 64 bit.
Comment 11 Germán Poo-Caamaño 2012-10-01 21:36:44 UTC
(In reply to comment #5)
> This file makes my evince crash as well.
> 
> Backtrace is generated at
> <https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1059837>.
> 
> libpoppler28 0.20.4-0ubuntu1
> evince-common 3.6.0-0ubuntu1

The stacktraces in that bug report do not have symbols.  Can you
install the debug symbols and try again?

https://live.gnome.org/GettingTraces/DistroSpecificInstructions
Comment 12 Felix Möller 2012-10-01 21:54:36 UTC
What symbols are missing in <https://launchpadlibrarian.net/118046342/Stacktrace.txt>? Looks detailed to me.
Comment 13 Kevin Cox 2012-10-02 01:45:58 UTC
Created attachment 225548 [details]
Stack Trace
Comment 14 José Aliste 2012-11-02 13:57:42 UTC
This is poppler bug https://bugs.freedesktop.org/show_bug.cgi?id=56463, which has just been fixed.