[MAPSERVER-USERS] Mapserv problems on Fedora

Philippe Kruschitz p_kruschitz at hotmail.com
Mon Apr 28 07:57:12 EDT 2008



>
>You --must-- compile and install the last version of
>gd, the gd version on RHEL 5 and 5.1 is broken, also
>on centos and fedora core 8.
>
>Be sure to replace the old gd version on /usr/lib,
>also check the simlinks on /usr/lib, then run ldconfig
>as root.
>
>If you use mapserver with phpmapscript install php-gd
>with yum.
>
>Hope this helps.
>
>Saludos.
>
>--
>Nahum Castro
>Leon, Guanajuato, Mexico
>http://www.leon-linux.com
>e-mail: pedro1_72 [en] yahoo [punto] com


I did pretty much everything you said before compiling mapserver (i didn't
have mapscript, though).

I tried to to change the malloc value, as frank warmerdam suggested, with
exactly the same result as stephen woodbridge: the crash is fixed, but the
regular expression systematically fails.....

Anyone has an idea? Did Stephen fixed it?

Regards,

Phil



Quote S. Woodbridge:

Hi Frank,

Adding more to to the malloc fixed the crash, but the regex is failing
:( and should be ok:

Breakpoint 1, msEvalRegex (e=0x4e9873 "\\.map$",
     s=0x7232a0 "/u/data/maps/google-agg.map") at mapfile.c:79

...

89        if(ms_regexec(&re, s, 0, NULL, 0) != 0) { /* no match */
(gdb) p ms_regexec(&re, s, 0, 0, 0)
$1 = 1
(gdb) c
Continuing.
Content-type: text/html

<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=EPPL7
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
msEvalRegex(): Regular expression error. String
(/u/data/maps/google-agg.map) failed expression test.
</BODY></HTML>
Program exited normally.


This should NOT be happening. Arrrgh!
Anyone else using fc8 on a x86_84 box?

-Steve

-- 
View this message in context: http://www.nabble.com/Mapserv--problems-on-Fedora-tp16688820p16937360.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list