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 783322 - SIGSEGV in NM connecting to WWAN
SIGSEGV in NM connecting to WWAN
Status: RESOLVED DUPLICATE of bug 782545
Product: NetworkManager
Classification: Platform
Component: Mobile broadband
1.8.x
Other Linux
: Normal critical
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-06-01 14:12 UTC by Kyrylo Shpytsya
Modified: 2017-06-01 16:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kyrylo Shpytsya 2017-06-01 14:12:32 UTC
OS: Gentoo
NetworkManager: 1.8.0
ModemManager: 1.6.4

Persistent SIGSEGV while trying to establish Mobile Broadband connection. Wi-Fi connections work properly. With NetworkManager v1.4.4, Mobile Broadband works properly.

--------

(NetworkManager:20759): GLib-CRITICAL **: g_array_sort_with_data: assertion 'array != NULL' failed
Thread 1 "NetworkManager" received signal SIGSEGV, Segmentation fault.

nm_ip6_config_get_address_first_nontentative (config=0xa203c0, linklocal=linklocal@entry=1)
    at /var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/nm-ip6-config.c:1458
1458            for (i = 0; i < priv->addresses->len; i++) {

(gdb) bt
  • #0 nm_ip6_config_get_address_first_nontentative
    at /var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/nm-ip6-config.c line 1458
  • #1 linklocal6_start
    at /var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/devices/nm-device.c line 6961
  • #2 addrconf6_start
    at /var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/devices/nm-device.c line 7448
  • #3 act_stage3_ip6_config_start
    at /var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/devices/nm-device.c line 7736
  • #4 modem_ip6_config_result
    at /var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/devices/wwan/nm-device-modem.c line 242
  • #5 ffi_call_unix64
    from /usr/lib64/libffi.so.6
  • #6 ffi_call
    from /usr/lib64/libffi.so.6
  • #7 g_cclosure_marshal_generic_va
    from /usr/lib64/libgobject-2.0.so.0
  • #8 ??
    from /usr/lib64/libgobject-2.0.so.0
  • #9 g_signal_emit_valist
    from /usr/lib64/libgobject-2.0.so.0
  • #10 g_signal_emit
    from /usr/lib64/libgobject-2.0.so.0
  • #11 stage3_ip6_done
    at /var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/devices/wwan/nm-modem-broadband.c line 1048
  • #12 g_main_context_dispatch
    from /usr/lib64/libglib-2.0.so.0
  • #13 ??
    from /usr/lib64/libglib-2.0.so.0
  • #14 g_main_loop_run
    from /usr/lib64/libglib-2.0.so.0
  • #15 main
    at /var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/main.c line 435

(gdb) p priv->addresses
$2 = (GArray *) 0x0

Core file is available.
Comment 1 Beniamino Galvani 2017-06-01 16:12:42 UTC

*** This bug has been marked as a duplicate of bug 782545 ***