[mapserver-users] Mapserver native connection with oracle spatial

Luigi Castro Cardeles luigi.cardeles at gmail.com
Mon Apr 27 11:30:52 EDT 2009


Hi list,

I was trying to connect to a layer on oracle spatial using mapserver native
connection but i find some problems:
When i try to load the layer (using mapserver cgi or command line), this
message appears:


/var/www/cgi-bin/mapserv "QUERY_STRING=map=app.map&mode=map"
*** glibc detected *** /var/www/cgi-bin/mapserv: free(): invalid next size
(fast): 0x09c23740 ***
======= Backtrace: =========
/lib/libc.so.6[0x6c8d06]
/lib/libc.so.6(cfree+0x90)[0x6cc1e0]
/var/www/cgi-bin/mapserv[0x80f2b6e]
/var/www/cgi-bin/mapserv[0x80706be]
/var/www/cgi-bin/mapserv[0x80765e7]
/var/www/cgi-bin/mapserv[0x80529ca]
/var/www/cgi-bin/mapserv[0x8054ac0]
/lib/libc.so.6(__libc_start_main+0xdc)[0x675dec]
/var/www/cgi-bin/mapserv[0x80516f1]


Configuration:

CentOS 5 - 2.6.18-92.1.22.el5.centos.plus x86.
Oracle 10.2.0.1 + Oracle Spatial.
Mapserver 5.4.0

./mapserv -v
MapServer version 5.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS
SUPPORTS=GEOS INPUT=TIFF INPUT=POSTGIS INPUT=ORACLESPATIAL INPUT=OGR
INPUT=GDAL INPUT=MYGIS INPUT=SHAPEFILE

I already set the permission of the files and enviroment variables (at
/etc/profile and apache conf's).

using sqlplus at that machine i can connect.
That mapfile has other layers from other fonts (postgis, shp), they load
without problem,
I can load the oracle spatial layer using a java client without problem.

Any hint?


Luigi Castro Cardeles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090427/22fbabf5/attachment.html


More information about the mapserver-users mailing list