[mapserver-users] MapServer crash with WFS GetFeature request using multiple typenames
Dejan Gambin
dejan.gambin at coin.hr
Mon Nov 14 03:59:41 PST 2011
Anyway, seems like this ogrinfo error has nothing to do with mapserver crash. So the problem persists :-(
dejan
On 14. stu. 2011., at 11:49, Dejan Gambin wrote:
> Additional info:
>
> Everything works OK when data is in postgis. The problem is with data coming from shape file on which ogrinfo reports the following:
>
> dgambin at coin:/$ ogrinfo -so sportsko_rekreacijska_namjena.shp sportsko_rekreacijska_namjena
> ERROR 4: Unable to open sportsko_rekreacijska_namjena.shp or sportsko_rekreacijska_namjena.SHP.
> Had to open data source read-only.
> INFO: Open of `sportsko_rekreacijska_namjena.shp'
> using driver `ESRI Shapefile' successful.
>
> Layer name: sportsko_rekreacijska_namjena
> Geometry: Polygon
> Feature Count: 12
> Extent: (5401303.525844, 4978030.196207) - (5407353.143421, 4986100.367492)
> Layer SRS WKT:
> (unknown)
> ID: Integer (8.0)
> NAMJENA: String (30.0)
> POVRSINA: Real (16.2)
> OZNAKA: String (100.0)
>
>
>
> On 14. stu. 2011., at 10:35, Dejan Gambin wrote:
>
>> Hi,
>>
>> I have a serious issue usng MapServer WFS in making GetFeature request using multiple typenames. Here is the example post request:
>>
>> [Mon Nov 14 09:16:06 2011].666863 msWFSParseRequest(): WFS post request: <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" maxFeatures="10" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Query typeName="ms:ppu_sportska" srsName="EPSG:900913" xmlns:ms="http://www.openplans.org/topp"><ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913"><gml:lowerCorner>1533843.3519844 5619282.0492426</gml:lowerCorner><gml:upperCorner>1533938.8982697 5619377.595528</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query><wfs:Query typeName="ms:ppu_turisticka" srsName="EPSG:900913" xmlns:ms="http://www.openplans.org/topp"><ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913"><gml:lowerCorner>1533843.3519844 5619282.0492426</gml:lowerCorner><gml:upperCorner>1533938.8982697 5619377.595528</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>
>> [Mon Nov 14 09:16:06 2011].683317 msQueryByFilter(): Search returned no results. No matching record(s) found.
>>
>> It is using 2 typenames: "ms:ppu_sportska" and "ms:ppu_turisticka". Seems like no results were found but there are bunch of errors in apache log file, like:
>>
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] *** glibc detected *** /usr/lib/cgi-bin/mapserv61: double free or corruption (out): 0x0000000001a83d60 ***, referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] ======= Backtrace: =========, referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /lib/libc.so.6(+0x71ad6)[0x7f58d7c43ad6], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /lib/libc.so.6(cfree+0x6c)[0x7f58d7c4884c], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x4328c6], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x438719], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x455d2d], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x455b8c], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x4df5c4], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x4bf415], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61(msLayerApplyPlainFilterToLayer+0x23)[0x47a99c], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x4bf362], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x49ffe0], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x4a1c8e], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x495f17], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x4182b7], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /lib/libc.so.6(__libc_start_main+0xfd)[0x7f58d7bf0c4d], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mapserv61[0x413609], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] ======= Memory map: ========, referer: http://www.coin.hr/coingis/demo.html
>> ...bunch of library references
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] 7f58db7ca000-7f58db7cb000 r--p 0001d000 ca:01 1855039 /lib/ld-2.11.2.so, referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] 7f58db7cb000-7f58db7cc000 rw-p 0001e000 ca:01 1855039 /lib/ld-2.11.2.so, referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] 7f58db7cc000-7f58db7cd000 rw-p 00000000 00:00 0 , referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] 7fff70721000-7fff70736000 rw-p 00000000 00:00 0 [stack], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] 7fff70777000-7fff70778000 r-xp 00000000 00:00 0 [vdso], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall], referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] /usr/lib/cgi-bin/mywfs6: line 4: 3294 Aborted /usr/lib/cgi-bin/mapserv61, referer: http://www.coin.hr/coingis/demo.html
>> [Mon Nov 14 09:16:06 2011] [error] [client 83.131.213.54] Premature end of script headers: mywfs6, referer: http://www.coin.hr/coingis/demo.html
>>
>> Sometimes the error was starting with:
>>
>> [Mon Nov 14 08:25:06 2011] [error] [client 83.131.213.54] *** glibc detected *** /usr/lib/cgi-bin/mapserv61: munmap_chunk(): invalid pointer: 0x000000000273ca80 ***, referer: http://www.coin.hr/coingis/demo.html
>>
>> NOTE: Making individual requests to those typenames works OK
>>
>> I would appreciate any help since I am pretty stucked with this. Should I report it as a bug?
>>
>> Thanks very much
>>
>> regards, dejan
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list