WFS server very wierd behaviour

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Tue Mar 15 14:30:38 EST 2005


Hi,

I added this, and now I see the attributes as a result of
"gml_include_items" "all".

However, the truncation and seg faults as per below still occur.  Any
suggestions?  Note that this wasn't happenning a few weeks or so ago.  I
tested with CVS from 20050213 and had no problems running the tests
below.

..Tom


> -----Original Message-----
> From: bartvde at xs4all.nl [mailto:bartvde at xs4all.nl] 
> Sent: Tuesday, 15 March, 2005 03:51
> To: Kralidis,Tom [Burlington]
> Cc: mapserver-dev at lists.umn.edu
> Subject: Re: [UMN_MAPSERVER-DEV] WFS server very wierd behaviour
> 
> 
> Tom,
> 
> I can't explain your segfault.
> 
> But the fact that you don't get the attributes was discussed 
> last week, you need to add new metadata:
> 
> gml_include_items "all"
> 
> See also:
> 
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=950
> 
> Best regards,
> Bart
> 
> > 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/mapse
> > rv
> > 
> /services/ecows/config.map&service=WFS&version=1.0.0&request=G
> etFeature&
> > 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