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