[Poppler-bugs] [Bug 15606] Reproducible segfault of Poppler when selecting text

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 19 10:36:13 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15606


Robin Stocker <robin.stocker at gmx.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robin.stocker at gmx.ch




--- Comment #2 from Robin Stocker <robin.stocker at gmx.ch>  2008-04-19 10:36:12 PST ---
Here's another way to trigger the same segfault again, using the same document
on the same page:

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. Position the cursor between the word "connects" in the sentence "The
algorithm connects the send to all k templates" and the rho letter (ρ) beneath
its second "n".
4. Double-click
5. Crash

Here's the line of the segfault, the backtrace is the same as with the first
test case:

Program received signal SIGSEGV, Segmentation fault.
TextLine::visitSelection (this=0xd06340, visitor=0x7fff24d3f910,
selection=0x7fff24d3f800, style=selectionStyleWord) at TextOutputDev.cc:3778
3778        child_selection.x1 = begin->xMin;

Here are the selection parameters:

TextPage::visitSelection: {x1 = 223.3125, y1 = 617.0625, x2 = 223.3125, y2 =
617.0625}
TextBlock::visitSelection: {x1 = 223.3125, y1 = 617.0625, x2 = 223.3125, y2 =
617.0625}
TextLine::visitSelection: {x1 = 223.3125, y1 = 617.0625, x2 = 612, y2 = 792}

This time, the y is too big from the start. I don't know the code, but there's
something wrong in the calculation of the child_selections or the lines which
should be visited...


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list