GNOME Bugzilla – Bug 519910
crash in Image Viewer: I saved a new picture in...
Last modified: 2008-03-10 19:32:18 UTC
Version: 2.21.92 What were you doing when the application crashed? I saved a new picture in The Gimp in PNG format, while nautilus was open, viewing the directory where I saved the new picture Distribution: Mandriva Linux release 2008.1 (Cooker) for x86_64 Gnome Release: 2.21.92 2008-02-26 (Mandriva) BugBuddy Version: 2.21.90 System: Linux 2.6.24.2-desktop-4.1mdv #1 SMP Fri Feb 22 18:42:58 CET 2008 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10400090 Selinux: No Accessibility: Enabled GTK+ Theme: MurrinaGilouche Icon Theme: OSX Memory status: size: 378753024 vsize: 378753024 resident: 33832960 share: 14188544 rss: 33832960 rss_rlim: 18446744073709551615 CPU usage: start_time: 1204462779 rtime: 1273 utime: 1151 stime: 122 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/eog' Using host libthread_db library "/lib64/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 47845089531504 (LWP 29619)] [New Thread 1082399056 (LWP 29621)] [New Thread 1082132816 (LWP 29620)] 0x00002b83c70cae8e in waitpid () from /lib64/libpthread.so.0
+ Trace 191044
Thread 1 (Thread 47845089531504 (LWP 29619))
----------- .xsession-errors (13 sec old) --------------------- ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. PIPE: appletviewer wrote: url http://years.25@hotmail.com _blank GCJ PLUGIN: thread 0x6081d0: plugin_in_pipe_callback GCJ PLUGIN: thread 0x6081d0: plugin_in_pipe_callback: opening URL http://years.25@hotmail.com GCJ PLUGIN: thread 0x6081d0: plugin_in_pipe_callback: URL target _blank PIPE: plugin read: url http://years.25@hotmail.com _blank GCJ PLUGIN: thread 0x6081d0: plugin_in_pipe_callback return Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x7000122 (GIMP) Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed. (eog:29619): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `EogWindow' --------------------------------------------------
Ah yes, I was able to reproduce it myself now. This happens if you have multiple EOG windows open watching images in the same folder and the close one or more of them. We don't disconnect two callbacks then, so the closed (and destroyed) windows still want to update the collection which makes EOG crash. Patch follows.
Fixed it by disconnecting the callbacks upon window disposal: 2008-03-03 Felix Riemann <> * src/eog-window.c: (eog_window_dispose): Disconnect collection update callbacks when disposing a window to avoid spurious calls when another window watches the same folder which results in EOG crashing. Fixes bug #519910. ---------------------------------------------------------------------------------- This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
*** Bug 509668 has been marked as a duplicate of this bug. ***
*** Bug 518015 has been marked as a duplicate of this bug. ***
*** Bug 521637 has been marked as a duplicate of this bug. ***