Mapscript ,Mono, Apache and Linux : a great story (heap corruption with geos)

Tamas Szekeres szekerest at GMAIL.COM
Fri Jun 23 05:07:48 PDT 2006


Xavier,

After compiling with geos support i have found similar problems:

Mono-INFO: DllImport loading library: './libmapscript.so'.
Mono-INFO: Searching for 'CSharp_mapObj_getLayerByName'.
Mono-INFO: Probing 'CSharp_mapObj_getLayerByName'.
Mono-INFO: Found as 'CSharp_mapObj_getLayerByName'.
Mono-INFO: DllImport attempting to load: 'libmapscript.so'.
Mono-INFO: DllImport loading location: 'libmapscript.so'.
Mono-INFO: DllImport error loading library: 'libmapscript.so: nem
lehet megnyitni megosztott objektum fájlt: Nincs ilyen fájl vagy
könyvtár'.
Mono-INFO: DllImport loading library: './libmapscript.so'.
Mono-INFO: Searching for 'CSharp_layerObj_open'.
Mono-INFO: Probing 'CSharp_layerObj_open'.
Mono-INFO: Found as 'CSharp_layerObj_open'.
Mono-INFO: DllImport attempting to load: 'libmapscript.so'.
Mono-INFO: DllImport loading location: 'libmapscript.so'.
Mono-INFO: DllImport error loading library: 'libmapscript.so: nem
lehet megnyitni megosztott objektum fájlt: Nincs ilyen fájl vagy
könyvtár'.
Mono-INFO: DllImport loading library: './libmapscript.so'.
Mono-INFO: Searching for 'CSharp_layerObj_getFeature'.
Mono-INFO: Probing 'CSharp_layerObj_getFeature'.
Mono-INFO: Found as 'CSharp_layerObj_getFeature'.
*** glibc detected *** malloc(): memory corruption: 0x08657d78 ***

without geos support the program runs correctly (even with swf support)

Would you test your application without geos compiled in?

Regards,

Tamas



2006/6/23, Xavier Mauclaire <xavier.mauclaire at geoter.fr>:
> Under windows
>
>
> C:\Documents and Settings\xavier.mauclaire>mapserv -v
> MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=PDF
>  OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
> SUPPO
> RTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
> SUPPO
> RTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> INPUT=SH
> APEFILE DEBUG=MSDEBUG
>
>
> Under linux
>
> pclinux:/opt/mapserver # mapserv -v
> MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=THREADS
> SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> pclinux:/opt/mapserver #
>
> regards
>
>
> -----------------------------------------
> Xavier Mauclaire
> Service informatique
> GEOTER SAS
> 3, rue Jean Monnet
> 34830 Clapiers France
> Tél.: +33 (0)4.67.59.18.11
> Fax: +33 (0)4.67.59.18.24
> Email: xavier.mauclaire at geoter.fr
> Web site: http://www.geoter.fr
> -------------------------------------------------------
>


More information about the MapServer-users mailing list