Bug 1089765

Summary: [abrt] network-manager-applet: _g_log_abort(): nm-applet killed by SIGABRT
Product: [Fedora] Fedora Reporter: Ahmed M. Farrag <afarrag>
Component: network-manager-appletAssignee: Dan Williams <dcbw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: danw, dcbw, jklimes, Wilhelm.Buchmueller
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/0d58e51951abc45c87c3788ba14fffa8303e2b83
Whiteboard: abrt_hash:bbbff5b6e6a8b3c459b719dbd04a1a9ecaee07ea
Fixed In Version: network-manager-applet-0.9.9.0-10.git20140123.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-19 22:50:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
[PATCH] fix nm-applet crash on ModemManager unavailability none

Description Ahmed M. Farrag 2014-04-21 23:29:22 UTC
Version-Release number of selected component:
network-manager-applet-0.9.9.0-9.git20140123.fc20

Additional info:
reporter:       libreport-2.2.1
backtrace_rating: 4
cmdline:        nm-applet
crash_function: _g_log_abort
executable:     /usr/bin/nm-applet
kernel:         3.13.9-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (4 frames)
 #2 _g_log_abort at gmessages.c:255
 #5 get_icon at applet-device-broadband.c:633
 #6 applet_get_device_icon_for_state at applet.c:2850
 #7 applet_update_icon at applet.c:2948

Comment 1 Ahmed M. Farrag 2014-04-21 23:29:28 UTC
Created attachment 888280 [details]
File: backtrace

Comment 2 Ahmed M. Farrag 2014-04-21 23:29:30 UTC
Created attachment 888281 [details]
File: cgroup

Comment 3 Ahmed M. Farrag 2014-04-21 23:29:32 UTC
Created attachment 888282 [details]
File: core_backtrace

Comment 4 Ahmed M. Farrag 2014-04-21 23:29:35 UTC
Created attachment 888283 [details]
File: dso_list

Comment 5 Ahmed M. Farrag 2014-04-21 23:29:37 UTC
Created attachment 888284 [details]
File: environ

Comment 6 Ahmed M. Farrag 2014-04-21 23:29:39 UTC
Created attachment 888285 [details]
File: limits

Comment 7 Ahmed M. Farrag 2014-04-21 23:29:42 UTC
Created attachment 888286 [details]
File: maps

Comment 8 Ahmed M. Farrag 2014-04-21 23:29:44 UTC
Created attachment 888287 [details]
File: open_fds

Comment 9 Ahmed M. Farrag 2014-04-21 23:29:46 UTC
Created attachment 888288 [details]
File: proc_pid_status

Comment 10 Ahmed M. Farrag 2014-04-21 23:29:48 UTC
Created attachment 888289 [details]
File: var_log_messages

Comment 11 Jirka Klimes 2014-04-22 07:50:12 UTC
[User Logs]:
أبر 17 10:28:04 localhost.localdomain gnome-session[2456]: (nm-applet:2889): nm-applet-WARNING **: Error connecting to ModemManager: Error calling StartServiceByName for org.freedesktop.ModemManager1: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
أبر 17 10:34:14 localhost.localdomain gnome-session[2456]: (nm-applet:2889): nm-applet-WARNING **: Cannot grab information for modem at /org/freedesktop/ModemManager1/Modem/0: No ModemManager support
أبر 17 10:35:25 localhost.localdomain gnome-session[2456]: nm-applet:ERROR:applet-device-broadband.c:633:get_icon: assertion failed: (info)

ModemManager was not available and nm-applet was terminated due to an assertion in applet-device-broadband.c:get_icon().

Comment 12 Jirka Klimes 2014-04-22 07:51:30 UTC
Created attachment 888378 [details]
[PATCH] fix nm-applet crash on ModemManager unavailability

Comment 13 Dan Winship 2014-04-23 14:34:48 UTC
Hm... this will just make it show up with the standard ethernet icon, won't it? Better than crashing, but...

Comment 14 Jirka Klimes 2014-04-24 09:57:01 UTC
(In reply to Dan Winship from comment #13)
> Hm... this will just make it show up with the standard ethernet icon, won't
> it? Better than crashing, but...

Yes, it will probably display the ethernet icon or whatever. However mobile_helper_get_icon() would still return NULL, because the device won't be connected.

Comment 15 Dan Williams 2014-04-25 22:43:33 UTC
Showing an ethernet icon is at last better than crashing.  Patch looks fine to me, I'm OK with the behavior too I think.

Comment 16 Jirka Klimes 2014-04-28 07:08:20 UTC
Commit in upstream master:
3b7c84a broadband: fix crash when ModemManager is not available (rh #1089765)

Comment 17 Fedora Update System 2014-06-12 14:38:51 UTC
network-manager-applet-0.9.9.0-10.git20140123.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/network-manager-applet-0.9.9.0-10.git20140123.fc20

Comment 18 Fedora Update System 2014-06-13 05:29:14 UTC
Package network-manager-applet-0.9.9.0-10.git20140123.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing network-manager-applet-0.9.9.0-10.git20140123.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7326/network-manager-applet-0.9.9.0-10.git20140123.fc20
then log in and leave karma (feedback).

Comment 19 Fedora Update System 2014-06-19 22:50:30 UTC
network-manager-applet-0.9.9.0-10.git20140123.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.