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 336825 - evince crashes on window close/application exit
evince crashes on window close/application exit
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
0.5.x
Other All
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 339223 347661 348147 352576 356607 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-01 12:43 UTC by Mitch
Modified: 2006-10-01 13:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Stack trace as requested with no optimization and -g (2.40 KB, text/plain)
2006-04-01 20:42 UTC, Mitch
  Details
Patch to try (923 bytes, patch)
2006-04-01 20:52 UTC, Nickolay V. Shmyrev
committed Details | Review

Description Mitch 2006-04-01 12:43:46 UTC
Steps to reproduce:
1. start evince
2. (do some work and then) exit evince
3. 


Stack trace:
(gdb) r
Starting program: /usr/bin/evince
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 29601)]
[New Thread 32769 (LWP 29604)]
[New Thread 16386 (LWP 29605)]

Program received signal SIGSEGV, Segmentation fault.

Thread 16384 (LWP 29601)

  • #0 IA__gtk_tree_model_get_iter
    at gtktreemodel.c line 927
  • #1 IA__gtk_tree_model_foreach
    at gtktreemodel.c line 1555
  • #2 ev_sidebar_thumbnails_new
  • #3 ev_sidebar_thumbnails_refresh
  • #4 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #6 IA__gtk_object_destroy
    at gtkobject.c line 403
  • #7 IA__gtk_widget_destroy
    at gtkwidget.c line 2039
  • #8 gtk_notebook_forall
    at gtknotebook.c line 3541
  • #9 IA__gtk_container_foreach
    at gtkcontainer.c line 1288
  • #10 gtk_container_destroy
    at gtkcontainer.c line 825
  • #11 gtk_notebook_destroy
    at gtknotebook.c line 1287
  • #12 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #15 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #16 ??


Other information:
% evince --version
Gnome evince 0.5.2
% ldd /usr/bin/evince
        linux-gate.so.1 =>  (0xffffe000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7f11000)
        libgnomeui-2.so.0 => /usr/lib/libgnomeui-2.so.0 (0xb7e84000)
        libbonoboui-2.so.0 => /usr/lib/libbonoboui-2.so.0 (0xb7e25000)
        libhowl.so.0 => /usr/lib/libhowl.so.0 (0xb7e19000)
        libSM.so.6 => /usr/X11/lib/libSM.so.6 (0xb7e10000)
        libICE.so.6 => /usr/X11/lib/libICE.so.6 (0xb7df8000)
        libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0xb7de4000)
        libesd.so.0 => /usr/lib/libesd.so.0 (0xb7dd9000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7d1d000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb7cf8000)
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0xb7c99000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7c5b000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7b22000)
        libavahi-glib.so.1 => /usr/lib/libavahi-glib.so.1 (0xb7b1e000)
        libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0xb7b0f000)
        libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0xb7b04000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7af2000)
        libutil.so.1 => /lib/libutil.so.1 (0xb7aee000)
        librt.so.1 => /lib/librt.so.1 (0xb7ada000)
        libbonobo-2.so.0 => /usr/lib/libbonobo-2.so.0 (0xb7a7f000)
        libbonobo-activation.so.4 => /usr/lib/libbonobo-activation.so.4 (0xb7a6b000)
        libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0 (0xb7a67000)
        libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0xb7a50000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb7a26000)
        libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0xb79d6000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0xb79ce000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb79ca000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7976000)
        libpoppler-glib.so.1 => /usr/lib/libpoppler-glib.so.1 (0xb795d000)
        libpoppler.so.1 => /usr/lib/libpoppler.so.1 (0xb77f1000)
        libgnome-keyring.so.0 => /usr/lib/libgnome-keyring.so.0 (0xb77e6000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb77ca000)
        libdbus-1.so.2 => /usr/lib/libdbus-1.so.2 (0xb779b000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7786000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb7733000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7714000)
        libc.so.6 => /lib/libc.so.6 (0xb75f4000)
        libgnomeprintui-2-2.so.0 => /usr/lib/libgnomeprintui-2-2.so.0 (0xb75ba000)
        libgnomeprint-2-2.so.0 => /usr/lib/libgnomeprint-2-2.so.0 (0xb7555000)
        libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0 (0xb752b000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb7515000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7279000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb720b000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb71f0000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb71de000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb71d7000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb71ad000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb717a000)
        libm.so.6 => /lib/libm.so.6 (0xb7157000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb70fd000)
        libXrender.so.1 => /usr/X11/lib/libXrender.so.1 (0xb70f4000)
        libX11.so.6 => /usr/X11/lib/libX11.so.6 (0xb7003000)
        libXext.so.6 => /usr/X11/lib/libXext.so.6 (0xb6ff5000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6fbc000)
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb6f93000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6f63000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6f43000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6ede000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6dc5000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb6db2000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6ce5000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6cb7000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6cb4000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6cb0000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6c37000)
        /lib/ld-linux.so.2 (0xb7f31000)
        libXinerama.so.1 => /usr/X11/lib/libXinerama.so.1 (0xb6c33000)
        libXrandr.so.2 => /usr/X11/lib/libXrandr.so.2 (0xb6c2f000)
        libXcursor.so.1 => /usr/X11/lib/libXcursor.so.1 (0xb6c26000)
        libXfixes.so.3 => /usr/X11/lib/libXfixes.so.3 (0xb6c20000)
        libXau.so.6 => /usr/X11/lib/libXau.so.6 (0xb6c1d000)
        libXdmcp.so.6 => /usr/X11/lib/libXdmcp.so.6 (0xb6c18000)
