Ticket #2042 (closed defect: invalid)
Curved Labels cause MapScript crash on RedHat 7.2
| Reported by: | j.martel@… | Owned by: | sdlime |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | MapScript | Version: | 4.10 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by sdlime) (diff)
Activating curved labels on RedHat 7.2 seems to cause a MapScript crash (blank
map). Installed dependencies are PHP 4.4.4, GDAL 1.3.2, Geos 2.2.3, GD 2.0.33,
Freetype 2.2.1, Curl 7.15.4 and Proj 4.4.9. PHP is installed as an Apache
module, not CGI.
/var/log/messages reports an apache crash though httpd is still alive :
kernel: grsec: From 217.xxx.xxx.xxx: signal 11 sent to
/usr/local/apache/bin/httpd[httpd:29737] uid/euid:510/510 gid/egid:100/100,
parent /usr/local/apache/bin/httpd[httpd:8507] uid/euid:0/0 gid/egid:0/0
here is a sample map that causes such a problem :
LAYER
NAME "Canalisations_etiquette"
GROUP "Eau Potable"
METADATA
"REQUETEUR" "0"
"CONTOUR" "0"
"ETIQUETTE" "1"
"TEXTEFIXE" "0"
END #MetaData
TYPE LINE
STATUS ON
DATA "AEP_CANA_etiquette"
LABELITEM "DIAMMAT"
LABELMAXSCALE 30000
CLASS
NAME "Class_Canalisations_Etiquette"
LABEL
COLOR 0 0 0
FONT "Arial"
FORCE True
OFFSET 0 0
POSITION UC
ANGLE FOLLOW
TYPE TRUETYPE
SIZE 4.88
END #Label
END #Class
SYMBOLSCALE 2000
MAXSCALE 20000
MINSCALE 0
END #LayerEtiquette
MapScript was build with no errors using the following configuration :
./configure --with-proj --with-wmsclient --with-ogr --with-libwww --with-gdal
--enable-runpath --enable-debug --without-tiff --with-gd=/usr/local
--with-freetype=/usr --with-threads
--with-curl-config=/usr/local/bin/curl-config --with-wfs --with-wcs
--with-wmsclient -with-wfsclient --with-php=/usr/local
--with-geos=/usr/local/bin/geos-config --with-mapscript
Using the same mapfile and project (and same options for building MapScript) on
a different linux distribution like Debian or even MS Windows works perfectly.
I reproduced the same error in a RH7 virtual machine using php4.4.2, geos
3.0.0rc2 and libgd 2.0.29, so the problem seems linked to the RedHat 7
distribution to me. I didn't find any useful information searching the different
mapserver related forums.
I hope I've been clear enough despite of my poor english.
Change History
Note: See
TracTickets for help on using
tickets.
