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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 19 03:38:27 PDT 2008


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

           Summary: Reproducible segfault of Poppler when selecting text
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: carlosgc at gnome.org


Bug forwarded from Evince: http://bugzilla.gnome.org/show_bug.cgi?id=528484

"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
#0  0x00007f914bf41597 in TextLine::visitSelection () from
/usr/lib/libpoppler.so.2
#1  0x00007f914bf41782 in TextBlock::visitSelection () from
/usr/lib/libpoppler.so.2
#2  0x00007f914bf41a62 in TextPage::visitSelection () from
/usr/lib/libpoppler.so.2
#3  0x00007f914bf443fd in TextPage::getSelectionRegion () from
/usr/lib/libpoppler.so.2
#4  0x00007f91519cd1fe in poppler_page_get_selection_region () from
/usr/lib/libpoppler-glib.so.2
#5  0x0000000000427b2f in ev_pixbuf_cache_get_selection_surface
(pixbuf_cache=0xb19f20, page=<value optimized out>, scale=1.77777779,
region=0x7fff5d787c98)
    at /build/buildd/evince-2.22.1.1/./shell/ev-pixbuf-cache.c:1026
#6  0x000000000042c5f2 in merge_selection_region (view=0x94e140,
new_list=<value optimized out>) at
/build/buildd/evince-2.22.1.1/./shell/ev-view.c:5577
#7  0x0000000000430a77 in compute_selections (view=0x94e140,
style=EV_SELECTION_STYLE_WORD, start=0x94e358, stop=0x94e358)
    at /build/buildd/evince-2.22.1.1/./shell/ev-view.c:5652
#8  0x0000000000430c3d in selection_update_idle_cb (view=0xf7d710) at
/build/buildd/evince-2.22.1.1/./shell/ev-view.c:2885
#9  0x00007f915077b262 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#10 0x00007f915077e516 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00007f915077e7d7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0x00007f9152595ee3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x0000000000448c73 in main (argc=1, argv=<value optimized out>) at
/build/buildd/evince-2.22.1.1/./shell/main.c:412

Other information:
Evince 2.22.1.1
poppler 0.6.4 (cairo)"

Look at the original bug report in gnome bugzilla for a better stacktrace and
further information.


-- 
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