NM crashes when restarted on arale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
Discovered this while testing for another bug; I hadn't run into this problem before:
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
Program received signal SIGSEGV, Segmentation fault.
0xb690606e in strlen () from /lib/arm-
(gdb) bt full
#0 0xffffffff in strlen () at /lib/arm-
#1 0xffffffff in vfprintf () at /lib/arm-
#2 0xffffffff in __vasprintf_chk () at /lib/arm-
#3 0xffffffff in g_vasprintf (__ap=..., __fmt=<optimized out>, __ptr=0xbefff1f8) at /usr/include/
__func__ = "g_vasprintf"
#4 0xffffffff in g_vasprintf (string=
__func__ = "g_vasprintf"
#5 0xffffffff in g_strdup_vprintf (format=
at /build/
string = 0x0
#6 0x000a0d04 in _nm_log_impl (file=0xb2acdf70 "nm-modem.c", line=line@
args = {__ap = 0xbefff260}
msg = <optimized out>
fullmsg = 0x0
tv = {tv_sec = -1232066209, tv_usec = -1226609788}
---Type <return> to continue, or q <return> to quit---
g_log_level = 64
__func__ = "_nm_log_impl"
#7 0xffffffff in nm_modem_set_state (self=0x1eb8e0 [NMModemOfono], new_state=
at nm-modem.c:149
priv = <optimized out>
old_state = NM_MODEM_
__func__ = "nm_modem_
#8 0xffffffff in update_modem_state (self=self@
at nm-modem-
priv = <optimized out>
state = <optimized out>
new_state = <optimized out>
reason = <optimized out>
__func__ = "update_
#9 0xffffffff in handle_
priv = <optimized out>
value_str = <optimized out>
__func__ = "handle_
#10 0xffffffff in get_ofono_
self = 0x1eb8e0 [NMModemOfono]
---Type <return> to continue, or q <return> to quit---
error = 0x0
Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
properties = 0x1e4440
value = 0x1dd368
__func__ = "get_ofono_
#11 0xffffffff in () at /lib/arm-
CVE References
Changed in network-manager (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
importance: | Undecided → High |
NM probably really shouldn't run into this case, since right after initializing state to NM_STATE_UNKNOWN, there is a big if-ifelse-else block which is supposed to *always* set the correct state. Somehow we don't get through the else block.