Opened 16 years ago

Closed 16 years ago

#2686 closed defect (fixed)

GetCapabilities WFS 1.1.0 crashes

Reported by: tomkralidis Owned by: dmorissette
Priority: high Milestone: 5.2 release
Component: WFS Server Version: svn-trunk (development)
Severity: critical Keywords:
Cc: assefa, nsavard, bartvde

Description

[devgeo:/home/tkralidi/foss4g/mapserver/trunk/msautotest/wxs]$ ../../mapserver/mapserv QUERY_STRING="map=wfs_simple.map&service=WFS&version=1.1.0&request=GetCapabilities"Content-type: text/xml
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<wfs:WFS_Capabilities xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ogc="http://www.opengis.net/ogc" xmlns="http://www.opengis.net/wfs" version="1.1.0" updateSequence="123" xsi:schemaLocation="http://www.opengis.net/wfs http://ogc.dmsolutions.ca/wfs/1.1.0/wfs.xsd">
  <ows:ServiceIdentification>
    <ows:Title/>
    <!--WARNING: Optional metadata "ows_title" missing for ows:Title-->
    <ows:Abstract/>
    <!--WARNING: Optional metadata "ows_abstract" was missing for ows:Abstract-->
    <!--WARNING: Optional metadata "ows_keywordlist" was missing for ows:KeywordList-->
    <ows:ServiceType codeSpace="OGC">OGC WFS</ows:ServiceType>
    <ows:ServiceTypeVersion>1.1.0</ows:ServiceTypeVersion>
    <ows:Fees/>
    <!--WARNING: Optional metadata "ows_fees" was missing for ows:Fees-->
    <ows:AccessConstraints/>
    <!--WARNING: Optional metadata "ows_accessconstraints" was missing for ows:AccessConstraints-->
  </ows:ServiceIdentification>
  <ows:ServiceProvider>
    <ows:ProviderName/>
    <!--WARNING: Mandatory metadata "ows_contactorganization" was missing for ows:ProviderName-->
    <ows:ProviderSite xlink:type="simple" xlink:href=""/>
    <!--WARNING: Optional metadata "ows_service_onlineresource" was missing for ows:ProviderSite/@xlink:href-->
    <ows:ServiceContact>
      <ows:IndividualName/>
      <!--WARNING: Optional metadata "ows_contactperson" was missing for ows:IndividualName-->
      <ows:PositionName/>
      <!--WARNING: Optional metadata "ows_contactposition" was missing for ows:PositionName-->
      <ows:ContactInfo>
        <ows:Phone>
          <ows:Voice/>
          <!--WARNING: Optional metadata "ows_contactvoicetelephone" was missing for ows:Voice-->
          <ows:Facsimile/>
          <!--WARNING: Optional metadata "ows_contactfacsimiletelephone" was missing for ows:Facsimile-->
        </ows:Phone>
        <ows:Address>
          <ows:DeliveryPoint/>
          <!--WARNING: Optional metadata "ows_address" was missing for ows:DeliveryPoint-->
          <ows:City/>
          <!--WARNING: Optional metadata "ows_city" was missing for ows:City-->
          <ows:AdministrativeArea/>
          <!--WARNING: Optional metadata "ows_stateorprovince" was missing for ows:AdministrativeArea-->
          <ows:PostalCode/>
          <!--WARNING: Optional metadata "ows_postcode" was missing for ows:PostalCode-->
          <ows:Country/>
          <!--WARNING: Optional metadata "ows_country" was missing for ows:Country-->
          <ows:ElectronicMailAddress/>
          <!--WARNING: Optional metadata "ows_contactelectronicmailaddress" was missing for ows:ElectronicMailAddress-->
        </ows:Address>
        <ows:OnlineResource xlink:type="simple" xlink:href=""/>
        <!--WARNING: Optional metadata "ows_service_onlineresource" was missing for ows:OnlineResource/@xlink:href-->
        <ows:HoursOfService/>
        <!--WARNING: Optional metadata "ows_hoursofservice" was missing for ows:HoursOfService-->
        <ows:ContactInstructions/>
        <!--WARNING: Optional metadata "ows_contactinstructions" was missing for ows:ContactInstructions-->
      </ows:ContactInfo>
      <ows:Role/>
      <!--WARNING: Optional metadata "ows_role" was missing for ows:Role-->
    </ows:ServiceContact>
  </ows:ServiceProvider>
  <ows:OperationsMetadata>
    <ows:Operation name="GetCapabilities">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wfs_simple?"/>
          <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wfs_simple?"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="service">
        <ows:Value>WFS</ows:Value>
      </ows:Parameter>
      <ows:Parameter name="AcceptVersions">
        <ows:Value>1.0.0</ows:Value>
        <ows:Value> 1.1.0</ows:Value>
      </ows:Parameter>
      <ows:Parameter name="AcceptFormats">
        <ows:Value>text/xml</ows:Value>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="DescribeFeatureType">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wfs_simple?"/>
          <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wfs_simple?"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="outputFormat">
        <ows:Value>XMLSCHEMA</ows:Value>
        <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
        <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="GetFeature">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:type="simple" xlink:href="http://localhost/path/to/wfs_simple?"/>
          <ows:Post xlink:type="simple" xlink:href="http://localhost/path/to/wfs_simple?"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="resultType">
        <ows:Value>results</ows:Value>
      </ows:Parameter>
      <ows:Parameter name="outputFormat">
        <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
      </ows:Parameter>
    </ows:Operation>
  </ows:OperationsMetadata>
  <FeatureTypeList>
    <Operations>
      <Operation>Query</Operation>
    </Operations>
    <FeatureType>
      <Name>province</Name>
      <Title>province</Title>
      <DefaultSRS>EPSG:4326</DefaultSRS>
      <OutputFormats>
        <Format>text/xml; subtype=gml/3.1.1</Format>
      </OutputFormats>
      <ows:WGS84BoundingBox dimensions="2">
        <ows:LowerCorner>-66.7243290850981 41.7705076307844</ows:LowerCorner>
        <ows:UpperCorner>-57.7216802315741 48.4773138484946</ows:UpperCorner>
      </ows:WGS84BoundingBox>
    </FeatureType>
  </FeatureTypeList>
  <ogc:Filter_Capabilities>
    <ogc:Spatial_Capabilities>
      <ogc:GeometryOperands>
        <ogc:GeometryOperand>gml:Point</ogc:GeometryOperand>
        <ogc:GeometryOperand>gml:LineString</ogc:GeometryOperand>
        <ogc:GeometryOperand>gml:Polygon</ogc:GeometryOperand>
        <ogc:GeometryOperand>gml:Envelope</ogc:GeometryOperand>
      </ogc:GeometryOperands>
      <ogc:SpatialOperators>
        <ogc:SpatialOperator name="Equals"/>
        <ogc:SpatialOperator name="Disjoint"/>
        <ogc:SpatialOperator name="Touches"/>
        <ogc:SpatialOperator name="Within"/>
        <ogc:SpatialOperator name="Overlaps"/>
        <ogc:SpatialOperator name="Crosses"/>
        <ogc:SpatialOperator name="Intersects"/>
        <ogc:SpatialOperator name="Contains"/>
        <ogc:SpatialOperator name="DWithin"/>
        <ogc:SpatialOperator name="Beyond"/>
        <ogc:SpatialOperator name="BBOX"/>
      </ogc:SpatialOperators>
    </ogc:Spatial_Capabilities>
    <ogc:Scalar_Capabilities>
      <ogc:LogicalOperators/>
      <ogc:ComparisonOperators>
        <ogc:ComparisonOperator>LessThan</ogc:ComparisonOperator>
        <ogc:ComparisonOperator>GreaterThan</ogc:ComparisonOperator>
        <ogc:ComparisonOperator>LessThanEqualTo</ogc:ComparisonOperator>
        <ogc:ComparisonOperator>GreaterThanEqualTo</ogc:ComparisonOperator>
        <ogc:ComparisonOperator>EqualTo</ogc:ComparisonOperator>
        <ogc:ComparisonOperator>NotEqualTo</ogc:ComparisonOperator>
        <ogc:ComparisonOperator>Like</ogc:ComparisonOperator>
        <ogc:ComparisonOperator>Between</ogc:ComparisonOperator>
      </ogc:ComparisonOperators>
    </ogc:Scalar_Capabilities>
    <ogc:Id_Capabilities>
      <ogc:FID/>
    </ogc:Id_Capabilities>
  </ogc:Filter_Capabilities>
