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 350108 - Reproducible crash when selecting text in PDF document with evince
Reproducible crash when selecting text in PDF document with evince
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: general
0.5.x
Other All
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 362110 368362 368731 370326 370896 382977 398946 399736 401755 406942 426398 439599 476095 575580 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-06 00:56 UTC by Dominique
Modified: 2009-03-17 14:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
valgrind memory checker error report with evince-5.2 (71.60 KB, text/plain)
2006-08-07 08:46 UTC, Dominique
Details

Description Dominique 2006-08-06 00:56:10 UTC
Steps to reproduce:
1. view following PDF document with evince PDF viewer:
http://en.lernu.net/pri_lernu/informiloj/faldfolioj/faldfolio-fr.pdf

2. try to select with the mouse all text on first page

3. observe that as you select text on the entire page, that a crash happens (100% reproducible)




Stack trace:
Debugging Information:

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)
(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 -1228441376 (LWP 5679)]
[New Thread -1229837392 (LWP 5681)]
(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)
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1228441376 (LWP 5679))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 memcpy
    from /lib/tls/i686/cmov/libc.so.6
  • #5 GooString::GooString
    from /usr/lib/libpoppler.so.1
  • #6 TextSelectionPainter::visitWord
    from /usr/lib/libpoppler.so.1
  • #7 TextWord::visitSelection
    from /usr/lib/libpoppler.so.1
  • #8 TextLine::visitSelection
    from /usr/lib/libpoppler.so.1
  • #9 TextBlock::visitSelection
    from /usr/lib/libpoppler.so.1
  • #10 TextPage::visitSelection
    from /usr/lib/libpoppler.so.1
  • #11 TextPage::drawSelection
    from /usr/lib/libpoppler.so.1
  • #12 TextOutputDev::drawSelection
    from /usr/lib/libpoppler.so.1
  • #13 poppler_page_render_selection
    from /usr/lib/libpoppler-glib.so.1
  • #14 pdf_selection_render_selection
  • #15 ev_selection_render_selection
  • #16 ev_pixbuf_cache_get_selection_pixbuf
  • #17 ev_view_rotate_right
  • #18 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #19 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #20 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #21 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #22 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 main
  • #0 __kernel_vsyscall


Other information:
Distribution: Ubuntu 6.06 (dapper)
Version: GNOME2.14.3 unspecified
Evince 0.5.2 according to about screen
Comment 1 Dominique 2006-08-06 01:03:48 UTC
Sorry, in the bug description I say to select text on the first page to reproduce bug.  But bug actually happens when selecting text on the **second** page (document has only 2 pages)


Comment 2 Christian Kirbach 2006-08-06 21:51:35 UTC
no crash here with Evince 0.5.2

please upgrade to the latest version and retry.
if you can still reproduce please install a poppler debugging package.
Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 3 Dominique 2006-08-07 08:46:49 UTC
Created attachment 70366 [details]
valgrind memory checker error report with evince-5.2

> please upgrade to the latest version and retry.

I also have evince-5.2 here and it crashes for me (Ubuntu-6.06):

  $ evince --version
  Gnome evince 0.5.2

Did you try to select text on **second** page?  Unfortunately, in
the bug description, I say to select text on first page, but
bug actually happens on second page of the document.

It crashes whether I select entire page with the mouse, or
with "Edit -> Select All"  (on second page) from main menu.

The offending pdf can be dowloaded there:

  $ wget http://en.lernu.net/pri_lernu/informiloj/faldfolioj/faldfolio-fr.pdf


> if you can still reproduce please install a poppler debugging
> package. Please see http://live.gnome.org/GettingTraces for more
> information on how to do so.

Not sure what's missing from the stack trace I put in the bug report.

Anyway, I ran it with valgrind memory checker.  It's slow to run
with valgrind but I could reproduce the crash.  There are lots
of error messages, hard to tell which one triggers the crash.

