gnome-control-center crashed with SIGSEGV in add_connection_info_find()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager |
Fix Released
|
Medium
|
|||
network-manager (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Precise |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
[Impact]
Removing a pairing or toggling the killswitch when a PAN/DUN capable device is paired to the bluetooth system triggers a crash because bluetooth keeps a reference to the connections in NMRemoteSettings objects that have already been freed, which causes update signals to still be called on these objects.
[Development Fix]
Fixed upstream, as http://
[Stable Fix]
See above "Development fix".
[Test Case]
1) Connect a phone capable of DUN or PAN to bluetooth control panel.
2) Remove the connection with the "-" button in bluetooth control panel.
[Regression Potential]
Low, current handling was clearly wrong. This affects users of NMRemoteSettings only, so limited to a distinct number of packages: network-manager (for the nmcli binary), network-
---------
The crash is reported while using the bluetooth settings. The way to trigger it:
1. While bluetooth is enabled - open bluetooth settings, everything works.
2. Turn off bluetooth using laptop wireless killswitch (I'm on Thinkpad W500)
3. Turn on the killswitch
4. Bluetooth settings don't reflect the fact that bluetooth is enabled (cannot enable or disable in settings) now and a crash is reported.
5. Restarting bluetooth service fixes the settings behaviour
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gnome-control-
ProcVersionSign
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Wed Mar 7 23:50:03 2012
ExecutablePath: /usr/bin/
ProcCmdline: gnome-control-
SegvAnalysis:
Segfault happened at: 0x7f0fc6cfc4ac: mov 0x28(%rax),%rdx
PC (0x7f0fc6cfc4ac) ok
source "0x28(%rax)" (0x00000028) not located in a known VMA region (needed readable region)!
destination "%rdx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-control-
StacktraceTop:
?? () from /usr/lib/
?? () from /usr/lib/
g_closure_invoke () from /usr/lib/
?? () from /usr/lib/
g_signal_
Title: gnome-control-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
usr_lib_
activity-
gnome-bluetooth 3.2.2-0ubuntu3
indicator-datetime 0.3.90-0ubuntu1
visibility: | private → public |
affects: | gnome-control-center (Ubuntu) → network-manager (Ubuntu) |
Changed in network-manager (Ubuntu): | |
importance: | Medium → Low |
importance: | Low → High |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in network-manager: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in network-manager: | |
status: | Confirmed → Fix Released |
description: | updated |
Changed in network-manager (Ubuntu Precise): | |
status: | Confirmed → In Progress |
tags: |
added: verification-done removed: verification-needed |
StacktraceTop: _info_find (self=0x7f0fdaf 17a10, connection= 0x7f0fdaf78f70) at nm-remote- settings. c:120 removed_ cb (remote= 0x7f0fdaf78f70, user_data= <optimized out>) at nm-remote- settings. c:210 0x7f0fda9abc40, return_value=0x0, n_param_values=1, param_values= 0x7f0fdaf9d7a0, invocation_ hint=<optimized out>) at /build/ buildd/ glib2.0- 2.31.20/ ./gobject/ gclosure. c:777 emit_unlocked_ R (node=<optimized out>, detail=0, instance=<optimized out>, emission_ return= 0x0, instance_ and_params= 0x7f0fdaf9d7a0) at /build/ buildd/ glib2.0- 2.31.20/ ./gobject/ gsignal. c:3547 emit_valist (instance= <optimized out>, signal_ id=<optimized out>, detail=0, var_args=<optimized out>) at /build/ buildd/ glib2.0- 2.31.20/ ./gobject/ gsignal. c:3295
add_connection
connection_
g_closure_invoke (closure=
signal_
g_signal_