</wfs:WFS_Capabilities>
*** glibc detected *** ../../mapserver/mapserv: free(): invalid pointer: 0x098d9878 ***
======= Backtrace: =========
/lib/libc.so.6[0x649ddf1]
/lib/libc.so.6(cfree+0x90)[0x64a1430]
../../mapserver/mapserv[0x80ed8a8]
../../mapserver/mapserv[0x80f2017]
../../mapserver/mapserv[0x80ecd4e]
../../mapserver/mapserv[0x805688f]
/lib/libc.so.6(__libc_start_main+0xe0)[0x644bf70]
../../mapserver/mapserv[0x8052ee1]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0          [vdso]
00111000-00131000 r-xp 00000000 68:11 4194852    /usr/lib/libgd.so.2.0.0
00131000-00151000 rwxp 0001f000 68:11 4194852    /usr/lib/libgd.so.2.0.0
00151000-00155000 rwxp 00151000 00:00 0 
00155000-001b2000 r-xp 00000000 68:11 20250907   /usr/local/lib/libfreetype.so.6.3.10
001b2000-001b5000 rwxp 0005d000 68:11 20250907   /usr/local/lib/libfreetype.so.6.3.10
001b5000-001e6000 r-xp 00000000 68:11 4194421    /usr/lib/libagg.so.2.0.4
001e6000-001e9000 rwxp 00030000 68:11 4194421    /usr/lib/libagg.so.2.0.4
001e9000-001f9000 r-xp 00000000 68:11 4194423    /usr/lib/libaggfontfreetype.so.2.0.4
001f9000-001fa000 rwxp 0000f000 68:11 4194423    /usr/lib/libaggfontfreetype.so.2.0.4
001fa000-0022a000 r-xp 00000000 68:11 20250818   /usr/local/lib/libproj.so.0.5.4
0022a000-0022c000 rwxp 00030000 68:11 20250818   /usr/local/lib/libproj.so.0.5.4
0022c000-0024b000 r-xp 00000000 68:03 10977370   /lib/libexpat.so.0.5.0
0024b000-0024d000 rwxp 0001e000 68:03 10977370   /lib/libexpat.so.0.5.0
0024d000-00254000 r-xp 00000000 68:11 20250703   /usr/local/lib/libgif.so.4.1.4
00254000-00255000 rwxp 00006000 68:11 20250703   /usr/local/lib/libgif.so.4.1.4
00255000-0025c000 r-xp 00000000 68:03 10977382   /lib/librt-2.6.so
0025c000-0025d000 r-xp 00006000 68:03 10977382   /lib/librt-2.6.so
0025d000-0025e000 rwxp 00007000 68:03 10977382   /lib/librt-2.6.so
0025e000-0026d000 r-xp 00000000 68:11 20250850   /usr/local/lib/libgeos_c.so.1.4.1
0026d000-0026e000 rwxp 0000e000 68:11 20250850   /usr/local/lib/libgeos_c.so.1.4.1
0026e000-00270000 r-xp 00000000 68:03 10977395   /lib/libcom_err.so.2.1
00270000-00271000 rwxp 00001000 68:03 10977395   /lib/libcom_err.so.2.1
00273000-00294000 r-xp 00000000 68:11 4194700    /usr/lib/libjpeg.so.62.0.0
00294000-00295000 rwxp 00020000 68:11 4194700    /usr/lib/libjpeg.so.62.0.0
00295000-002fe000 r-xp 00000000 68:11 4194811    /usr/lib/libsqlite3.so.0.8.6
002fe000-00300000 rwxp 00068000 68:11 4194811    /usr/lib/libsqlite3.so.0.8.6
00300000-00340000 r-xp 00000000 68:11 4194384    /usr/lib/libcurl.so.4.0.0
00340000-00341000 rwxp 00040000 68:11 4194384    /usr/lib/libcurl.so.4.0.0
00341000-00346000 r-xp 00000000 68:03 10977393   /lib/libcrypt-2.6.so
00346000-00347000 r-xp 00004000 68:03 10977393   /lib/libcrypt-2.6.so
00347000-00348000 rwxp 00005000 68:03 10977393   /lib/libcrypt-2.6.so
00348000-0036f000 rwxp 00348000 00:00 0 
0036f000-00371000 r-xp 00000000 68:03 10977403   /lib/libkeyutils-1.2.so
00371000-00372000 rwxp 00001000 68:03 10977403   /lib/libkeyutils-1.2.so
00375000-00380000 r-xp 00000000 68:03 10977425   /lib/libgcc_s-4.1.2-20070925.so.1
00380000-00381000 rwxp 0000a000 68:03 10977425   /lib/libgcc_s-4.1.2-20070925.so.1
00383000-003a9000 r-xp 00000000 68:11 4194806    /usr/lib/libpng12.so.0.29.0
003a9000-003aa000 rwxp 00025000 68:11 4194806    /usr/lib/libpng12.so.0.29.0
003aa000-004c2000 r-xp 00000000 68:11 20250998   /usr/local/lib/libpdf.so.6.0.0
004c2000-004e9000 rwxp 00118000 68:11 20250998   /usr/local/lib/libpdf.so.6.0.0
004e9000-0060a000 r-xp 00000000 68:11 4358673    /usr/lib/mysql/libmysqlclient.so.15.0.0
0060a000-0064d000 rwxp 00120000 68:11 4358673    /usr/lib/mysql/libmysqlclient.so.15.0.0
0064d000-00662000 r-xp 00000000 68:03 10977398   /lib/libnsl-2.6.so
00662000-00663000 r-xp 00014000 68:03 10977398   /lib/libnsl-2.6.so
00663000-00664000 rwxp 00015000 68:03 10977398   /lib/libnsl-2.6.so
00664000-00666000 rwxp 00664000 00:00 0 
00666000-006a7000 r-xp 00000000 68:03 10977385   /lib/libssl.so.0.9.8b
006a7000-006ab000 rwxp 00040000 68:03 10977385   /lib/libssl.so.0.9.8b
006ab000-007c8000 r-xp 00000000 68:03 10977488   /lib/libcrypto.so.0.9.8b
007c8000-007da000 rwxp 0011d000 68:03 10977488   /lib/libcrypto.so.0.9.8b
007da000-007de000 rwxp 007da000 00:00 0 
007de000-0081f000 r-xp 00000000 68:11 20250716   /usr/local/lib/libming.so.0.3.0beta2
0081f000-00821000 rwxp 00041000 68:11 20250716   /usr/local/lib/libming.so.0.3.0beta2
00821000-00823000 rwxp 00821000 00:00 0 
00823000-0082a000 r-xp 00000000 68:11 4194461    /usr/lib/libkrb5support.so.0.1
0082a000-0082b000 rwxp 00006000 68:11 4194461    /usr/lib/libkrb5support.so.0.1
0082b000-00846000 r-xp 00000000 68:03 10977317   /lib/ld-2.6.so
00846000-00847000 r-xp 0001a000 68:03 10977317   /lib/ld-2.6.so
00847000-00848000 rwxp 0001b000 68:03 10977317   /lib/ld-2.6.so
00848000-00976000 r-xp 00000000 68:11 4194472    /usr/lib/libxml2.so.2.6.31
00976000-0097b000 rwxp 0012e000 68:11 4194472    /usr/lib/libxml2.so.2.6.31
0097b000-0097c000 rwxp 0097b000 00:00 0 
0097c000-00984000 r-xp 00000000 68:11 4194779    /usr/lib/libSM.so.6.0.0
00984000-00985000 rwxp 00007000 68:11 4194779    /usr/lib/libSM.so.6.0.0
00985000-0099c000 r-xp 00000000 68:11 4194324    /usr/lib/libICE.so.6.3.0
0099c000-0099d000 rwxp 00016000 68:11 4194324    /usr/lib/libICE.so.6.3.0
0099d000-0099f000 rwxp 0099d000 00:00 0 
009a0000-009c7000 r-xp 00000000 68:03 10977367   /lib/libm-2.6.so
009c7000-009c8000 r-xp 00026000 68:03 10977367   /lib/libm-2.6.so
009c8000-009c9000 rwxp 00027000 68:03 10977367   /lib/libm-2.6.so
009cb000-009ce000 r-xp 00000000 68:03 10977321   /lib/libdl-2.6.so
009ce000-009cf000 r-xp 00002000 68:03 10977321   /lib/libdl-2.6.so
009cf000-009d0000 rwxp 00003000 68:03 10977321   /lib/libdl-2.6.so
009d2000-009e6000 r-xp 00000000 68:03 10977377   /lib/libpthread-2.6.so
009e6000-009e7000 r-xp 00013000 68:03 10977377   /lib/libpthread-2.6.so
009e7000-009e8000 rwxp 00014000 68:03 10977377   /lib/libpthread-2.6.so
009e8000-009ea000 rwxp 009e8000 00:00 0 
009ea000-009fa000 r-xp 00000000 68:03 10977374   /lib/libresolv-2.6.so
009fa000-009fb000 r-xp 0000f000 68:03 10977374   /lib/libresolv-2.6.so
009fb000-009fc000 rwxp 00010000 68:03 10977374   /lib/libresolv-2.6.so
009fc000-009fe000 rwxp 009fc000 00:00 0 
009ff000-00a11000 r-xp 00000000 68:03 10977364   /lib/libz.so.1.2.3
00a11000-00a12000 rwxp 00011000 68:03 10977364   /lib/libz.so.1.2.3
00a14000-00a33000 r-xp 00000000 68:11 4195037    /usr/lib/libpq.so.5.0
00a33000-00a34000 rwxp 0001e000 68:11 4195037    /usr/lib/libpq.so.5.0
00a34000-00a5b000 r-xp 00000000 68:11 4196927    /usr/lib/libfontconfig.so.1.2.0
00a5b000-00a63000 rwxp 00027000 68:11 4196927    /usr/lib/libfontconfig.so.1.2.0
00a76000-00b74000 r-xp 00000000 68:11 4194686    /usr/lib/libX11.so.6.2.0
00b74000-00b78000 rwxp 000fe000 68:11 4194686    /usr/lib/libX11.so.6.2.0
00b7a000-00b7f000 r-xp 00000000 68:11 4194685    /usr/lib/libXdmcp.so.6.0.0
00b7f000-00b80000 rwxp 00004000 68:11 4194685    /usr/lib/libXdmcp.so.6.0.0
00b82000-00b84000 r-xp 00000000 68:11 4194684    /usr/lib/libXau.so.6.0.0
00b84000-00b85000 rwxp 00001000 68:11 4194684    /usr/lib/libXau.so.6.0.0
00b9f000-00baf000 r-xp 00000000 68:11 4194737    /usr/lib/libXpm.so.4.11.0
00baf000-00bb0000 rwxp 00010000 68:11 4194737    /usr/lib/libXpm.so.4.11.0
00bb0000-01197000 r-xp 00000000 68:11 20250700   /usr/local/lib/libgdal.so.1.12.0
01197000-01218000 rwxp 005e6000 68:11 20250700   /usr/local/lib/libgdal.so.1.12.0
01218000-0121c000 rwxp 01218000 00:00 0 
0121c000-01249000 r-xp 00000000 68:11 4194744    /usr/lib/libgssapi_krb5.so.2.2
01249000-0124a000 rwxp 0002d000 68:11 4194744    /usr/lib/libgssapi_krb5.so.2.2
0124a000-0126c000 r-xp 00000000 68:11 20251076   /usr/local/lib/libpng.so.3.16.0
0126c000-0126d000 rwxp 00022000 68:11 20251076   /usr/local/lib/libpng.so.3.16.0
03b25000-03bb5000 r-xp 00000000 68:11 4194360    /usr/lib/libkrb5.so.3.3
03bb5000-03bb8000 rwxp 0008f000 68:11 4194360    /usr/lib/libkrb5.so.3.3
04a6f000-04a94000 r-xp 00000000 68:11 4194754    /usr/lib/libk5crypto.so.3.1
04a94000-04a95000 rwxp 00025000 68:11 4194754    /usr/lib/libk5crypto.so.3.1
04ad2000-04b02000 r-xp 00000000 68:11 4194726    /usr/lib/libidn.so.11.5.22
04b02000-04b03000 rwxp 0002f000 68:11 4194726    /usr/lib/libidn.so.11.5.22
0542c000-05562000 r-xp 00000000 68:11 20250847   /usr/local/lib/libgeos-3.0.0.so
05562000-05567000 rwxp 00135000 68:11 20250847   /usr/local/lib/libgeos-3.0.0.so
062fb000-063db000 r-xp 00000000 68:11 4194358    /usr/lib/libstdc++.so.6.0.8
063db000-063de000 r-xp 000e0000 68:11 4194358    /usr/lib/libstdc++.so.6.0.8
063de000-063e0000 rwxp 000e3000 68:11 4194358    /usr/lib/libstdc++.so.6.0.8
063e0000-063e6000 rwxp 063e0000 00:00 0 
06436000-06584000 r-xp 00000000 68:03 10977319   /lib/libc-2.6.so
06584000-06586000 r-xp 0014e000 68:03 10977319   /lib/libc-2.6.so
06586000-06587000 rwxp 00150000 68:03 10977319   /lib/libc-2.6.so
06587000-0658a000 rwxp 06587000 00:00 0 
06f37000-072fc000 r-xp 00000000 68:11 4194953    /usr/lib/libxerces-c.so.27.0
072fc000-0732f000 rwxp 003c4000 68:11 4194953    /usr/lib/libxerces-c.so.27.0
08048000-08189000 r-xp 00000000 68:05 2621600    /home/tkralidi/foss4g/mapserver/trunk/mapserver/mapserv
08189000-0818d000 rw-p 00140000 68:05 2621600    /home/tkralidi/foss4g/mapserver/trunk/mapserver/mapserv
0818d000-0818e000 rw-p 0818d000 00:00 0 
098c2000-09901000 rw-p 098c2000 00:00 0 
b7e00000-b7e21000 rw-p b7e00000 00:00 0 
b7e21000-b7f00000 ---p b7e21000 00:00 0 
b7fb5000-b7fc1000 rw-p b7fb5000 00:00 0 
b7fcc000-b7fcd000 rw-p b7fcc000 00:00 0 
bf9a8000-bf9bd000 rw-p bffea000 00:00 0          [stack]
Aborted
 
