[Pkg-utopia-maintainers] Bug#728734: network-manager: nmcli dev list Segmentation fault

Xavier Combelle xavier.combelle at gmail.com
Mon Nov 4 20:29:04 UTC 2013


Package: network-manager
Version: 0.9.8.0-5
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
running nmcli dev list as a standard user
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
Segmentation Fault after display several informations
   * What outcome did you expect instead?
not Segmentation Fault

after launching in gdb

gdb --args nmcli dev list

this is the backtrace

#0  show_device_info (data=<optimized out>, user_data=<optimized out>)
    at devices.c:912
#1  0x00007ffff60d771b in g_ptr_array_foreach ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x0000000000414890 in do_devices_list (argv=0x7fffffffe8e0, argc=0,
    nmc=0x7fffffffe6b0) at devices.c:1097
#3  do_devices (nmc=0x7fffffffe6b0, argc=<optimized out>,
argv=<optimized out>)
    at devices.c:2161
#4  0x000000000041bdba in do_cmd (argv=0x7fffffffe8d0, argc=2,
    argv0=0x7fffffffeb63 "dev", nmc=0x7fffffffe6b0) at nmcli.c:121
#5  parse_command_line (argv=0x7fffffffe8c8, argc=3, nmc=0x7fffffffe6b0)
    at nmcli.c:237
#6  start (data=0x7fffffffe610) at nmcli.c:327
#7  0x00007ffff6101166 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff61014b8 in ?? ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff61018ba in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x000000000040c45a in main (argc=<optimized out>, argv=<optimized
out>)
    at nmcli.c:359

