[Pkg-utopia-maintainers] Bug#865013: network-manager-gnome: Consistent segfault when connecting to WPA2 network

Ben Wiederhake BenWiederhake.GitHub at gmx.de
Mon Jul 31 20:19:02 UTC 2017


Package: network-manager-gnome
Version: 1.8.2-1
Followup-For: Bug #865013

Control: tags -1 - unreproducible

Dear Maintainer,

I think I'm seeing the same bug, since it also crashes in libnma.

Relevant part of gdb:

#0  0xb76b121e in modules_initialized (object=0x0, res=0x8104d8e0,
user_data=0x81058178) at src/libnma/nma-cert-chooser-button.c:95
        self = 0x81058178 [NMACertChooserButton]
        error = 0x0
        modules = 0x0
        iter = {stamp = -2134551640, user_data = 0x80c553c8, user_data2 = 0x1,
user_data3 = 0x80f8af20}

And line 95 is:

93      if (!modules) {
94              /* The Front Fell Off. */
95              g_critical ("Error getting registered modules: %s",
error->message);
96              g_error_free (error);
97      }

It tries to access the 'message' field of 'error', which is null.
So there is a soft-error (no modules found), which is then handled badly at
some point ('error' ends up being null-but-accessed).

'error' probably should be written by
'gck_modules_initialize_registered_finish',
and I have no idea why it doesn't.

Steps to reproduce on my system:
- run 'nm-connection-editor'
- select some encrypted WLAN (in my case, a home WLAN) for which the computer
doesn't have the password yet
- click the 'edit' button

Expected behavior:  Not sure how, but it should open the configuration dialog
eventually.

Actual behavior:  Segfault in src/libnma/nma-cert-chooser-button.c:95

Not sure if the problem is with gck or with libnma's usage of it.

Cheers,
Ben

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-debug'), (500, 'testing'),
(500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.11.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8),
LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager-gnome depends on:
ii  dbus-x11 [dbus-session-bus]                  1.10.20-1
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-2+b1
ii  libatk1.0-0                                  2.24.0-1
ii  libc6                                        2.24-12
ii  libcairo2                                    1.14.10-1
ii  libgdk-pixbuf2.0-0                           2.36.5-2
ii  libglib2.0-0                                 2.52.3-1
ii  libgtk-3-0                                   3.22.16-1
ii  libjansson4                                  2.10-1
ii  libmm-glib0                                  1.6.8-1
ii  libnm0                                       1.8.2-1
ii  libnma0                                      1.8.2-1
ii  libnotify4                                   0.7.7-2
ii  libpango-1.0-0                               1.40.6-1
ii  libpangocairo-1.0-0                          1.40.6-1
ii  libsecret-1-0                                0.18.5-3.1
ii  libselinux1                                  2.6-3+b2
ii  network-manager                              1.8.2-1
ii  policykit-1-gnome [polkit-1-auth-agent]      0.105-6

Versions of packages network-manager-gnome recommends:
pn  gnome-keyring                        <none>
ii  iso-codes                            3.75-1
pn  mobile-broadband-provider-info       <none>
ii  notification-daemon                  3.20.0-1+b1
ii  xfce4-notifyd [notification-daemon]  0.3.6-1

Versions of packages network-manager-gnome suggests:
pn  network-manager-openconnect-gnome  <none>
pn  network-manager-openvpn-gnome      <none>
pn  network-manager-pptp-gnome         <none>
pn  network-manager-vpnc-gnome         <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list