What OS and compiler were used?

On 11/22/06, Erich Focht <[EMAIL PROTECTED]> wrote:
Hi,

I'm trying to run gexec with ganglia-3.0.3. Built ganglia with
--enable-gexec,
built and installed gexec. gexec runs fine if executed standalone, but when
I try it together with ganglia, gexec segfaults.

Does anybody have gexec (version 0.3.6) running with ganglia-3.0.3? Did
anything change with ganglia-3.x which could lead to trouble with gexec?

gdb shows the problem is in gexec.c:219

214         lli = cluster.gexec_hosts;
215         for (i = 0; i < *nhosts; i++) {
216             e_assert(lli != NULL);
217             (*ips)[i] = (char *)xmalloc(IP_STRLEN);
218             host = (gexec_host_t *)lli->val;
219             e_assert(strlen(host->ip) < IP_STRLEN);
220             strcpy((*ips)[i], host->ip);
221             lli = lli->next;
222         }

The host variable is NULL.

Any ideas?

Erich



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers



--
~Mike
- Just the crazy copy cat.

Reply via email to