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 783996 - network: Fix runtime warning
network: Fix runtime warning
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Network
unspecified
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-06-20 13:04 UTC by Bastien Nocera
Modified: 2017-06-21 11:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
network: Fix runtime warning (1.82 KB, patch)
2017-06-20 13:04 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2017-06-20 13:04:38 UTC
.
Comment 1 Bastien Nocera 2017-06-20 13:04:43 UTC
Created attachment 354098 [details] [review]
network: Fix runtime warning

Create 2 veth interfaces without any names with, as root:
ip link add veth0 type veth peer name veth1
ip link set dev veth0 up
ip link set dev veth1 up

And run:
(gnome-control-center:28176): GLib-CRITICAL **: g_utf8_collate: assertion 'str1 != NULL' failed
(gnome-control-center:28176): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed
Comment 2 Bastien Nocera 2017-06-21 11:25:33 UTC
Attachment 354098 [details] pushed as b7c4b30 - network: Fix runtime warning