GNOME Bugzilla – Bug 528484
Reproducible segfault of Poppler when selecting text
Last modified: 2009-01-30 10:32:07 UTC
Steps to reproduce: 1. Download the PDF version of the document at http://research.sun.com/techrep/1996/abstract-52.html 2. Open it in Evince and navigate to page 66 of the PDF 3. Start a selection with the word "The" at the bottom of the page in the sentence "The algorithm connects the send to all k templates" by double-clicking on the "h" and then dragging the selection down to the next line (mousedown-mouseup-mousedown-drag). 4. Witness crash :) Stack trace: Program received signal SIGSEGV, Segmentation fault. 0x00007f914bf41597 in TextLine::visitSelection () from /usr/lib/libpoppler.so.2 (gdb) backtrace
+ Trace 195414
Other information: Evince 2.22.1.1 poppler 0.6.4 (cairo)
I can't reproduce it with poppler from git master. Current poppler stable is 0.8, please upgrade it, 0.6.4 is an old version.
Ok, I just checkout out the Evince SVN trunk and poppler git master, built both and tried the specific procedure again. The info page now says "poppler 0.8.0 (cairo)", so it's the right one. Here's what I get: Program received signal SIGSEGV, Segmentation fault. TextLine::visitSelection (this=0xd16d50, visitor=0x7fff21889ba0, selection=0x7fff21889a90, style=selectionStyleWord) at TextOutputDev.cc:3778 3778 child_selection.x1 = begin->xMin; Current language: auto; currently c++ (gdb) backtrace
+ Trace 195505
Maybe you didn't do exactly the same as I did, or maybe it's platform-specific (I'm on x86_64), but it's reproducible for me. Selection has to start with double-clicking on the "h" and dragging down, so it's a fairly specific bug. I'm happy to try out patches if you have some ideas.
In any case this is a crash in poppler, so I've just moved it to the freedesktop bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=15606 Thanks.
*** Bug 532547 has been marked as a duplicate of this bug. ***
*** Bug 504021 has been marked as a duplicate of this bug. ***
*** Bug 501673 has been marked as a duplicate of this bug. ***
*** Bug 556231 has been marked as a duplicate of this bug. ***
*** Bug 556746 has been marked as a duplicate of this bug. ***
*** Bug 557211 has been marked as a duplicate of this bug. ***
*** Bug 557217 has been marked as a duplicate of this bug. ***
*** Bug 557626 has been marked as a duplicate of this bug. ***
*** Bug 557668 has been marked as a duplicate of this bug. ***
*** Bug 558574 has been marked as a duplicate of this bug. ***
*** Bug 559566 has been marked as a duplicate of this bug. ***
*** Bug 561365 has been marked as a duplicate of this bug. ***
*** Bug 561424 has been marked as a duplicate of this bug. ***
Finally fixed in poppler. See https://bugs.freedesktop.org/show_bug.cgi?id=15606
*** Bug 564765 has been marked as a duplicate of this bug. ***
*** Bug 567768 has been marked as a duplicate of this bug. ***
*** Bug 568310 has been marked as a duplicate of this bug. ***
*** Bug 569780 has been marked as a duplicate of this bug. ***