Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623244 - net-misc/networkmanager-1.8.0 crashes when connecting to Bluetooth connection
Summary: net-misc/networkmanager-1.8.0 crashes when connecting to Bluetooth connection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2017-07-01 08:53 UTC by Leonard Lausen
Modified: 2017-08-16 21:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Lausen 2017-07-01 08:53:31 UTC
When trying to connect to a network that is shared via Bluetooth from my Android phone (due to bug #623242) NetworkManager crashes.

Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: <info>  [1498898795.2896] device (84:73:03:78:2A:D6): Activation: starting connection 'Le 1s Network' (ff2da45f-b40c-4215-800a-09f743d8b505)
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: <info>  [1498898795.2898] audit: op="connection-activate" uuid="ff2da45f-b40c-4215-800a-09f743d8b505" name="Le 1s Network" pid=2561 uid=1000 res
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: <info>  [1498898795.2901] device (84:73:03:78:2A:D6): state change: disconnected -> prepare (reason 'none') [30 40 0]
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: <info>  [1498898795.2908] device (84:73:03:78:2A:D6): state change: prepare -> config (reason 'none') [40 50 0]
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: <info>  [1498898795.6038] device (84:73:03:78:2A:D6): Activation: (bluetooth) Stage 2 of 5 (Device Configure) successful. Will connect via PAN.
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: <info>  [1498898795.6044] device (84:73:03:78:2A:D6): state change: config -> ip-config (reason 'none') [50 70 0]
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: <info>  [1498898795.6047] dhcp4 (bnep0): activation: beginning transaction (timeout in 45 seconds)
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: <info>  [1498898795.6072] dhcp4 (bnep0): dhclient started with pid 21829
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: ((/var/tmp/portage/net-misc/networkmanager-1.8.0/work/NetworkManager-1.8.0/src/platform/nm-platform.c:2650)): assertion '<dropped>' failed
Jul 01 17:46:35 leonard-xps13 NetworkManager[20987]: g_array_sort_with_data: assertion 'array != NULL' failed
Jul 01 17:46:35 leonard-xps13 systemd[1]: NetworkManager.service: Main process exited, code=dumped, status=11/SEGV
Jul 01 17:46:35 leonard-xps13 systemd[1]: NetworkManager.service: Unit entered failed state.
Jul 01 17:46:35 leonard-xps13 systemd[1]: NetworkManager.service: Failed with result 'core-dump'.
Jul 01 17:46:35 leonard-xps13 systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Jul 01 17:46:35 leonard-xps13 systemd[1]: Stopped Network Manager.
Jul 01 17:46:35 leonard-xps13 systemd[1]: Starting Network Manager...


 * Found these USE flags for net-misc/networkmanager-1.8.0:
 U I
 - - abi_x86_32         : 32-bit (x86) libraries
 - - audit              : Enable support for Linux audit subsystem using sys-process/audit
 + + bluetooth          : Enable Bluetooth Support
 - - connection-sharing : Use net-dns/dnsmasq and net-firewall/iptables for connection sharing
 + + dhclient           : Use dhclient from net-misc/dhcp for getting ip
 - - dhcpcd             : Use net-misc/dhcpcd for getting ip
 - - elogind            : Use sys-auth/elogind for session tracking
 - - gnutls             : Add support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support)
 + + introspection      : Add support for GObject based introspection
 - - json               : Enable JSON validation via dev-libs/jansson in libnm.
 + + modemmanager       : Enable support for mobile broadband devices using net-misc/modemmanager
 + + ncurses            : Add ncurses support (console display library)
 + + nss                : Use dev-libs/nss for cryptography
 - - ofono              : Use net-misc/ofono for telephony support.
 + + ppp                : Enable support for mobile broadband and PPPoE connections using net-dialup/ppp
 - - resolvconf         : Use net-dns/openresolv for managing DNS information
 + + systemd            : Enable use of systemd-specific libraries and features like socket activation or session tracking
 - - teamd              : Enable Teamd control support
 - - test               : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
 - - vala               : Enable bindings for dev-lang/vala
 + + wext               : Enable support for the deprecated Wext (Wireless Extensions) API; needed for some older drivers (e.g. ipw2200, ndiswrapper)
 + + wifi               : Enable support for wifi and 802.1x security using net-wireless/wpa_supplicant


Please let me know if you believe this bug is not related to Gentoo and should directly be reported upstream.
Comment 1 Pacho Ramos gentoo-dev 2017-07-03 09:17:47 UTC
I was also suffering this a few days ago when I needed to try this feature
Comment 2 Sander Sweers 2017-07-22 13:03:44 UTC
This came up as an issue on blueman as well. To rule out blueman I used the following to activate the connection. Replace Settings and Device path with the correct ones on your machine.

gdbus call -y -d "org.freedesktop.NetworkManager" -o "/org/freedesktop/NetworkManager" -m "org.freedesktop.NetworkManager.ActivateConnection" "/org/freedesktop/NetworkManager/Settings/5" "/org/freedesktop/NetworkManager/Devices/6" "/"
Comment 3 Leonard Lausen 2017-07-23 12:50:51 UTC
Please not that this was fixed upstream in networkmanager 1.8.2, which though unfortunately is not yet distributed in Gentoo.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-08-16 21:21:06 UTC
commit 7f2a5cbb288c0b80e1e44f49d5c99aa5583e4ea4
Date:   Sun Jul 23 10:06:11 2017 -0400

    net-misc/networkmanager: bump to 1.8.2

Could anyone update us on the status of this bug then ?
Comment 5 Sander Sweers 2017-08-16 21:34:23 UTC
(In reply to Gilles Dartiguelongue from comment #4)
> commit 7f2a5cbb288c0b80e1e44f49d5c99aa5583e4ea4
> Date:   Sun Jul 23 10:06:11 2017 -0400
> 
>     net-misc/networkmanager: bump to 1.8.2
> 
> Could anyone update us on the status of this bug then ?

Sure, its fixed with that version.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-08-16 21:36:39 UTC
Thanks for the heads up. Closing then.