After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747785 - segfault in add_menu_item: devinfo object is NULL.
segfault in add_menu_item: devinfo object is NULL.
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
unspecified
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-04-13 15:54 UTC by Mathieu Trudel-Lapierre
Modified: 2015-08-10 12:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathieu Trudel-Lapierre 2015-04-13 15:54:41 UTC
As reported downstream:
https://bugzilla.redhat.com/show_bug.cgi?id=1181128
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1418260

Looks like nm-applet sometimes will crash in the code for broadband modems, due to a missing devinfo struct for the device. Seems to me like this shouldn't ever happen if the devices get properly found and populated as nm-applet starts (or as they appear), but it does.

  • #0 add_menu_item
    at applet-device-broadband.c line 765
  • #1 add_device_items
    at applet.c line 1677
  • #2 nma_menu_add_devices
    at applet.c line 1795
  • #3 nma_menu_show_cb
    at applet.c line 2095
  • #4 indicator_update_menu
    at applet.c line 2441
  • #5 applet_update_indicator_menu
    at applet.c line 2458
  • #6 g_main_dispatch
    at /build/buildd/glib2.0-2.43.3/./glib/gmain.c line 3122
  • #7 g_main_context_dispatch
    at /build/buildd/glib2.0-2.43.3/./glib/gmain.c line 3737
  • #8 g_main_context_iterate
    at /build/buildd/glib2.0-2.43.3/./glib/gmain.c line 3808
  • #9 g_main_loop_run
    at /build/buildd/glib2.0-2.43.3/./glib/gmain.c line 4002
  • #10 main
    at main.c line 106

Comment 1 Sebastien Bacher 2015-06-19 07:51:54 UTC
it's not ubuntu specific, similar reports on fedora are shown on https://retrace.fedoraproject.org/faf/reports/352711/
Comment 2 Thomas Haller 2015-08-10 12:47:20 UTC
It seems that bug rh1181128 is already fixed by
https://admin.fedoraproject.org/updates/network-manager-applet-0.9.10.3-1.git20150511.36c8684.fc21


According to https://bugzilla.redhat.com/show_bug.cgi?id=1199288,
the following to commits on master fix it:
  https://git.gnome.org/browse/network-manager-applet/commit/?id=98dc7a7657b2609fcac05134db99455a9de6610a
  https://git.gnome.org/browse/network-manager-applet/commit/?id=ef2d9f5b9ec073212e2ec161a20160118085d095

(both commits were also backported to nma-1-0 branch).



Closing BZ, please reopen if the patches don't fix the issue.