I attach the errors reported by valgrind memory checker:

  $ valgrind --tool=memcheck --leak-check=yes \
             --track-fds=yes --num-callers=10 \
     evince http://en.lernu.net/pri_lernu/informiloj/faldfolioj/faldfolio-fr.pdf
Comment 4 Dominique 2006-08-07 08:52:02 UTC
Not only evince-5.2 crashes with Ubuntu-6.06, it also crashes on another machine which is using an older version: Ubuntu-5.10 (I think it was evince-4.*)
Comment 5 Carlos Garcia Campos 2006-08-07 09:21:11 UTC
It crashes with evince cvs head too. I think it only crashes when selecting some font types. Anyway it's a poppler bug. Could you please follow these
instructions to help get this  bug fixed?

http://live.gnome.org/Evince/PopplerBugs#poppler

Thank you. 
Comment 6 Dominique 2006-08-07 09:45:28 UTC
Opened Poppler bug for this issue:

  https://bugs.freedesktop.org/show_bug.cgi?id=7793

Bug can be closed as "NOTGNOME".
Comment 7 Christian Kirbach 2006-08-08 11:20:23 UTC
OK Edit->Select All crasher for me, too.
Comment 8 Nickolay V. Shmyrev 2006-11-04 14:00:32 UTC
*** Bug 362110 has been marked as a duplicate of this bug. ***
Comment 9 Nickolay V. Shmyrev 2006-11-04 14:01:11 UTC
*** Bug 368731 has been marked as a duplicate of this bug. ***
Comment 10 Nickolay V. Shmyrev 2006-11-04 14:01:28 UTC
*** Bug 370326 has been marked as a duplicate of this bug. ***
Comment 11 Nickolay V. Shmyrev 2006-11-04 14:01:36 UTC
*** Bug 368362 has been marked as a duplicate of this bug. ***
Comment 12 Nickolay V. Shmyrev 2006-11-05 09:03:55 UTC
*** Bug 370896 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2006-11-09 19:56:44 UTC
see http://bugzilla.gnome.org/show_bug.cgi?id=372843#c4 for a better stacktrace
Comment 14 Christian Kirbach 2006-11-11 01:57:28 UTC
FYI: the poppler bug has been fixed and will be fixed with the next poppler release.
Comment 15 Christian Kirbach 2006-12-06 12:03:20 UTC
*** Bug 382977 has been marked as a duplicate of this bug. ***
Comment 16 Francesco Mari 2007-01-21 11:19:41 UTC
*** Bug 398946 has been marked as a duplicate of this bug. ***
Comment 17 André Klapper 2007-01-23 00:10:30 UTC
52 dups within the last 30 days - adding the trace of dup bug 362110 to the auto-reject list.
Comment 18 Carlos Garcia Campos 2007-01-23 12:33:10 UTC
*** Bug 399736 has been marked as a duplicate of this bug. ***
Comment 19 Carlos Garcia Campos 2007-01-28 17:39:56 UTC
*** Bug 401755 has been marked as a duplicate of this bug. ***
Comment 20 Carlos Garcia Campos 2007-02-12 10:52:03 UTC
*** Bug 406942 has been marked as a duplicate of this bug. ***
Comment 21 Carlos Garcia Campos 2007-04-05 08:51:15 UTC
*** Bug 426398 has been marked as a duplicate of this bug. ***
Comment 22 Carlos Garcia Campos 2007-05-19 09:02:43 UTC
*** Bug 439599 has been marked as a duplicate of this bug. ***
Comment 23 André Klapper 2007-09-13 10:04:04 UTC
*** Bug 476095 has been marked as a duplicate of this bug. ***
Comment 24 André Klapper 2007-12-09 11:53:57 UTC
no new rejected reports for more than a month now (we reject reports from GNOME <=2.16).
removing from the auto-reject list.
Comment 25 Carlos Garcia Campos 2009-03-17 14:06:14 UTC
*** Bug 575580 has been marked as a duplicate of this bug. ***