[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
weathermap core dumping
- From: Eduardo <sathler90@xxxxxxxxx>
- Subject: weathermap core dumping
- Date: Wed, 23 Jun 2010 13:52:07 -0300
Hi Folks,
Some weeks ago my weathermap started to core dump ... not sure if it
is related to the "old" GD issue I found
in the docs, I dont think so, since the php ./check-gdbug.php runs fine:
Here we go...
Nope. We got past the risky part, so that's good.
Your GD library looks healthy.
At the end of the run I get the core dump and never generates the maps
in output dir:
Abort (core dumped)
versions I have running:
cacti-0.8.7b.2_2
rrdtool-1.4.3
gd-2.0.35_7,1
php52-5.2.13_2
php52-gd-5.2.13_2
my weathermap is at version 0.95b and it is running as a cacti plugin
OS is FreeBSD 7.3 i386 ( I had the same problem on 7.1)
running php ./check.php
==================
This PHP uses the 'bundled' GD library, which doesn't have alpha-blending
bugs. That's good!
The Console_Getopt PEAR module is available. That's good!
imagepng YES
imagecreatetruecolor YES
imagealphablending YES
imageSaveAlpha YES
preg_match YES
imagecreatefrompng YES
imagecreatefromjpeg YES
imagecreatefromgif YES
imagejpeg YES
imagegif YES
imagefilter YES
imagecopyresampled YES
imagettfbbox YES
memory_get_usage YES
---------------------------------------------------------------------
OK! Your PHP and server environment *seems* to have support for ALL of the
Weathermap features. Make sure you have run this script BOTH as a web page
and from the CLI to be sure, however.
You have new mail.
Running weathermap in debug mode, via command line
=========================================
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:600] configs/Backbone1: ReadData
for NODE IXPE:
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:678] configs/Backbone1:
ReadData: No targets for NODE IXPE
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:715] configs/Backbone1:
ReadData: Setting 0,0
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:719] configs/Backbone1: ReadData
Completed.
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:720] configs/Backbone1:
------------------------------
DEBUG: [DrawMap@xxxxxxxxxxxxxxxxxxxx:2308] configs/Backbone1: Running
Post-Processing Plugins...
DEBUG: [DrawMap@xxxxxxxxxxxxxxxxxxxx:2311] configs/Backbone1: Running
WeatherMapPostProcessorTest->run()
DEBUG: [run@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:26] configs/Backbone1:
WeatherMapPostProcessorTest Not Enabled
DEBUG: [DrawMap@xxxxxxxxxxxxxxxxxxxx:2316] configs/Backbone1: Finished
Post-Processing Plugins...
DEBUG: [DrawMap@xxxxxxxxxxxxxxxxxxxx:2318] configs/Backbone1:
=====================================
DEBUG: [DrawMap@xxxxxxxxxxxxxxxxxxxx:2319] configs/Backbone1: Start of
Map Drawing
DEBUG: [AllocateScaleColours@xxxxxxxxxxxxxxxxxxxx:2296]
configs/Backbone1: AllocateScaleColours: DEFAULT KEYTEXT (0,0,0)
DEBUG: [AllocateScaleColours@xxxxxxxxxxxxxxxxxxxx:2296]
configs/Backbone1: AllocateScaleColours: DEFAULT 0_0 (0,0,0)
DEBUG: [AllocateScaleColours@xxxxxxxxxxxxxxxxxxxx:2296]
configs/Backbone1: AllocateScaleColours: DEFAULT 0_60 (153,204,50)
DEBUG: [AllocateScaleColours@xxxxxxxxxxxxxxxxxxxx:2296]
configs/Backbone1: AllocateScaleColours: cactiupdown 2.5_3.5
(50,245,50)
DEBUG: [pre_render@xxxxxxxxxxxxxxxxxxxxxxxx:223] configs/Backbone1:
Node->pre_render: Label Metrics are: 28 x 8 -> 32 x 12
Abort (core dumped)
Just now I did the upgrade to weathermap 0.97a ... core dump after
running the command line with debug option on
====================================================================================
DEBUG: [AllocateScaleColours@xxxxxxxxxxxxxxxxxxxx:3366]
configs/Backbone1: AllocateScaleColours: cactiupdown/gdref1 2.5_3.5
(50,245,50)
DEBUG: [DrawMap@xxxxxxxxxxxxxxxxxxxx:3461] configs/Backbone1:
Pre-rendering :: DEFAULT :: to get bounding boxes.
DEBUG: [DrawMap@xxxxxxxxxxxxxxxxxxxx:3461] configs/Backbone1:
Pre-rendering DEFAULT to get bounding boxes.
DEBUG: [DrawMap@xxxxxxxxxxxxxxxxxxxx:3461] configs/Backbone1:
Pre-rendering ANSP to get bounding boxes.
WARNING: configs/Backbone1: Using a non-existent special font (210) -
falling back to internal GD fonts [WMWARN36]
DEBUG: [pre_render@xxxxxxxxxxxxxxxxxxxxxxxx:249] configs/Backbone1:
Node->pre_render: SAEP Label Metrics are: 36 x 15 -> 40 x 19
Abort (core dumped)
running in the command line without the debug
==================================
WARNING: configs/Backbone1: ProcessTargets: NODE SA, target:
cactihost:45 on config line 379 of configs/Backbone1 was recognised as
a valid TARGET by a plugin that is unable to run
(WeatherMapDataSource_cactihost) [WMWARN07]
Abort (core dumped)
running the php ./check-gdbug.php after the upgrade
===========================================
Here we go...
PHP Notice: ob_flush(): failed to flush buffer. No buffer to flush.
in /usr/local/share/cacti/plugins/weathermap/check-gdbug.php on line
30
...nope. We got past the risky part, so that's good.
Your GD library looks healthy.
I already recompiled all the ports related to cacti as well as the
lib* ports ... I´m running out of ideias ... any suggestions are
appreciated.
thanks!
-Ed.
- Follow-Ups:
- Style Sheet Example
- From: Patrick
- Style Sheet Example
- Prev by Date: Re: [php-weathermap] Best method to silence Errors?
- Next by Date: Style Sheet Example
- Previous by thread: Variable link name
- Next by thread: Style Sheet Example
- Index(es):