Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63019 - Xtraceroute has problem with head
Summary: Xtraceroute has problem with head
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 08:39 UTC by Silian Della Ragione
Modified: 2004-11-21 01:44 UTC (History)
0 users

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 Silian Della Ragione 2004-09-06 08:39:31 UTC
I can emerge both traceroute and Xtraceroute. But whan I try to start Xtraceroute I have some errors:
bash-2.05b# xtraceroute
Didn't get expected in the string from host helper!
This is what I got: "head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
"
Xtraceroute: locStrToNum[1]: got bad LOC data!
        Data: " record not found, server failure
"
TIP:    To get xtraceroute to show your location centered on the globe
        when it starts up, add information about this host,
        (FireTux) or your whole net.

        OR, even better, make your sysadmin add a LOC record to the DNS.
        That way it will work for everyone else as well. Plus he gets to do
        the work instead of you! See the README file for more info on this. 

Then when I put an IP and I press enter I receive:
GLib-CRITICAL **: file gmain.c: line 500 (g_source_remove): assertion `tag > 0' failed. 

And Xtraceroute don't print the lines on the world. 
I think the problem is head.

Reproducible: Always
Steps to Reproduce:
1. Use the last version of Xtraceroute and traceroute with a new gentoo system
2. Start xtraceroute
3. See that It don't work proprierly

Actual Results:  
The program still don't work

Expected Results:  
I would see the lines and all the IP's in the world

emerge info:
Portage 2.0.50-r10 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 ppc 7457, altivec supported
Gentoo Base System version 1.4.16
distcc 2.13 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache sandbox usersandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa altivec apache2 apm arts berkdb cdr cups dvd esd foomaticdb
gdbm gif gnome-libs gpm gtk gtk2 imlib java jpeg ldap libwww mitshm motif
mozilla mpeg mysql nas nls oggvorbis opengl oss pam perl pic png ppc python qt
readline samba sdl slang ssl tcltk tcpd tiff truetype usb xv zlib"


Some strace lines:
close(4)                                = 0
open("/etc/host.conf", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/etc/hosts", O_RDONLY)            = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=254, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30027000
read(4, "127.0.0.1\tFireTux.gechi.org Fire"..., 4096) = 254
close(4)                                = 0
munmap(0x30027000, 4096)                = 0
pipe([4, 5])                            = 0
fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
gettimeofday({1094490426, 655412}, NULL) = 0
fork()                                  = 13715
read(4, 0x7fffeea8, 1)                  = -1 EAGAIN (Resource temporarily
unavailable)
read(4, 0x7fffeea8, 1)                  = -1 EAGAIN (Resource temporarily
unavailable)
read(4, 0x7fffeea8, 1)                  = -1 EAGAIN (Resource temporarily
unavailable)
read(4, 0x7fffeea8, 1)                  = -1 EAGAIN (Resource temporarily
unavailable)
read(4, 0x7fffeea8, 1)                  = -1 EAGAIN (Resource temporarily unavai
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2004-11-21 01:44:40 UTC
Fixed in portage