>>My guess is because you have static string pointers being passed from a
DSO module to gmond.  I would suggest using apr_pstrdup(p, <string literal
>>here>) to allocate the memory from an APR memory pool before handing the
pointers back to gmond.

Thanks Brad- that helped, but I am still getting a seg fault from the second
line:

gmi = (Ganglia_25metric*)apr_array_push(metric_info);
memset (gmi, 0, sizeof(*gmi));

I am doing this to set the last metric to null. Why should this be
happening? BTW- my metric_info has size=10 and I am putting in only two
metrics before this (The null metric is the third)


>>You should be able to just use printf statements and then run gmond in
debug mode. With gmond running in debug mode, all printf statements should
print >>out on the console.

Thanks again- I think wasn't getting them because I was using the -f flag
and not --debug=1. I get them now!


Sylvester


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to