GNOME Bugzilla – Bug 531718
gconf-editor crashes with SIGSEGV in gconf_client_add_dir
Last modified: 2009-08-24 09:24:59 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gconf-editor/+bug/219700 "gconf-editor 2.22.0-0ubuntu2 libgconf2-4 2.22.0-0ubuntu2 Unset all values and and move out of the folder (click on some other element in the tree). Core was generated by `gconf-editor'. Program terminated with signal 11, Segmentation fault. [New process 3431]
+ Trace 197018
https://bugs.launchpad.net/bugs/359532 is a similar crash on 2.26
It seems that this bug happens after popup menu has been activated via "popup-menu" signal (menu key). Function gconf_editor_window_list_view_popup_menu calls gtk_tree_selection_get_selected and rewrites window->list_model with window->sorted_list_model (because list_view was associated with sorted_list_model at initialization).
Created attachment 139841 [details] [review] Don't overwrite list_model in popup-menu event Proposed fix
Thanks for the patch, I pushed it to master. commit 8fbaf480bc2a47dfb1d2698d82cb2c6547b3e811 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Mon Aug 24 11:20:09 2009 +0200 Don't overwrite window->list_model in popup-menu callback This causes a crash, as the list view has another sort model on it, and later we will use it instead of the real model. Patch by Sergey Nizovtsev, fix bug #531718.