GNOME Bugzilla – Bug 696568
nm-connection-editor crashes when trying to edit a connection
Last modified: 2013-04-09 05:26:26 UTC
Applet is built with gtk2 (glib2-2.34.3, gtk+2-2.24.17). Right-click applet icon in system tray, click "Edit Connections" and highlight a connection; click Edit. The dialog disappears. Running nm-connection-editor from an xterm shows this: (nm-connection-editor:4552): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as & (nm-connection-editor:4552): Gtk-WARNING **: Unknown property: GtkComboBox.margin-left (nm-connection-editor:4552): Gtk-WARNING **: Unknown property: GtkComboBox.margin-bottom (nm-connection-editor:4552): Gtk-WARNING **: Unknown property: GtkCheckButton.margin-bottom (nm-connection-editor:4552): Gtk-WARNING **: Unknown property: GtkBox.valign (nm-connection-editor:4552): Gtk-WARNING **: Unknown property: GtkBox.vexpand (nm-connection-editor:4552): GLib-GObject-ERROR **: cannot create instance of abstract (non-instantiatable) type `GtkBox' Trace/breakpoint trap
One of our users (by the name of "yenn") wrote in with a fix for this: sed -i 's/GtkBox/GtkVBox/g' src/connection-editor/ce-page-general.ui sed -i 's/GtkBox/GtkVBox/g' src/connection-editor/nm-connection-editor.ui
(In reply to comment #0) > Applet is built with gtk2 (glib2-2.34.3, gtk+2-2.24.17). NM 0.9.8 requires gtk3. It shouldn't even build against gtk2 any more... (are you sure you actually built it against gtk2?)
Indeed I am: $ objdump -p $(which nm-applet) | grep gtk NEEDED libnm-gtk.so.0 NEEDED libgtk-x11-2.0.so.0 $ objdump -p /usr/lib64/libnm-gtk.so.0 | grep gtk | grep NEED NEEDED libgtk-x11-2.0.so.0 $ grep libgtk-x11-2.0.so /var/log/packages/* /var/log/packages/gtk+2-2.24.17-x86_64-2:usr/lib64/libgtk-x11-2.0.so.0.2400.17 From talking with dcbw on IRC, gtk3 will be a hard requirement in the next release.
fixed in nma-0-9-8 branch in git
(note that the ce-page-general one was supposed to be GtkHBox, not VBox)
Thanks, Dan!