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 317294 - Evince crashes when copying text after switching back from presentation mode
Evince crashes when copying text after switching back from presentation mode
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: general
0.4.x
Other All
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 319100 319575 320351 321232 323932 324877 326016 326233 326950 328650 331043 332649 334207 336597 336701 338679 339155 339391 345152 345986 347442 348053 348267 349839 372104 421501 430004 433733 438295 438358 438930 440432 443923 444313 453304 484103 513456 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-26 22:11 UTC by Sitsofe Wheeler
Modified: 2008-01-31 13:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Sitsofe Wheeler 2005-09-26 22:11:00 UTC
Steps to reproduce:
1. Download http://media.nextangle.com/rails/rails.pdf
2. Open the downloaded file in evince and go to page 2.
3. Press F5 to switch to presentation mode.
4. Highlight the text "blocks give...end"
5. Press F5 to switch to windows mode.
6. Highlight the text "blocks give...end"
7. Go to Step 3.

Stack trace:
Backtrace was generated from '/usr/bin/evince'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1228417344 (LWP 8916)]
[New Thread -1229800528 (LWP 8917)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1229800528 (LWP 8917))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/tls/i686/cmov/libc.so.6
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 SplashOutputDev::updateFont
    from /usr/lib/libpoppler.so.0
  • #5 TextSelectionPainter::visitWord
    from /usr/lib/libpoppler.so.0
  • #6 TextWord::visitSelection
    from /usr/lib/libpoppler.so.0
  • #7 TextLine::visitSelection
    from /usr/lib/libpoppler.so.0
  • #8 TextBlock::visitSelection
    from /usr/lib/libpoppler.so.0
  • #9 TextPage::visitSelection
    from /usr/lib/libpoppler.so.0
  • #10 TextPage::drawSelection
    from /usr/lib/libpoppler.so.0
  • #11 TextOutputDev::drawSelection
    from /usr/lib/libpoppler.so.0
  • #12 poppler_page_render_selection
    from /usr/lib/libpoppler-glib.so.0
  • #13 pdf_selection_render_selection
  • #14 ev_selection_render_selection
  • #15 ev_job_render_run
  • #16 ev_document_types_add_filters
  • #17 ev_document_types_add_filters
  • #18 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #19 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #20 clone
    from /lib/tls/i686/cmov/libc.so.6

Other information:
While it's hard to produce this bug in the first place, once you have the knack
it is reproducible every time. Reproduced with both the splash and cairo
versions of poppler 0.4.2 on Ubuntu Breezy and OpenSUSE 10 respectively.

evince-0.4.0-0ubuntu3
Comment 1 Sitsofe Wheeler 2005-09-26 22:19:15 UTC
Sometimes the following is printed on the terminal (but not always):
Xlib: unexpected async reply (sequence 0x2f02)!