gdb bt:
 
0x00110402 in __kernel_vsyscall ()
(gdb) bt
#0  0x00110402 in __kernel_vsyscall ()
#1  0x0666cfa0 in raise () from /lib/libc.so.6
#2  0x0666e8b1 in abort () from /lib/libc.so.6
#3  0x066a3d6b in __libc_message () from /lib/libc.so.6
#4  0x066abdf1 in _int_free () from /lib/libc.so.6
#5  0x066af430 in free () from /lib/libc.so.6
#6  0x080ed8a8 in msWFSFreeParamsObj (wfsparams=0x9b14450) at mapwfs.c:1845
#7  0x080f2017 in msWFSDispatch (map=0x9b041d0, requestobj=0x9b03d48) at mapwfs.c:1804
#8  0x080ecd4e in msOWSDispatch (map=0x9b041d0, request=0x9b03d48, force_ows_mode=0) at mapows.c:80
#9  0x0805688f in main (argc=2, argv=0xbf8e1814) at mapserv.c:1253

Change History (11)

comment:1 by dmorissette, 16 years ago

Owner: changed from mapserverbugs to dmorissette
Status: newassigned
Summary: GetCapabilities 1.1.0 crashesGetCapabilities WFS 1.1.0 crashes

I'm able to reproduce this here. Will take care of it.

