Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108703 - sys-cluster/ganglia-2.5.7 - gmond segfaults when running inside uml
Summary: sys-cluster/ganglia-2.5.7 - gmond segfaults when running inside uml
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Cluster Team
URL: http://bugzilla.ganglia.info/cgi-bin/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-10 02:39 UTC by Nico Rittner
Modified: 2010-09-10 19:00 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 Nico Rittner 2005-10-10 02:39:17 UTC
see this unanswered bug report at ganglia:
http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=67
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-10 03:01:16 UTC
Which version? Also, please don't link to external sources in problem
description, post the actual strace and other information here. And you
neglected to post emerge --info output as instructed to when filing the bug.
Comment 2 Nico Rittner 2005-10-10 03:24:06 UTC
kardinal / # emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12-jason-1-cs i686)
=================================================================
System uname: 2.6.12-jason-1-cs i686
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O3 -march=i586 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i586 -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE"
LC_ALL="de_DE"
MAKEOPTS="-j5"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm avi bitmap-fonts cdr crypt cups curl eds emboss encode foomaticdb
fortran gd gstreamer imagemagick imap imlib jpeg ldap libg++ libwww lm_sensors
mad mbox mikmod mp3 mysql ncurses ogg oggvorbis opengl pam perl png quicktime
readline sdl snmp ssl syslog tcpd tiff truetype truetype-fonts type1-fonts
vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS

----
Ganglia Version: 2.5.7

----

Used use-Flags: none

----
When running gmond under user-mode-linux it segfaults.

# strace gmond -d3
......
......

connect(8, {sa_family=AF_INET, sin_port=htons(8649),
sin_addr=inet_addr("239.2.11.71")}, 16) = 0
write(2, "multicasting on channel 239.2.11"..., 40multicasting on channel
239.2.11.71 8649) = 40
write(2, "\n", 1
)                       = 1
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(7, "\300Q\5@\0\0\0\0\320\370\377\177@\250\4\10\0\0\0\0\0\0"...,
148set_metric_value() exec'd cpu_num_func (1)
set_metric_value() exec'd cpu_speed_func (2)
) = 148
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

cat /proc/cpuinfo:

processor       : 0
vendor_id       : User Mode Linux
model name      : UML
mode            : tt
host            : Linux kardinal 2.6.12-jason-1-cs #1 SMP Mon Sep 12 09:10:46
Local time zone must be set--see zic  i686
bogomips        : 983.04
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2006-01-24 03:14:21 UTC
Could you please retest with ganglia-3.0.2 ?
Comment 4 Nico Rittner 2006-01-24 03:55:39 UTC
(In reply to comment #3)
No segfaults, forks and binds correctly.
Is it ready for production use ?, so i'll
put '~x86' into package.keywords for ganglia.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-26 00:38:32 UTC
Reported fixed in 3.x