Red Hat Bugzilla – Bug 1331395
[abrt] [faf] NetworkManager: unknown function(): /usr/sbin/NetworkManager killed by 11
Last modified: 2016-11-03 15:09:19 EDT
This bug has been created based on an anonymous crash report requested by the package maintainer. Report URL: http://faf.lab.eng.brq.redhat.com/faf/reports/bthash/b2d302feb13eb7fd27ffebb0313c2b0f3b304f53/ reproducer: call('yum -y install usb_modeswitch ModemManager', shell=True) call('systemctl restart ModemManager.service', shell=True) call('for i in $(ls /sys/bus/usb/devices/usb*/authorized); do echo 0 > $i; done', shell=True) call('for i in $(ls /sys/bus/usb/devices/usb*/authorized); do echo 1 > $i; done', shell=True) sleep(15) ^^ this is very important changing to 20 and everything behave OK. then test adds new novice mode connection for gsm device * Open wizard for adding new connection * Expect "Connection type" * Submit "gsm" in editor * Expect "Interface name" * Enter in editor (this means no device specified) * Expect "APN" * Submit "internet" in editor * Expect "Do you want to provide them\? \(yes\/no\) \[yes\]" * Submit "no" in editor * Expect "Do you want to add IP addresses\? \(yes\/no\) \[yes\]" * Submit "no" in editor ## crash is here when NM autoconnects created connection * Bring "up" connection "gsm" Then "gsm" is visible with command "nmcli con show -a" in "10" seconds And Ping "redhat.com" [root@wlan-intel-6200 NetworkManager]# rpm -qa NetworkManager* NetworkManager-adsl-1.2.0-1.el7.x86_64 NetworkManager-libnm-1.2.0-1.el7.x86_64 NetworkManager-wwan-1.2.0-1.el7.x86_64 NetworkManager-bluetooth-1.2.0-1.el7.x86_64 NetworkManager-wifi-1.2.0-1.el7.x86_64 NetworkManager-tui-1.2.0-1.el7.x86_64 NetworkManager-config-server-1.2.0-1.el7.x86_64 NetworkManager-debuginfo-1.2.0-1.el7.x86_64 NetworkManager-1.2.0-1.el7.x86_64 NetworkManager-team-1.2.0-1.el7.x86_64 NetworkManager-glib-1.2.0-1.el7.x86_64 NetworkManager-libreswan-1.0.6-3.el7.x86_64
Created attachment 1151852 [details] more info attached not sure why it's not attached in faf report
(In reply to Vladimir Benes from comment #1) > Created attachment 1151852 [details] > more info attached not sure why it's not attached in faf report FAF was misconfigured so it did not accept adding URLs to the report. This was fixed and deferred attachments were added to the reports so they're complete now.
Created attachment 1153995 [details] Patch 1/2
Created attachment 1154121 [details] Patch 2/2
(In reply to Lubomir Rintel from comment #3) > Created attachment 1153995 [details] > Patch 1/2 I think the finish functions should always be called. like: if (!mm_sim_send_pin_finish (sim, result, &error)) { if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { return; g_return_if_fail (self->priv->ctx && self->priv->ctx->step == CONNECT_STEP_UNLOCK); /* process failure... */ return; } g_return_if_fail (self->priv->ctx && self->priv->ctx->step == CONNECT_STEP_UNLOCK); /* process success... */
(In reply to Lubomir Rintel from comment #4) > Created attachment 1154121 [details] > Patch 2/2 typo: "suririse" otherwise, lgtm. (I would use NM_IN_SET(new_state, NM_DEVICE_STATE_FAILED, NM_DEVICE_STATE_DISCONNECTED), but as you prefer).
Created attachment 1155766 [details] Patch 1/2
Created attachment 1155767 [details] Patch 2/2
Patches look good.
patches merged: master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=702b74c9f73d7b6b1c4c082c531eb1fb46ac7d83 https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=aa0b379699fe8cb4ec9ef28fc493c0e499c892d8 with a follow-up patch: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=37827fcafa7ccf2da3756ddc57298db92990c2ba also backported to nm-1-2 branch.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2581.html