Running with evince --sync doesn't stop the problems.
Comment 2 Brent Smith (smitten) 2005-09-30 19:43:48 UTC
(evince:24743): GLib-CRITICAL **: g_str_has_suffix: assertion `str != NULL' failed

** ERROR **: file ev-pixbuf-cache.c: line 810
(ev_pixbuf_cache_get_selection_pixbuf): assertion failed: (job_info->rc)
aborting...
Terminated

Using evince 0.4.0/poppler 0.4.2 (cairo) I get the following stack trace,
which is probably a dup of my own bug (bug 317624):

Backtrace was generated from '/opt/gnome2/bin/evince'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1227987264 (LWP 24743)]
[New Thread -1229386832 (LWP 24744)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1227987264 (LWP 24743))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 749
  • #3 <signal handler called>
  • #4 IA__g_logv
  • #5 IA__g_log
    at gmessages.c line 517
  • #6 IA__g_assert_warning
    at gmessages.c line 552
  • #7 ev_pixbuf_cache_get_selection_pixbuf
    at ev-pixbuf-cache.c line 810
  • #8 merge_selection_region
    at ev-view.c line 3287
  • #9 selection_update_idle_cb
    at ev-view.c line 1563
  • #10 g_idle_dispatch
    at gmain.c line 3813
  • #11 g_main_dispatch
    at gmain.c line 1934
  • #12 IA__g_main_context_dispatch
    at gmain.c line 2484
  • #13 g_main_context_iterate
    at gmain.c line 2565
  • #14 IA__g_main_loop_run
    at gmain.c line 2769
  • #15 IA__gtk_main
    at gtkmain.c line 976
  • #16 main
    at main.c line 295
  • #0 __kernel_vsyscall

Comment 3 Nickolay V. Shmyrev 2005-10-17 20:16:55 UTC
*** Bug 319100 has been marked as a duplicate of this bug. ***
Comment 4 Nickolay V. Shmyrev 2005-10-24 22:12:30 UTC
*** Bug 319575 has been marked as a duplicate of this bug. ***
Comment 5 Olivier Le Thanh Duong 2005-10-31 02:56:49 UTC
I can reproduce the problem here also with Poppler 0.4.2 and the same document.
Comment 6 Francois Poulain 2005-10-31 09:59:59 UTC
Here is my backtrace for this bug, if it can help ...

Backtrace was generated from '/usr/bin/evince'

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1228577104 (LWP 12984)]
[New Thread -1230849104 (LWP 12985)]
0xffffe410 in __kernel_vsyscall ()
  • #0 __kernel_vsyscall
  • #1 select
    from /lib/libc.so.6
  • #2 _XWaitForReadable
    from /usr/lib/libX11.so.6
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 pthread_mutex_unlock
    from /lib/libpthread.so.0

Comment 7 Francois Poulain 2005-10-31 10:03:07 UTC
Backtrace was generated from '/usr/bin/evince'

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1228577104 (LWP 13019)]
[New Thread -1230849104 (LWP 13020)]
0xffffe410 in __kernel_vsyscall ()
  • #0 __kernel_vsyscall
  • #1 select
    from /lib/libc.so.6
  • #2 _XWaitForReadable
    from /usr/lib/libX11.so.6
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 in6addr_loopback
    from /lib/libc.so.6
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
  • #35 ??
  • #36 ??
  • #37 ??
  • #38 ??
  • #39 ??
  • #40 ??
  • #41 ??
  • #42 ??
  • #43 ??
  • #44 ??
  • #45 ??
  • #46 ??
  • #47 ??
  • #48 ??
  • #49 ??
  • #50 ??
  • #51 ??
  • #52 ??
    from /usr/lib/libX11.so.6
  • #53 ??
    from /usr/lib/libX11.so.6
  • #54 ??
  • #55 ??
  • #56 ??
  • #57 _XRead
    from /usr/lib/libX11.so.6
  • #58 ??
  • #59 ??
  • #60 ??
  • #61 ??
    from /usr/lib/libX11.so.6
  • #62 ??
  • #63 ??
  • #64 ??
  • #65 _XReply
    from /usr/lib/libX11.so.6
  • #66 _XcursorThemeInherits
    from /usr/lib/libXcursor.so.1
  • #67 ??
  • #68 ??
  • #69 ??
    from /usr/lib/libX11.so.6
  • #70 ??
  • #71 ??
  • #72 ??
  • #73 XSync
    from /usr/lib/libX11.so.6
  • #74 ??
  • #75 ??
  • #76 ??
  • #77 ??
  • #78 ??
  • #79 ??
  • #80 ??
  • #81 ??
  • #82 ??
  • #83 ??
  • #84 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #85 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #86 ??
  • #87 gdk_flush
    from /usr/lib/libgdk-x11-2.0.so.0
  • #88 ??
  • #89 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #90 gdk_flush
    from /usr/lib/libgdk-x11-2.0.so.0
  • #91 ev_view_set_cursor
    at ev-view.c line 3395

Comment 8 Olivier Le Thanh Duong 2005-10-31 18:18:10 UTC
Here is mine :

Starting program: /usr/bin/evince 
[Thread debugging using libthread_db enabled]
[New Thread -1228147008 (LWP 5206)]
[New Thread -1230410832 (LWP 5209)]
[New Thread -1240253520 (LWP 5218)]
[New Thread -1240622160 (LWP 5219)]
*** attempt to put segment in horiz list twice
*** attempt to put segment in horiz list twice

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228147008 (LWP 5206)]
0xb73aee49 in SplashOutputDev::updateFont () from /usr/lib/libpoppler.so.0
(gdb) thread apply all bt

Thread 1 (Thread -1228147008 (LWP 5206))

  • #0 SplashOutputDev::updateFont
    from /usr/lib/libpoppler.so.0
  • #1 TextSelectionPainter::visitWord
    from /usr/lib/libpoppler.so.0
  • #2 TextWord::visitSelection
    from /usr/lib/libpoppler.so.0
  • #3 TextLine::visitSelection
    from /usr/lib/libpoppler.so.0
  • #4 TextBlock::visitSelection
    from /usr/lib/libpoppler.so.0
  • #5 TextPage::visitSelection
    from /usr/lib/libpoppler.so.0
  • #6 TextPage::drawSelection
    from /usr/lib/libpoppler.so.0
  • #7 TextOutputDev::drawSelection
    from /usr/lib/libpoppler.so.0
  • #8 poppler_page_render_selection
    from /usr/lib/libpoppler-glib.so.0
  • #9 pdf_selection_render_selection
    at ev-poppler.cc line 1199
  • #10 ev_selection_render_selection
    at ev-selection.c line 70
  • #11 ev_pixbuf_cache_get_selection_pixbuf
    at ev-pixbuf-cache.c line 849
  • #12 draw_one_page
    at ev-view.c line 1750
  • #13 ev_view_expose_event
    at ev-view.c line 1402
  • #14 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #20 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gdk_window_clear_area_e
    from /usr/lib/libgdk-x11-2.0.so.0
  • #23 gdk_window_process_all_updates
    from /usr/lib/libgdk-x11-2.0.so.0
  • #24 gtk_window_get_position
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #31 gtk_container_check_resize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_container_check_resize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #34 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #35 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #36 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #37 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 main
    at main.c line 295

Comment 9 Nickolay V. Shmyrev 2005-10-31 21:33:08 UTC
*** Bug 320351 has been marked as a duplicate of this bug. ***
Comment 10 Nickolay V. Shmyrev 2005-11-11 18:04:50 UTC
*** Bug 321232 has been marked as a duplicate of this bug. ***
Comment 11 Nickolay V. Shmyrev 2005-11-19 10:31:15 UTC
Hi all, actually it's the same poppler bug as 315552 and poppler bug 4402 has
patch that should that problem. About stack trace with assertion of
job_info->rc, it's fixed in CVS already, see bug 317624.

*** This bug has been marked as a duplicate of 315552 ***
Comment 12 Nickolay V. Shmyrev 2005-12-04 12:50:57 UTC
Ups, 315552 is already fixed, while this bug still stays, we are working on it in

https://bugs.freedesktop.org/show_bug.cgi?id=4481
Comment 13 Nickolay V. Shmyrev 2005-12-13 05:56:39 UTC
*** Bug 323932 has been marked as a duplicate of this bug. ***
Comment 14 Nickolay V. Shmyrev 2005-12-23 15:20:38 UTC
*** Bug 324877 has been marked as a duplicate of this bug. ***
Comment 15 Nickolay V. Shmyrev 2006-01-06 20:07:04 UTC
*** Bug 326016 has been marked as a duplicate of this bug. ***
Comment 16 Nickolay V. Shmyrev 2006-01-08 22:41:04 UTC
*** Bug 326233 has been marked as a duplicate of this bug. ***
Comment 17 Uri David Akavia 2006-01-15 07:45:06 UTC
*** Bug 326950 has been marked as a duplicate of this bug. ***
Comment 18 Nickolay V. Shmyrev 2006-01-25 22:24:32 UTC
*** Bug 328650 has been marked as a duplicate of this bug. ***
Comment 19 Nickolay V. Shmyrev 2006-02-13 20:19:43 UTC
*** Bug 331043 has been marked as a duplicate of this bug. ***
Comment 20 Sergej Kotliar 2006-02-27 01:29:42 UTC
*** Bug 332649 has been marked as a duplicate of this bug. ***
Comment 21 Nickolay V. Shmyrev 2006-03-11 12:08:07 UTC
*** Bug 334207 has been marked as a duplicate of this bug. ***
Comment 22 Fabio Bonelli 2006-03-30 15:06:47 UTC
*** Bug 336597 has been marked as a duplicate of this bug. ***
Comment 23 Nickolay V. Shmyrev 2006-03-31 08:43:34 UTC
*** Bug 336701 has been marked as a duplicate of this bug. ***
Comment 24 Sergej Kotliar 2006-04-16 11:05:46 UTC
*** Bug 338679 has been marked as a duplicate of this bug. ***
Comment 25 Sergej Kotliar 2006-04-21 10:17:58 UTC
*** Bug 339155 has been marked as a duplicate of this bug. ***
Comment 26 Nickolay V. Shmyrev 2006-05-05 15:39:01 UTC
*** Bug 339391 has been marked as a duplicate of this bug. ***
Comment 27 Elijah Newren 2006-06-17 03:17:19 UTC
*** Bug 345152 has been marked as a duplicate of this bug. ***
Comment 28 Damien Durand 2006-07-19 22:12:37 UTC
*** Bug 348053 has been marked as a duplicate of this bug. ***
Comment 29 Nickolay V. Shmyrev 2006-07-20 05:20:57 UTC
*** Bug 347442 has been marked as a duplicate of this bug. ***
Comment 30 Nickolay V. Shmyrev 2006-07-20 05:21:39 UTC
*** Bug 345986 has been marked as a duplicate of this bug. ***
Comment 31 Sergej Kotliar 2006-07-21 17:57:02 UTC
*** Bug 348267 has been marked as a duplicate of this bug. ***
Comment 32 Karsten Bräckelmann 2006-08-03 20:36:12 UTC
*** Bug 349839 has been marked as a duplicate of this bug. ***
Comment 33 Carlos Garcia Campos 2006-11-07 18:08:28 UTC
*** Bug 372104 has been marked as a duplicate of this bug. ***
Comment 34 palfrey 2007-04-07 15:11:48 UTC
*** Bug 421501 has been marked as a duplicate of this bug. ***
Comment 35 Carlos Garcia Campos 2007-04-15 15:39:59 UTC
*** Bug 430004 has been marked as a duplicate of this bug. ***
Comment 36 Nickolay V. Shmyrev 2007-04-27 19:12:11 UTC
*** Bug 433733 has been marked as a duplicate of this bug. ***
Comment 37 Carlos Garcia Campos 2007-05-14 12:56:47 UTC
*** Bug 438295 has been marked as a duplicate of this bug. ***
Comment 38 Carlos Garcia Campos 2007-05-14 16:15:02 UTC
*** Bug 438358 has been marked as a duplicate of this bug. ***
Comment 39 Carlos Garcia Campos 2007-05-16 16:38:19 UTC
*** Bug 438930 has been marked as a duplicate of this bug. ***
Comment 40 Carlos Garcia Campos 2007-05-22 12:50:13 UTC
*** Bug 440432 has been marked as a duplicate of this bug. ***
Comment 41 Carlos Garcia Campos 2007-06-04 13:13:16 UTC
*** Bug 443923 has been marked as a duplicate of this bug. ***
Comment 42 Carlos Garcia Campos 2007-06-05 12:48:06 UTC
*** Bug 444313 has been marked as a duplicate of this bug. ***
Comment 43 Carlos Garcia Campos 2007-07-03 07:25:53 UTC
*** Bug 453304 has been marked as a duplicate of this bug. ***
Comment 44 Cosimo Cecchi 2007-10-08 12:24:16 UTC
*** Bug 484103 has been marked as a duplicate of this bug. ***
Comment 45 Carlos Garcia Campos 2008-01-31 13:45:51 UTC
*** Bug 513456 has been marked as a duplicate of this bug. ***