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 630999 - evince crashed with SIGSEGV in clear_job_selection()
evince crashed with SIGSEGV in clear_job_selection()
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
2.32.x
Other Linux
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 635416 638985 641473 643785 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-30 13:12 UTC by Pedro Villavicencio
Modified: 2011-03-03 18:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32


Attachments
Backtrace of segmentation fault (5.38 KB, text/plain)
2010-11-18 07:30 UTC, Dennis Sheil
Details

Description Pedro Villavicencio 2010-09-30 13:12:50 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/evince/+bug/651931

Opened a pdf file and got the crash, worked fine the second time though.

".

Thread 1 (process 19543)

  • #0 ev_pixbuf_cache_set_selection_list
    at /build/buildd/evince-2.32.0/./libview/ev-pixbuf-cache.c line 1014
  • #1 clear_selection
    at /build/buildd/evince-2.32.0/./libview/ev-view.c line 5998
  • #2 start_selection_for_event
    at /build/buildd/evince-2.32.0/./libview/ev-view.c line 3492
  • #3 ev_view_button_press_event
    at /build/buildd/evince-2.32.0/./libview/ev-view.c line 3596
  • #4 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmarshalers.c line 86
  • #5 ??
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 ??
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_widget_event_internal
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtkwidget.c line 4985
  • #11 IA__gtk_propagate_event
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c line 2465
  • #12 IA__gtk_main_do_event
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c line 1626
  • #13 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.22.0/gdk/x11/gdkevents-x11.c line 2377
  • #14 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #15 ??
    from /lib/libglib-2.0.so.0
  • #16 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #17 IA__gtk_main
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c line 1237
  • #18 main
    from /usr/bin/evince

Comment 1 Fabio Durán Verdugo 2010-10-01 03:36:26 UTC
Pedro: Can you ask for attach the pdf?
Comment 2 Pedro Villavicencio 2010-10-01 12:10:42 UTC
doing that already, thanks Fabio.
Comment 3 Milan Bouchet-Valat 2010-10-19 20:37:07 UTC
Informations from the downstream report:
It's any given PDF, I was able to reproduce it with several; you just need to click before the document area is redrawn/resized.

Heres a handful:
http://delivery.acm.org/10.1145/1070000/1066954/p1231-mcpherson.pdf?key1=1066954&key2=7358983711&coll=GUIDE&dl=GUIDE&CFID=15151515&CFTOKEN=6184618
http://vis.cs.ucdavis.edu/~ogawa/apvis07ogawa.pdf
http://vis.cs.ucdavis.edu/~shearer/papers/pixelplexing.pdf
http://www.firstamendmentcenter.org/pdf/SOFA.Sept.2010data.pdf
Comment 4 Carlos Garcia Campos 2010-11-14 15:31:41 UTC
I can't reproduce it.
Comment 5 Milan Bouchet-Valat 2010-11-14 15:43:10 UTC
I don't we can do it on request either... :-( A reporter downstream said "clicking on the client area" was enough for him to trigger the crash.

Does the trace contain anything that could be useful, or that could give a hint about how to reproduce it?
Comment 6 Fabio Durán Verdugo 2010-11-14 19:33:41 UTC
I can't reproduce it too.
Comment 7 Milan Bouchet-Valat 2010-11-14 21:22:50 UTC
Carlos: a reporter in Launchpad just replied and confirms he's able to reproduce the bug at will, and I've been able too by following these instructions:
> Evince will crash if you click on the window just after its started up
> and mapped, but just before it resizes and displays the file it opened.
> It can be tricky to reproduce and click at the right time if your WM
> has weird rules for window placement, but it happens every time
> without fail.

It's likely to depend on your computer's performances. I needed to put mine under pressure (I opened the PDF while launching OpenOffice) to manage clicking in the window before it resizes itself. Maybe also with something like starting Rhythmbox, running updatedb or a heavy task like that... ;-)
Comment 8 Dennis Sheil 2010-11-18 07:30:02 UTC
Created attachment 174754 [details]
Backtrace of segmentation fault
Comment 9 Dennis Sheil 2010-11-18 07:38:49 UTC
I can reproduce it on Ubuntu 10.10 with evince 2.32.0-0ubuntu1 ( https://launchpad.net/ubuntu/+source/evince/2.32.0-0ubuntu1 ).  I don't think the files matter much, although some are more prone than others.  The method of getting the segmentation fault is quickly left-clicking in the main window before the PDF comes up.

It also happens in the latest evince trunk commit (Tue Nov 16 19:21:22 2010 +0100 08a644b265e9aac065c6df01a444161c6906de67), against the latest poppler commit, against relatively recent gtk+/glib etc.  The backtrace of that I just attached to the bug report.

With the vanilla Ubuntu 10.10 evince I can reproduce it pretty easily.  With my latest evince from jhbuild, it took me a few tries to reproduce the problem.  I would suggest trying different pdf's under different loads.  The key is to left click immediately after the main window opens.  A split-second later there will be no problem.  My desktop is fast though, on a netbook it may be more of a problem.
Comment 10 Carlos Garcia Campos 2010-11-21 10:07:33 UTC
*** Bug 635416 has been marked as a duplicate of this bug. ***
Comment 11 Carlos Garcia Campos 2010-11-21 11:34:56 UTC
Fixed in git master. Thank you all for your help.
Comment 12 Jan Stępień 2011-01-08 15:45:14 UTC
*** Bug 638985 has been marked as a duplicate of this bug. ***
Comment 13 Carlos Garcia Campos 2011-02-04 11:32:12 UTC
*** Bug 641473 has been marked as a duplicate of this bug. ***
Comment 14 Fabio Durán Verdugo 2011-03-03 18:50:01 UTC
*** Bug 643785 has been marked as a duplicate of this bug. ***