laptop ~%
Comment 1 Nickolay V. Shmyrev 2006-04-01 20:04:12 UTC
Thanks for report Mitch, unfortunately I've failed to reproduce this crash, does it occur every time or more rarely?
Comment 2 Mitch 2006-04-01 20:06:57 UTC
100% reproduceable, so yup it happens every time. Note, i failed to mention i'm using cvs gtk+ and glib so you may not be seeing this now, but will hit it once the next versions are out perhaps.
Comment 3 Nickolay V. Shmyrev 2006-04-01 20:35:27 UTC
Strange, it looks like stack is broken or something like that happens, can you rebuild evince with optimization disabled and collect backtrace again? To disable optimization you need to edit Makefile in evince/shell subdir and change -O2 to -O0.
Comment 4 Mitch 2006-04-01 20:42:08 UTC
Created attachment 62563 [details]
Stack trace as requested with no optimization and -g
Comment 5 Nickolay V. Shmyrev 2006-04-01 20:52:27 UTC
Created attachment 62564 [details] [review]
Patch to try

Wonderful, and the last thing, can you try the attached patch, does it fix the problem?
Comment 6 Mitch 2006-04-01 20:55:54 UTC
Yup that fixed it. Recompiled and working just fine.
Comment 7 Nickolay V. Shmyrev 2006-04-01 21:00:57 UTC
Applied, thanks again for nice testing.
Comment 8 Nickolay V. Shmyrev 2006-04-24 13:34:12 UTC
*** Bug 339223 has been marked as a duplicate of this bug. ***
Comment 9 Nickolay V. Shmyrev 2006-07-20 15:42:29 UTC
*** Bug 348147 has been marked as a duplicate of this bug. ***
Comment 10 Nickolay V. Shmyrev 2006-07-20 15:43:09 UTC
*** Bug 347661 has been marked as a duplicate of this bug. ***
Comment 11 Nickolay V. Shmyrev 2006-09-19 04:31:45 UTC
*** Bug 356607 has been marked as a duplicate of this bug. ***
Comment 12 Nickolay V. Shmyrev 2006-10-01 13:47:08 UTC
*** Bug 352576 has been marked as a duplicate of this bug. ***