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 628084 - gdbus-peer fails with assertion
gdbus-peer fails with assertion
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gdbus
2.25.x
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-08-27 02:12 UTC by Priit Laes (IRC: plaes)
Modified: 2010-08-27 14:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build.log (655.47 KB, text/plain)
2010-08-27 02:15 UTC, Priit Laes (IRC: plaes)
Details

Description Priit Laes (IRC: plaes) 2010-08-27 02:12:50 UTC
When testing glib-2.25.14 tarball (with sys-apps/dbus-1.2.24-r1, Gentoo), I ran into following issue:

TEST: gdbus-peer... (pid=24883)
  /gdbus/peer-to-peer:                                                 **
ERROR:gdbus-peer.c:700:test_peer: assertion failed (buf == buf2): ("# /etc/hosts: Local Host Database\n#\n# This file describes a number of aliases-to-address mappings for the for \n# local hosts that share this file.\n#\n# In the presence of the domain name service or NIS, this file may not be \n# consulted at all; see /etc/host.conf for the resolution order.\n#\n\n# IPv4 and IPv6 localhost aliases\n127.0.0.1\tlocalhost\n::1\t\tlocalhost\n\n#\n# Imaginary network.\n#10.0.0.2               myname\n#10.0.0.3               myfriend\n#\n# According to RFC 1918, you can use the following IP networks for private \n# nets which will never be connected to the Internet:\n#\n#       10.0.0.0        -   10.255.255.255\n#       172.16.0.0      -   172.31.255.255\n#       192.168.0.0     -   192.168.255.255\n#\n# In case you want to be able to connect directly to the Internet (i.e. not \n# behind a NAT, ADSL router, etc...), you need real official assigned \n# numbers.  Do not try to invent your own network numbers but instead get one \n# from your network provider (if any) or from your regional registry (ARIN, \n# AP" == "# /etc/hosts: Local Host Database\n#\n# This file describes a number of aliases-to-address mappings for the for \n# local hosts that share this file.\n#\n# In the presence of the domain name service or NIS, this file may not be \n# consulted at all; see /etc/host.conf for the resolution order.\n#\n\n# IPv4 and IPv6 localhost aliases\n127.0.0.1\tlocalhost\n::1\t\tlocalhost\n\n#\n# Imaginary network.\n#10.0.0.2               myname\n#10.0.0.3               myfriend\n#\n# According to RFC 1918, you can use the following IP networks for private \n# nets which will never be connected to the Internet:\n#\n#       10.0.0.0        -   10.255.255.255\n#       172.16.0.0      -   172.31.255.255\n#       192.168.0.0     -   192.168.255.255\n#\n# In case you want to be able to connect directly to the Internet (i.e. not \n# behind a NAT, ADSL router, etc...), you need real official assigned \n# numbers.  Do not try to invent your own network numbers but instead get one \n# from your network provider (if any) or from your regional registry (ARIN, \n# APN")
FAIL
Comment 1 Priit Laes (IRC: plaes) 2010-08-27 02:15:01 UTC
Created attachment 168853 [details]
build.log
Comment 2 Felipe Besoaín Pino 2010-08-27 04:30:26 UTC
*** Bug 628085 has been marked as a duplicate of this bug. ***
Comment 3 David Zeuthen (not reading bugmail) 2010-08-27 14:23:28 UTC
Let me guess - your /etc/hosts file is bigger than 1024 bytes? I'll work on a fix
Comment 4 Priit Laes (IRC: plaes) 2010-08-27 14:32:19 UTC
Yes, 1116 bytes ;)

$ wc /etc/hosts 
  32  181 1116 /etc/hosts
Comment 5 David Zeuthen (not reading bugmail) 2010-08-27 14:51:37 UTC
OK, fixed with this commit

http://git.gnome.org/browse/glib/commit/?id=1e7243ad7b48d833ef6eec8fa305f25487f640b0

Thanks.