Hmm.. Strange.. Now it get's even more complicated..
Line 846 has been commented out... That's where you're freeing 'poll_result'... --> 'free(poll_result);'...
Line 848 is only 'SPINE_LOG_MEDIUM...' and I leave it therefore untouched...
After doing that, spine hangs on the very first poller item.
This item is a normal 'Script/Command'.
11/10/2008 02:21:33 PM - SPINE: Poller Host DEBUG: The POPEN returned the following File Descriptor 6
11/10/2008 02:21:33 PM - SPINE: Poller Host DS SCRIPT: php /var/www/html/cacti/scripts/kpi_query.php, output: online:534 offline:16
11/10/2008 02:21:33 PM - SPINE: Poller DEBUG: SQL:'INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (9460,'','2008-11-10 14:21:33','online:534 offline:16')'
Interesting fact is, that the rrd file name seems to be missing in the 'insert' sql statement.
I gave it another try after 'disabling' this particular data source and then it stopped on the next 'Script/Command' with more then 1 return value
Means, that the 'ping.pl' script which only returns something like output: 24.7
runs fine, but another script with the following return values output: online:534 offline:16
makes spine hang...
Disabling all of these 'multi return value' scripts makes spine to run fine for about 5 seconds and then it ceases to poll any further... Hanging again without error message... (This output has been attached to this post.)
Hope I'm not confusing you too much...