GNOME Bugzilla – Bug 678210
control-center network module crashes with NetworkManager controlled VLAN
Last modified: 2012-08-22 14:33:13 UTC
Created attachment 216565 [details] gnome-control-center showing the "(null)" entry Both tests on Fedora 17 fails both with jhbuild trunk (3.5/3.6) and on 3.4 release from Fedora 17. Steps to reproduce: Set up VLANs using NetworkManager. ( If you don't know how to do this, consult : http://www.skuggor.se/habari/fedora-17-networkmanager-and-vlan for example setup ) What goes wrong: gnome control center "network" component shows a "(null)" network. It crashes when you attempt to select this "(null)" network. Gdb backtrace : (gdb) run network Starting program: /opt/gnome/bin/gnome-control-center network [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Gtk-Message: Failed to load module "canberra-gtk-module" [New Thread 0x7fffec3ed700 (LWP 11457)] [New Thread 0x7fffebbec700 (LWP 11458)] [New Thread 0x7fffeb3eb700 (LWP 11459)] [New Thread 0x7fffeabea700 (LWP 11460)] [New Thread 0x7fffea3e9700 (LWP 11461)] [New Thread 0x7fffe9be8700 (LWP 11462)] [New Thread 0x7fffe93e7700 (LWP 11463)] [New Thread 0x7fffe8be6700 (LWP 11464)] Detaching after fork from child process 11465. Detaching after fork from child process 11466. [New Thread 0x7fffd3394700 (LWP 11467)] (gnome-control-center:11454): Gtk-WARNING **: Overriding tab label for notebook (gnome-control-center:11454): Gtk-WARNING **: Overriding tab label for notebook (gnome-control-center:11454): Gtk-WARNING **: Overriding tab label for notebook [New Thread 0x7fffd293e700 (LWP 11468)] (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 2 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 3 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 4 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 5 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 6 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 7 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 8 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 9 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 10 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 11 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 12 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 13 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 14 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 15 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 16 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 17 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 18 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 19 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 20 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 21 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 22 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 23 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 24 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 25 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 26 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 27 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 28 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 29 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 30 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 31 (gnome-control-center:11454): Clutter-WARNING **: No listener with the specified listener id 32 (gnome-control-center:11454): GLib-CRITICAL **: g_hash_table_remove_internal: assertion `hash_table != NULL' failed (gnome-control-center:11454): Clutter-WARNING **: Not able to remove listener with id 1 (gnome-control-center:11454): GLib-CRITICAL **: g_hash_table_size: assertion `hash_table != NULL' failed ** network-cc-panel:ERROR:cc-network-panel.c:1984:nm_device_refresh_device_ui: code should not be reached Program received signal SIGABRT, Aborted. 0x0000003928a35965 in raise () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install cairo-1.10.2-7.fc17.x86_64 cairo-gobject-1.10.2-7.fc17.x86_64 cracklib-2.8.18-3.fc17.x86_64 cups-libs-1.5.3-2.fc17.x86_64 dbus-libs-1.4.10-4.fc17.x86_64 enchant-1.6.0-4.fc17.x86_64 flac-1.2.1-9.fc17.x86_64 freetype-2.4.8-3.fc17.x86_64 glibc-2.15-37.fc17.x86_64 gsm-1.0.13-6.fc17.x86_64 json-c-0.9-4.fc17.x86_64 keyutils-libs-1.5.5-2.fc17.x86_64 krb5-libs-1.10.2-2.fc17.x86_64 lcms2-2.3-2.fc17.x86_64 libICE-1.0.8-1.fc17.x86_64 libSM-1.2.1-1.fc17.x86_64 libX11-1.5.0-2.fc17.x86_64 libXau-1.0.6-3.fc17.x86_64 libXcomposite-0.4.3-3.fc17.x86_64 libXcursor-1.1.13-1.fc17.x86_64 libXdamage-1.1.3-3.fc17.x86_64 libXext-1.3.1-1.fc17.x86_64 libXfixes-5.0-2.fc17.x86_64 libXi-1.6.1-1.fc17.x86_64 libXinerama-1.1.2-1.fc17.x86_64 libXrandr-1.3.1-3.fc17.x86_64 libXrender-0.9.7-1.fc17.x86_64 libXt-1.1.2-2.fc17.x86_64 libXtst-1.2.0-3.fc17.x86_64 libXxf86vm-1.1.2-1.fc17.x86_64 libasyncns-0.8-3.fc17.x86_64 libcanberra-0.28-6.fc17.x86_64 libcanberra-gtk3-0.28-6.fc17.x86_64 libcom_err-1.42.3-2.fc17.x86_64 libcroco-0.6.5-1.fc17.x86_64 libdrm-2.4.33-3.fc17.x86_64 libffi-3.0.10-2.fc17.x86_64 libgcc-4.7.0-5.fc17.x86_64 libgudev1-182-3.fc17.x86_64 libicu-4.8.1.1-2.fc17.x86_64 libjpeg-turbo-1.2.0-1.fc17.x86_64 libmodman-2.0.1-4.fc17.x86_64 libogg-1.3.0-1.fc17.x86_64 libpng-1.5.10-1.fc17.x86_64 libproxy-0.4.7-4.fc17.x86_64 libselinux-2.1.10-3.fc17.x86_64 libsndfile-1.0.25-2.fc17.x86_64 libstdc++-4.7.0-5.fc17.x86_64 libtasn1-2.12-1.fc17.x86_64 libtdb-1.2.9-14.fc17.x86_64 libudev-182-3.fc17.x86_64 libuuid-2.21.2-1.fc17.x86_64 libvorbis-1.3.3-1.fc17.x86_64 libxcb-1.8.1-1.fc17.x86_64 libxkbfile-1.0.8-1.fc17.x86_64 llvm-libs-3.0-13.fc17.x86_64 mesa-dri-drivers-8.0.3-1.fc17.x86_64 mesa-libGL-8.0.3-1.fc17.x86_64 mesa-libglapi-8.0.3-1.fc17.x86_64 nss-softokn-freebl-3.13.4-2.fc17.x86_64 pixman-0.24.4-2.fc17.x86_64 pulseaudio-libs-1.1-9.fc17.x86_64 pulseaudio-libs-glib2-1.1-9.fc17.x86_64 sqlite-3.7.11-3.fc17.x86_64 startup-notification-0.12-3.fc17.x86_64 systemd-44-14.fc17.x86_64 tcp_wrappers-libs-7.6-69.fc17.x86_64 xcb-util-0.3.8-2.fc17.x86_64 zlib-1.2.5-6.fc17.x86_64 (gdb) bt full
+ Trace 230377
Created attachment 222145 [details] [review] network: ignore unrecognized device types rather than showing a blank line in the device-type list that doesn't do anything.
There seems to be some code in control-center master for dealing with other device types, but it doesn't actually work... Note that for testing purposes, you don't actually need weird hardware/network config to create weird NM connections; with network-manager-applet master, you can create, eg, an InfiniBand connection even if you don't have any InfiniBand devices.
Patch looks fine, thanks. I'll try out the network-manager-applet trick to get other device types.
Attachment 222145 [details] pushed as ecdb1d8 - network: ignore unrecognized device types