WFS server very wierd behaviour

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Mon Mar 14 19:06:37 EST 2005


Hi,

Using latest CVS:

# ./mapserv -v
MapServer version 4.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF SUPPORTS=PROJ SUPPORT
S=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=
WCS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE

On fedora, using latest of all libs, including gdal 1.2.6.

When I make clean, ./configure and make, I retest my WMS and WFS.

WMS works as expected (GetCapabilities, GetMap, GetFeatureInfo).

WFS GetCapabilities works

WFS DescribeFeatureType works

WFS GetFeature does not work

Tests

1./ WFS GetFeature (underlying data is shapefile)
 -
http://devgeo.cciw.ca/cgi-bin/mapserv/ecows?version=1.0.0&service=WFS&re
quest=GetFeature&typename=naps&
  - RESPONSE: truncated output, no attributes output, just geometries

Running this through gdb

(gdb) set arg "QUERY_STRING=..........."
(gdb) run
......
......
......
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208061824 (LWP 13120)]
0x006f26e9 in free () from /lib/tls/libc.so.6
(gdb) bt
#0  0x006f26e9 in free () from /lib/tls/libc.so.6
#1  0x0805daf5 in msFree ()
#2  0x080d0619 in msGMLFreeItems ()
#3  0x080d131f in msGMLWriteWFSQuery ()
#4  0x0809e6dc in msWFSGetFeature ()
#5  0x0809efcf in msWFSDispatch ()
#6  0x0809b13c in msOWSDispatch ()
#7  0x08051c85 in main ()
(gdb)

2./ WFS GetFeature (underlying data is GML file)
 -
http://devgeo.cciw.ca/cgi-bin/mapserv/ecows?version=1.0.0&service=WFS&re
quest=GetFeature&typename=neis
  - RESPONSE: 500 error

Running this through gdb:

(gdb) set arg
"QUERY_STRING=map=/usr/local/wwwsites/apache/devgeo.cciw.ca/apps/mapserv
/services/ecows/config.map&service=WFS&version=1.0.0&request=GetFeature&
typename=neis"
(gdb) run
......
......
......

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208061824 (LWP 13131)]
0x008746e9 in free () from /lib/tls/libc.so.6
(gdb) bt
#0  0x008746e9 in free () from /lib/tls/libc.so.6
#1  0x0805daf5 in msFree ()
#2  0x080d0619 in msGMLFreeItems ()
#3  0x080d131f in msGMLWriteWFSQuery ()
#4  0x0809e6dc in msWFSGetFeature ()
#5  0x0809efcf in msWFSDispatch ()
#6  0x0809b13c in msOWSDispatch ()
#7  0x08051c85 in main ()
(gdb)

...at first I thought this is a gdal upgrade problem, but then again
maybe it is a mapgml.c issue (or both/neither?).

..Tom



More information about the mapserver-dev mailing list