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

<br><br>/var/www/cgi-bin/mapserv &quot;QUERY_STRING=map=app.map&amp;mode=map&quot;<br>*** glibc detected *** /var/www/cgi-bin/mapserv: free(): invalid next size (fast): 0x09c23740 ***<br>======= Backtrace: =========<br>/lib/libc.so.6[0x6c8d06]<br>

/lib/libc.so.6(cfree+0x90)[0x6cc1e0]<br>/var/www/cgi-bin/mapserv[0x80f2b6e]<br>/var/www/cgi-bin/mapserv[0x80706be]<br>/var/www/cgi-bin/mapserv[0x80765e7]<br>/var/www/cgi-bin/mapserv[0x80529ca]<br>/var/www/cgi-bin/mapserv[0x8054ac0]<br>

/lib/libc.so.6(__libc_start_main+0xdc)[0x675dec]<br>/var/www/cgi-bin/mapserv[0x80516f1]<br><br><br>Configuration:<br><br>CentOS 5 - 2.6.18-92.1.22.el5.centos.plus x86.<br>Oracle 10.2.0.1 + Oracle Spatial.<br>Mapserver 5.4.0<br>

<br>./mapserv -v<br>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<br>

<br>I already set the permission of the files and enviroment variables (at /etc/profile and apache conf&#39;s).<br><br>using sqlplus at that machine i can connect.<br>That mapfile has other layers from other fonts (postgis, shp), they load without problem,<br>

I can load the oracle spatial layer using a java client without problem.<br><br>Any hint?<br><br><br clear="all">Luigi Castro Cardeles<br>