[mapserver-users] cgi-bin/mapserv double free error on RHEL 8.2

Worth Lutz wal3 at mindspring.com
Fri Apr 16 11:31:55 PDT 2021


Hi All,

We are having a problem with the cgi mapserv executable.

Some symptoms are

  * when calling with a valid query string, a png is returned as expected
  * when there is an error in the mapfile, nothing is returned. 
    response headers show "Content-Type: text/xml;" but there is no xml
    response data.
  * running mapserv on the command line with the same query string
    returns the expected output.
  * running mapserv -v on the command line returns "double free or
    corruption (out) Aborted (core dumped)"

gisusr at osagisdevl:~$ mapserv -v
MapServer version 7.4.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ 
SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV 
SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER 
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS 
SUPPORTS=POINT_Z_M SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR 
INPUT=GDAL INPUT=SHAPEFILE
double free or corruption (out)
Aborted (core dumped)
gisusr at osagisdevl:~$

This is on a compiled version of mapserver on RHEL8.  The same result 
with mapserver 7.6.2.

Does anyone have suggestions on how to track this problem down?

-- 
*Worth Lutz*


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210416/2f52914d/attachment.html>


More information about the mapserver-users mailing list