comment:2 by tomkralidis, 16 years ago

Cc: nsavard added

P.S. once Assefa commits, I will add some msautotest's in msautotest/wxs/wfs_simple.map

comment:3 by assefa, 16 years ago

committed in r7791.

comment:4 by tomkralidis, 16 years ago

Works. Thanks for the quick fix Assefa! Will have msautotest adds tonight...

comment:5 by assefa, 16 years ago

Cc: bartvde added

Thx.

CCing Bart to see if this fixes the bug he reported this moring.

comment:6 by dmorissette, 16 years ago

I have fixed a leak of an unused xmlNsPtr object in r7792.

Valgrind reports another leak of xmlNsPtr that Assefa is looking into:

==8572==    at 0x4022765: malloc (vg_replace_malloc.c:149)
==8572==    by 0x4EED0AB: xmlNewNs (tree.c:712)
==8572==    by 0x80ED68F: msWFSGetCapabilities11 (mapwfs11.c:381)
==8572==    by 0x80E997C: msWFSGetCapabilities (mapwfs.c:324)
==8572==    by 0x80EC7CE: msWFSDispatch (mapwfs.c:1751)
==8572==    by 0x80E7410: msOWSDispatch (mapows.c:80)
==8572==    by 0x8055C1E: main (mapserv.c:1253)

comment:7 by nsavard, 16 years ago

RE comment:4

Tom: I'll run the WFS 1.1.0 CITE test to check is there are other problems.

comment:8 by assefa, 16 years ago

Norm,

we can not unfortunately use the wfs 1.1.0 cite test. Remember the discussion we had were wfs 1.1 cite tests require servers to support more that one geometry on a layer: that is still the case I think.

comment:9 by nsavard, 16 years ago

RE comment:8

Yewondwossen,

I understand but I had in mind to only check some of them, maybe the basic ones (getcapabilities, etc).

in reply to:  4 comment:10 by tomkralidis, 16 years ago

Replying to tomkralidis:

Works. Thanks for the quick fix Assefa! Will have msautotest adds tonight...

Added in r7797.

comment:11 by dmorissette, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.