apparently avail_cons line 912 is NULL
warning: Source file is more recent than executable.
912                             if (avail_cons->len) {
(gdb) print avail_cons
$1 = (const GPtrArray *) 0x0

for info this is the result of the command  as user before segfault

xcombelle-home% cat result-user.txt
GENERAL.PÉRIPHÉRIQUE:                 wlan0
GENERAL.TYPE:                           802-11-wireless
GENERAL.VENDOR:                         Qualcomm Atheros
GENERAL.PRODUCT:                        T77H053.00 802.11bgn Wireless
Mini PCIe
Card [AR9281]
GENERAL.PILOTE:                         ath9k
GENERAL.DRIVER-VERSION:                 3.11-1-amd64
GENERAL.FIRMWARE-VERSION:               N/A
GENERAL.ADR.-MAT.:                      00:24:2B:D1:32:F4
GENERAL.ÉTAT:                          100 (connecté)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:
/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/wlan0
GENERAL.IP-IFACE:                       wlan0
GENERAL.NM-MANAGED:                     oui
GENERAL.AUTOCONNECT:                    oui
GENERAL.FIRMWARE-MISSING:               non
GENERAL.CONNECTION:
/org/freedesktop/NetworkManager/ActiveConnection/1
CAPABILITIES.DÉTECTION-PORTEUSE:       non
CAPABILITIES.VITESSE:                   65 Mb/s
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:
/org/freedesktop/NetworkManager/Settings/{2,0}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:
b4af4dcf-4b16-48c5-9a96-81118b1af4e4 |
Auto Livebox-b745
CONNECTIONS.AVAILABLE-CONNECTIONS[2]:
e692e38e-7095-46c8-9c69-c71673c1a4ac |
Hotspot
WIFI-PROPERTIES.WEP:                    oui
WIFI-PROPERTIES.WPA:                    oui
WIFI-PROPERTIES.WPA2:                   oui
WIFI-PROPERTIES.TKIP:                   oui
WIFI-PROPERTIES.CCMP:                   oui
WIFI-PROPERTIES.PA:                     oui
WIFI-PROPERTIES.ADHOC:                  oui
AP[1].SSID:                             'orange'
AP[1].BSSID:                            52:33:8E:BE:21:C0
AP[1].MODE:                             Infrastructure
AP[1].FRÉQ:                            2437 MHz
AP[1].DÉBIT:                           54 Mo/s
AP[1].SIGNAL:                           34
AP[1].SÉCURITÉ:
AP[1].ACTIF:                            non
AP[2].SSID:                             'Livebox-b745'
AP[2].BSSID:                            5C:33:8E:BE:21:C0
AP[2].MODE:                             Infrastructure
AP[2].FRÉQ:                            2437 MHz
AP[2].DÉBIT:                           54 Mo/s
AP[2].SIGNAL:                           88
AP[2].SÉCURITÉ:                       WPA WPA2
AP[2].ACTIF:                            oui
AP[3].SSID:                             'Livebox-0258'
AP[3].BSSID:                            5C:33:8E:ED:8F:0D
AP[3].MODE:                             Infrastructure
AP[3].FRÉQ:                            2437 MHz
AP[3].DÉBIT:                           54 Mo/s
AP[3].SIGNAL:                           15
AP[3].SÉCURITÉ:                       WPA WPA2
AP[3].ACTIF:                            non
AP[4].SSID:                             'olivierkinou'
AP[4].BSSID:                            CE:C6:B3:48:C6:DC
AP[4].MODE:                             Infrastructure
AP[4].FRÉQ:                            2462 MHz
AP[4].DÉBIT:                           54 Mo/s
AP[4].SIGNAL:                           24
AP[4].SÉCURITÉ:                       WEP
AP[4].ACTIF:                            non
IP4.ADRESSE[1]:                         ip = 192.168.1.10/24, gw =
192.168.1.1
IP4.DNS[1]:                             127.0.0.1
DHCP4.OPTION[1]:                        host_name = xcombelle-home
DHCP4.OPTION[2]:                        time_offset = 0
DHCP4.OPTION[3]:                        expiry = 1383679759
DHCP4.OPTION[4]:                        domain_name = home
DHCP4.OPTION[5]:                        broadcast_address =
192.168.1.255
DHCP4.OPTION[6]:                        dhcp_message_type = 5
DHCP4.OPTION[7]:                        dhcp_lease_time = 86400
DHCP4.OPTION[8]:                        ip_address = 192.168.1.10
DHCP4.OPTION[9]:                        subnet_mask = 255.255.255.0
DHCP4.OPTION[10]:                       routers = 192.168.1.1
DHCP4.OPTION[11]:                       domain_name_servers =
192.168.1.1
DHCP4.OPTION[12]:                       network_number = 192%

and this is the result when runing as sudo nmcli dev list which not
segfault

xcombelle-home% cat result-sudo.txt
GENERAL.PÉRIPHÉRIQUE:                 wlan0
GENERAL.TYPE:                           802-11-wireless
GENERAL.VENDOR:                         Qualcomm Atheros
GENERAL.PRODUCT:                        T77H053.00 802.11bgn Wireless
Mini PCIe
Card [AR9281]
GENERAL.PILOTE:                         ath9k
GENERAL.DRIVER-VERSION:                 3.11-1-amd64
GENERAL.FIRMWARE-VERSION:               N/A
GENERAL.ADR.-MAT.:                      00:24:2B:D1:32:F4
GENERAL.ÉTAT:                          100 (connecté)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:
/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/wlan0
GENERAL.IP-IFACE:                       wlan0
GENERAL.NM-MANAGED:                     oui
GENERAL.AUTOCONNECT:                    oui
GENERAL.FIRMWARE-MISSING:               non
GENERAL.CONNECTION:
/org/freedesktop/NetworkManager/ActiveConnection/1
CAPABILITIES.DÉTECTION-PORTEUSE:       non
CAPABILITIES.VITESSE:                   1 Mb/s
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:
/org/freedesktop/NetworkManager/Settings/{2,0}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:
b4af4dcf-4b16-48c5-9a96-81118b1af4e4 |
Auto Livebox-b745
CONNECTIONS.AVAILABLE-CONNECTIONS[2]:
e692e38e-7095-46c8-9c69-c71673c1a4ac |
Hotspot
WIFI-PROPERTIES.WEP:                    oui
WIFI-PROPERTIES.WPA:                    oui
WIFI-PROPERTIES.WPA2:                   oui
WIFI-PROPERTIES.TKIP:                   oui
WIFI-PROPERTIES.CCMP:                   oui
WIFI-PROPERTIES.PA:                     oui
WIFI-PROPERTIES.ADHOC:                  oui
AP[1].SSID:                             'orange'
AP[1].BSSID:                            52:33:8E:BE:21:C0
AP[1].MODE:                             Infrastructure
AP[1].FRÉQ:                            2437 MHz
AP[1].DÉBIT:                           54 Mo/s
AP[1].SIGNAL:                           34
AP[1].SÉCURITÉ:
AP[1].ACTIF:                            non
AP[2].SSID:                             'Livebox-b745'
AP[2].BSSID:                            5C:33:8E:BE:21:C0
AP[2].MODE:                             Infrastructure
AP[2].FRÉQ:                            2437 MHz
AP[2].DÉBIT:                           54 Mo/s
AP[2].SIGNAL:                           82
AP[2].SÉCURITÉ:                       WPA WPA2
AP[2].ACTIF:                            oui
AP[3].SSID:                             'Livebox-0258'
AP[3].BSSID:                            5C:33:8E:ED:8F:0D
AP[3].MODE:                             Infrastructure
AP[3].FRÉQ:                            2437 MHz
AP[3].DÉBIT:                           54 Mo/s
AP[3].SIGNAL:                           15
AP[3].SÉCURITÉ:                       WPA WPA2
AP[3].ACTIF:                            non
AP[4].SSID:                             'olivierkinou'
AP[4].BSSID:                            CE:C6:B3:48:C6:DC
AP[4].MODE:                             Infrastructure
AP[4].FRÉQ:                            2462 MHz
AP[4].DÉBIT:                           54 Mo/s
AP[4].SIGNAL:                           24
AP[4].SÉCURITÉ:                       WEP
AP[4].ACTIF:                            non
IP4.ADRESSE[1]:                         ip = 192.168.1.10/24, gw =
192.168.1.1
IP4.DNS[1]:                             127.0.0.1
DHCP4.OPTION[1]:                        host_name = xcombelle-home
DHCP4.OPTION[2]:                        time_offset = 0
DHCP4.OPTION[3]:                        expiry = 1383679759
DHCP4.OPTION[4]:                        domain_name = home
DHCP4.OPTION[5]:                        broadcast_address =
192.168.1.255
DHCP4.OPTION[6]:                        dhcp_message_type = 5
DHCP4.OPTION[7]:                        dhcp_lease_time = 86400
DHCP4.OPTION[8]:                        ip_address = 192.168.1.10
DHCP4.OPTION[9]:                        subnet_mask = 255.255.255.0
DHCP4.OPTION[10]:                       routers = 192.168.1.1
DHCP4.OPTION[11]:                       domain_name_servers =
192.168.1.1
DHCP4.OPTION[12]:                       network_number = 192.






-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.7.4-1
ii  isc-dhcp-client        4.2.4-7
ii  libc6                  2.17-93
ii  libdbus-1-3            1.7.4-1
ii  libdbus-glib-1-2       0.100.2-1
ii  libgcrypt11            1.5.3-2
ii  libglib2.0-0           2.37.5-1
ii  libgnutls26            2.12.23-8
ii  libgudev-1.0-0         204-5
ii  libnl-3-200            3.2.21-1
ii  libnl-genl-3-200       3.2.21-1
ii  libnl-route-3-200      3.2.21-1
ii  libnm-glib4            0.9.8.0-5
ii  libnm-util2            0.9.8.0-5
ii  libpolkit-gobject-1-0  0.110-3
ii  libuuid1               2.20.1-5.5
ii  lsb-base               4.1+Debian12
ii  udev                   204-5
ii  wpasupplicant          1.0-3+b2

Versions of packages network-manager recommends:
ii  crda          1.1.2-1
ii  dnsmasq-base  2.67-1
ii  iptables      1.4.20-2
ii  modemmanager  0.5.2.0-2
ii  policykit-1   0.110-3
ii  ppp           2.4.5+git20130610-1

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.31-2

-- Configuration Files:
/etc/polkit-1/localauthority/10-vendor.d/org.freedesktop.NetworkManager.pkla
[Errno 13] Permission non accordée:
u'/etc/polkit-1/localauthority/10-vendor.d/org.freedesktop.NetworkManager.pkla'



More information about the Pkg-utopia-maintainers mailing list