GNOME Bugzilla – Bug 572013
eog will not open if set to display collection.
Last modified: 2011-04-14 20:19:55 UTC
Steps to reproduce: 1. open an image in eog, 2. select View-Image Collection, 3. close eog, 4. double-click an image, and note that EOG will not open. A process for eog will be visible in the processes tab of System Monitor. Stack trace: GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". (gdb) set pagination 0 (gdb) attach 7913 Attaching to process 7913 Reading symbols from /usr/bin/eog...Reading symbols from /usr/lib/debug/usr/bin/eog...done. done. Reading symbols from /usr/lib/libpython2.5.so.1.0...done. Loaded symbols for /usr/lib/libpython2.5.so.1.0 Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 0xb6a4a720 (LWP 7913)] [New Thread 0xb4d6fb90 (LWP 7916)] [New Thread 0xb683bb90 (LWP 7914)] Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0 Reading symbols from /usr/lib/libgio-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgio-2.0.so.0.0.0...done. done. Loaded symbols for /usr/lib/libgio-2.0.so.0 Reading symbols from /usr/lib/libglade-2.0.so.0...done. Loaded symbols for /usr/lib/libglade-2.0.so.0 Reading symbols from /usr/lib/liblaunchpad-integration.so.1...done. Loaded symbols for /usr/lib/liblaunchpad-integration.so.1 Reading symbols from /usr/lib/libgnome-desktop-2.so.2...done. Loaded symbols for /usr/lib/libgnome-desktop-2.so.2 Reading symbols from /usr/lib/libgnomeui-2.so.0...done. Loaded symbols for /usr/lib/libgnomeui-2.so.0 Reading symbols from /usr/lib/libgnomevfs-2.so.0...done. Loaded symbols for /usr/lib/libgnomevfs-2.so.0 Reading symbols from /usr/lib/libgnome-2.so.0...done. Loaded symbols for /usr/lib/libgnome-2.so.0 Reading symbols from /usr/lib/libart_lgpl_2.so.2...done. Loaded symbols for /usr/lib/libart_lgpl_2.so.2 Reading symbols from /usr/lib/libgconf-2.so.4...done. Loaded symbols for /usr/lib/libgconf-2.so.4 Reading symbols from /usr/lib/libgthread-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgthread-2.0.so.0.1600.6...done. done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgtk-x11-2.0.so.0.1200.9...done. done. Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0 Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgdk-x11-2.0.so.0.1200.9...done. done. Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgdk_pixbuf-2.0.so.0.1200.9...done. done. Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/lib/libcairo.so.2...done. Loaded symbols for /usr/lib/libcairo.so.2 Reading symbols from /usr/lib/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /usr/lib/libgmodule-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgmodule-2.0.so.0.1600.6...done. done. Loaded symbols for /usr/lib/libgmodule-2.0.so.0 Reading symbols from /usr/lib/libexif.so.12...done. Loaded symbols for /usr/lib/libexif.so.12 Reading symbols from /usr/lib/liblcms.so.1...done. Loaded symbols for /usr/lib/liblcms.so.1 Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /usr/lib/libexempi.so.3...done. Loaded symbols for /usr/lib/libexempi.so.3 Reading symbols from /usr/lib/libdbus-glib-1.so.2...done. Loaded symbols for /usr/lib/libdbus-glib-1.so.2 Reading symbols from /usr/lib/libgobject-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgobject-2.0.so.0.1600.6...done. done. Loaded symbols for /usr/lib/libgobject-2.0.so.0 Reading symbols from /usr/lib/libglib-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libglib-2.0.so.0.1600.6...done. done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /usr/lib/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /usr/lib/libxml2.so.2...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /lib/tls/i686/cmov/libutil.so.1...done. Loaded symbols for /lib/tls/i686/cmov/libutil.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libselinux.so.1...done. Loaded symbols for /lib/libselinux.so.1 Reading symbols from /usr/lib/libatk-1.0.so.0...done. Loaded symbols for /usr/lib/libatk-1.0.so.0 Reading symbols from /usr/lib/libpangocairo-1.0.so.0...done. Loaded symbols for /usr/lib/libpangocairo-1.0.so.0 Reading symbols from /usr/lib/libfontconfig.so.1...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libXext.so.6...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /usr/lib/libXrender.so.1...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/libXinerama.so.1...done. Loaded symbols for /usr/lib/libXinerama.so.1 Reading symbols from /usr/lib/libXi.so.6...done. Loaded symbols for /usr/lib/libXi.so.6 Reading symbols from /usr/lib/libXrandr.so.2...done. Loaded symbols for /usr/lib/libXrandr.so.2 Reading symbols from /usr/lib/libXcursor.so.1...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /usr/lib/libXcomposite.so.1...done. Loaded symbols for /usr/lib/libXcomposite.so.1 Reading symbols from /usr/lib/libXdamage.so.1...done. Loaded symbols for /usr/lib/libXdamage.so.1 Reading symbols from /usr/lib/libpango-1.0.so.0...done. Loaded symbols for /usr/lib/libpango-1.0.so.0 Reading symbols from /usr/lib/libXfixes.so.3...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/libgnomecanvas-2.so.0...done. Loaded symbols for /usr/lib/libgnomecanvas-2.so.0 Reading symbols from /usr/lib/libstartup-notification-1.so.0...done. Loaded symbols for /usr/lib/libstartup-notification-1.so.0 Reading symbols from /usr/lib/libbonoboui-2.so.0...done. Loaded symbols for /usr/lib/libbonoboui-2.so.0 Reading symbols from /usr/lib/libgnome-keyring.so.0...done. Loaded symbols for /usr/lib/libgnome-keyring.so.0 Reading symbols from /usr/lib/libSM.so.6...done. Loaded symbols for /usr/lib/libSM.so.6 Reading symbols from /usr/lib/libICE.so.6...done. Loaded symbols for /usr/lib/libICE.so.6 Reading symbols from /usr/lib/libdbus-1.so.3...done. Loaded symbols for /usr/lib/libdbus-1.so.3 Reading symbols from /usr/lib/libgnutls.so.13...done. Loaded symbols for /usr/lib/libgnutls.so.13 Reading symbols from /usr/lib/libavahi-glib.so.1...done. Loaded symbols for /usr/lib/libavahi-glib.so.1 Reading symbols from /usr/lib/libavahi-common.so.3...done. Loaded symbols for /usr/lib/libavahi-common.so.3 Reading symbols from /usr/lib/libavahi-client.so.3...done. Loaded symbols for /usr/lib/libavahi-client.so.3 Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2 Reading symbols from /usr/lib/libbonobo-2.so.0...done. Loaded symbols for /usr/lib/libbonobo-2.so.0 Reading symbols from /usr/lib/libbonobo-activation.so.4...done. Loaded symbols for /usr/lib/libbonobo-activation.so.4 Reading symbols from /usr/lib/libesd.so.0...done. Loaded symbols for /usr/lib/libesd.so.0 Reading symbols from /usr/lib/libaudiofile.so.0...done. Loaded symbols for /usr/lib/libaudiofile.so.0 Reading symbols from /lib/libpopt.so.0...done. Loaded symbols for /lib/libpopt.so.0 Reading symbols from /usr/lib/libORBit-2.so.0...done. Loaded symbols for /usr/lib/libORBit-2.so.0 Reading symbols from /lib/tls/i686/cmov/librt.so.1...done. Loaded symbols for /lib/tls/i686/cmov/librt.so.1 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/libpng12.so.0...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /usr/lib/libpixman-1.so.0...done. Loaded symbols for /usr/lib/libpixman-1.so.0 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/lib/libxcb-xlib.so.0...done. Loaded symbols for /usr/lib/libxcb-xlib.so.0 Reading symbols from /usr/lib/libxcb.so.1...done. Loaded symbols for /usr/lib/libxcb.so.1 Reading symbols from /usr/lib/libexpat.so.1...done. Loaded symbols for /usr/lib/libexpat.so.1 Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done. Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1 Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done. Loaded symbols for /usr/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/lib/libXau.so.6...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libgailutil.so.18...done. Loaded symbols for /usr/lib/libgailutil.so.18 Reading symbols from /usr/lib/libtasn1.so.3...done. Loaded symbols for /usr/lib/libtasn1.so.3 Reading symbols from /lib/libgcrypt.so.11...done. Loaded symbols for /lib/libgcrypt.so.11 Reading symbols from /usr/lib/libORBitCosNaming-2.so.0...done. Loaded symbols for /usr/lib/libORBitCosNaming-2.so.0 Reading symbols from /usr/lib/libasound.so.2...done. Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from /usr/lib/libXdmcp.so.6...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /lib/libgpg-error.so.0...done. Loaded symbols for /lib/libgpg-error.so.0 Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2 Reading symbols from /usr/lib/gtk-2.0/modules/libgail.so...done. Loaded symbols for /usr/lib/gtk-2.0/modules/libgail.so Reading symbols from /usr/lib/gtk-2.0/modules/libatk-bridge.so...done. Loaded symbols for /usr/lib/gtk-2.0/modules/libatk-bridge.so Reading symbols from /usr/lib/libspi.so.0...done. Loaded symbols for /usr/lib/libspi.so.0 Reading symbols from /usr/lib/libXtst.so.6...done. Loaded symbols for /usr/lib/libXtst.so.6 Reading symbols from /usr/lib/gtk-2.0/modules/libgail-gnome.so...done. Loaded symbols for /usr/lib/gtk-2.0/modules/libgail-gnome.so Reading symbols from /usr/lib/libpanel-applet-2.so.0...done. Loaded symbols for /usr/lib/libpanel-applet-2.so.0 Reading symbols from /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so...Reading symbols from /usr/lib/debug/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so...done. done. Loaded symbols for /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so Reading symbols from /usr/lib/gnome-vfs-2.0/modules/libfile.so...done. Loaded symbols for /usr/lib/gnome-vfs-2.0/modules/libfile.so Reading symbols from /lib/libacl.so.1...done. Loaded symbols for /lib/libacl.so.1 Reading symbols from /usr/lib/libfam.so.0...done. Loaded symbols for /usr/lib/libfam.so.0 Reading symbols from /lib/libattr.so.1...done. Loaded symbols for /lib/libattr.so.1 Reading symbols from /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so Reading symbols from /usr/lib/librsvg-2.so.2...done. Loaded symbols for /usr/lib/librsvg-2.so.2 Reading symbols from /usr/lib/libgsf-1.so.114...done. Loaded symbols for /usr/lib/libgsf-1.so.114 Reading symbols from /usr/lib/libcroco-0.6.so.3...done. Loaded symbols for /usr/lib/libcroco-0.6.so.3 Reading symbols from /lib/libbz2.so.1.0...done. Loaded symbols for /lib/libbz2.so.1.0 Reading symbols from /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so...Reading symbols from /usr/lib/debug/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so...done. done. Loaded symbols for /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so Reading symbols from /usr/lib/pango/1.6.0/modules/pango-basic-fc.so...done. Loaded symbols for /usr/lib/pango/1.6.0/modules/pango-basic-fc.so 0xb7eed410 in __kernel_vsyscall () (gdb) backtrace full
+ Trace 212602
Kill the program being debugged? (y or n) (gdb) q Other information: strace shows this: $ strace -p 11929 Process 11929 attached - interrupt to quit futex(0x8404998, 0x80 /* FUTEX_??? */, 2 Further info: The only recovery procedure I've found is to: 1. kill all hung eog processes running in the background (ps; kill ... or reboot) 2. open eog from the command line with no parameters 3. when eog opens (which is will in this case with no parms), go to the View menu and un-check "Image collection" 4. exit, so the persistent setting is saved Restarting eog from the "Image Viewer" context menu works again. As described above, running "eog filename.jpg" hangs before opening any window as described above with "view collection" enabled at a previous eog close. At that point strace shows: > ~$ strace -p 7696 > Process 7696 attached - interrupt to quit > futex(0x85f3000, 0x80 /* FUTEX_??? */, 2 However, running $ strace -f eog img_0528.jpg does not hang. (You get a lot of messages indicating eog is probably doing a bunch of polling it shouldn't be doing, but that's a different problem altogether.) It opens the window (eventually), displays the image and the collection (eventually), and responds to actions. Well, eventually; strace really slows things down, which I suspect is part of why it seems to work under strace and not when running flat out.
Works as expected here. Could you please make a thread backtrace, so we can see what the other threads are doing? Please check as well if eog has really quit after step 3.
Created attachment 129277 [details] thread backtrace of never-ending eog process > Works as expected here. Could you please make a thread backtrace, > so we can see what the other threads are doing? This backtrace includes thread info. > Please check as well if eog has really quit after step 3. Let me clarify: > Steps to reproduce: > 1. open an image in eog, ...by double-clicking in the File Browser. eog opens a window and displays image normally. > 2. select View-Image Collection, ...either from the menu or by hitting f9. The strip of images in that directory shows up at the bottom. Still nothing unexpected; normal operation so far. > 3. close eog, ...either from the menu or clicking the [X] in the top right of the window, after which both the Process Monitor and the 'ps' command show the eog process is no more. > 4. double-click an image, and note that EOG will not open. > A process for eog will be visible in the processes tab of System Monitor. ...a process starts, but never opens a window. It is at this stage that I attached to it with gdb and produced the attached threaded backtrace. Furthermore, double-clicking other images at this point will start additional eog processes, all of which fail to open a window. The process monitor shows them "sleeping". The only recourse now is to kill all the nascent eog processes run eog from a shell with no parameters so a window will open un-check "Image collection" in the view menu. exit, so the persistent setting is saved. After that, eog will run normally from double-clicking images.
Do you have a11n enabled? I see some related frames in the stacktrace. Could you check if disabling it solves the issue?
(In reply to comment #3) > Do you have a11n enabled? I see some related frames in the stacktrace. Could > you check if disabling it solves the issue? I had no idea what "a11n" referred to, but guessing it had something to do with Assistive Technologies, I disabled that (it was enabled), logged out and back in, and... voilà, no more problem! I could open eog with "view collection" enabled by double-clicking an image. I re-enabled Assistive Technologies, tried opening eog by double-clicking an image without logging out, and it still worked (as I sort of expected; it seems Assistive Technologies takes affect at login). After a logout/login, the problem was back. So it clearly looks like this eog problem is related to Assistive Technologies being enabled at login.
Is this still a problem? I haven't heard of this happening in the last two years.
(In reply to comment #5) > Is this still a problem? I haven't heard of this happening in the last two > years. I just tried it again with EoG 2.30.0 on Ubuntu 10.04.2 LTS and the problem no longer presents itself. I guess we're done here. Thanks for checking back.
Thanks for letting us know. Closing this report then.