GNOME Bugzilla – Bug 553135
eog crash: assertion failed. Gtk error: shortcuts_remove_rows: code should not be reached
Last modified: 2008-09-25 11:24:42 UTC
Steps to reproduce: 1-Make sure you don't have rights to mount any volume. 2-Run eog; File->Open. 3-Choose any volume (Don't worry if it's not opened due to bug #272742) and close the window. 4-Mount ANY volume from Places->volume (should ask for password). 5-Crash! (If it hasn't crashed then umount the volume and it should also crash). Stack trace: [Thread debugging using libthread_db enabled] [New Thread 0xb6972b00 (LWP 11284)] [New Thread 0xb682fb90 (LWP 11287)] [New Thread 0xb5b53b90 (LWP 11288)] [New Thread 0xb5352b90 (LWP 11289)] [Thread 0xb5352b90 (LWP 11289) exited] Program received signal SIGABRT, Aborted.
+ Trace 207040
Thread 3063360256 (LWP 11284)
Thread 1 (Thread 0xb6972b00 (LWP 11284))
Other information: Original: https://bugs.launchpad.net/ubuntu/+source/eog/+bug/272754 Ubuntu Intrepid Alpha6 fully updated. http://bugzilla.gnome.org/show_bug.cgi?id=553133 could be related to this one. (eog:11828): Gtk-CRITICAL **: gtk_tree_model_get_iter: assertion `GTK_IS_TREE_MODEL (tree_model)' failed ** Gtk:ERROR:/build/buildd/gtk+2.0-2.14.2/gtk/gtkfilechooserdefault.c:1448:shortcuts_remove_rows: code should not be reached Aborted (core dumped) I have installed eog-dbg and run the script from https://wiki.ubuntu.com/Backtrace and here I attach the log. Ubuntu Alpha6 fully updated. ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 8.10 NonfreeKernelModules: wl Package: eog 2.23.92-0ubuntu1 ProcEnviron: SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=es_ES.UTF-8 SourcePackage: eog Uname: Linux 2.6.27-3-generic i686
I can reproduce it in the following way: 1. Ummount some drive. 2. open eog, file->open. 3. Click on the unmounted volume, it is mounted. 4. Close the Open dialog. 5. Umount the volume from the desktop, crash. Full symbols:
+ Trace 207044
Thread 1 (Thread 0xb6770710 (LWP 4956))
I can reproduce this with evince, gnome-panel (ctrl+f2, execute with file), eog. So this most likely is a bug in the filechooser. Reassigning.
Yes, it's not only in eog.
Created attachment 119180 [details] [review] a patch
Created attachment 119181 [details] [review] updated patch Well, this actually compiles and fixes the bug.
While we are at it... @@ -8586,7 +8600,7 @@ if (!info) { - search_clear_model_row (request->impl->search_model, &iter); + search_clear_model_row (GTK_TREE_MODEL (request->impl->search_model), &iter); gtk_list_store_remove (request->impl->search_model, &iter); goto out; }
2008-09-22 Matthias Clasen <mclasen@redhat.com> Merged from trunk: Bug 553135 – eog crash: assertion failed. Gtk error: shortcuts_remove_rows: code should not be reached * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem signals when we are destroyed, in order to avoid nasty surprises. Patch by Claudio Saavedra
This one fixes warnings from g_object_unref() caused by above commit: 2008-09-25 Michael Natterer <mitch@imendio.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): don't unref the file system backend, the newly added unset_file_system_backend() already does this (bug #553135).