Bug 4368

Summary: evince/poppler crash while selecting text
Product: poppler Reporter: peterzelezny
Component: generalAssignee: Kristian Høgsberg <krh>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high CC: dax
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description peterzelezny 2005-09-06 08:08:26 UTC
Version: poppler-0.4.1-1.1 (from FC4, might be patched)

0xb7e337f9 in TextBlock::visitSelection () from /usr/lib/libpoppler.so.0
(gdb) bt full
#0  0xb7e337f9 in TextBlock::visitSelection () from /usr/lib/libpoppler.so.0
No symbol table info available.
#1  0xb7e339ba in TextPage::visitSelection () from /usr/lib/libpoppler.so.0
No symbol table info available.
#2  0xb7e34ace in TextPage::getSelectionRegion () from /usr/lib/libpoppler.so.0
No symbol table info available.
#3  0xb7e34b1c in TextOutputDev::getSelectionRegion ()
   from /usr/lib/libpoppler.so.0
No symbol table info available.
#4  0xb7e9d62e in poppler_page_get_selection_region ()
   from /usr/lib/libpoppler-glib.so.0
No symbol table info available.
#5  0x0808a82f in pdf_selection_get_selection_region ()
No symbol table info available.
#6  0x08088348 in ev_selection_get_selection_region ()
No symbol table info available.
#7  0x08065e07 in ev_pixbuf_cache_get_selection_pixbuf ()
No symbol table info available.
#8  0x0806c853 in ev_view_rotate_right ()
No symbol table info available.
#9  0x0056f650 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x0056d3ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x005703f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x005706e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00a0f1b5 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x0807999d in main ()
Comment 1 Evan McNabb 2005-09-07 12:55:43 UTC
I've had the same problem with the same version of poppler/evince on FC4. Here
is my trace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208809792 (LWP 7051)]
0x040cb7f9 in TextBlock::visitSelection (this=0x8883e78, visitor=0xbfc586c8,
selection=0xbfc58660)
    at TextOutputDev.cc:3441
3441        if (p->next == end) {
Current language:  auto; currently c++
(gdb) where
#0  0x040cb7f9 in TextBlock::visitSelection (this=0x8883e78, visitor=0xbfc586c8,
selection=0xbfc58660)
    at TextOutputDev.cc:3441
#1  0x040cb9ba in TextPage::visitSelection (this=0x8780580, visitor=0xbfc586c8,
selection=0xbfc58748)
    at TextOutputDev.cc:3522
#2  0x040ccace in TextPage::getSelectionRegion (this=0x8780580,
selection=0x8898b80, scale=586.11528555379198)
    at TextOutputDev.cc:3543
#3  0x040ccb1c in TextOutputDev::getSelectionRegion (this=0x8898b80,
selection=0x8898b80, scale=586.11528555379198)
    at TextOutputDev.cc:4109
#4  0x00a6788e in poppler_page_get_selection_region (page=0x8898b80,
scale=1.0959595441818237, selection=0xbfc586c8)
    at poppler-page.cc:350
#5  0x0808a82f in pdf_selection_get_selection_region (selection=0x8898b80,
rc=0x869c308, points=0x8898b80)
    at ev-poppler.cc:1215
#6  0x08088348 in ev_selection_get_selection_region (selection=0x856bd80,
rc=0xbfc586c8, points=0xbfc586c8)
    at ev-selection.c:83
#7  0x08065e07 in ev_pixbuf_cache_get_selection_pixbuf (pixbuf_cache=0x8693b38,
page=38, scale=1.09595954,
    region=0xbfc588d0) at ev-pixbuf-cache.c:840
#8  0x0806c853 in selection_update_idle_cb (view=0x84f67a8) at ev-view.c:3126
#9  0x0038d650 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#10 0x0038b3ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x0038e3f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#12 0x0038e6e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x006031b5 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x0807999d in main (argc=-1077573944, argv=0xbfc586c8) at main.c:295
Comment 2 Dax Kelson 2005-09-07 13:04:15 UTC

*** This bug has been marked as a duplicate of 4326 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.