[mapserver-users] MSVCR fault when using OGR and OCI datasources ?

Nicolas BOUTET nicolas.boutet at geosys.com
Thu Sep 1 05:56:54 EDT 2011


Hello,

 

Using the 6.0.1 version of MapServer and the 1.8.1 version of GDAL (using
Tamas Szekeres binaries
<http://vbkto.dyndns.org/sdk/PackageInfo.aspx?file=release-1400-x64-gdal-1-8
-1-mapserver-6-0-1.zip> ), I got and error when I try to request a WFS
layer. This layer get data from an Oracle Database using OGR and OCI.

The same layer works well when I use MapServer 5.6 and GDAL 1.7. WMS layers
work well, and WFS GetCapabilities requests are working well also.

 

Here is the Windows event registered when the GetFeature request is sent :

 

The Window Event:

Faulting application name: mapserv.exe, version: 0.0.0.0, time stamp:
0x4e208c15

Faulting module name: MSVCR80.dll, version: 8.0.50727.4927, time stamp:
0x4a27427d

Exception code: 0xc0000005

Fault offset: 0x000000000001e272

Faulting process id: 0xabc

Faulting application start time: 0x01cc687fe11d27a6

Faulting application path: D:\wwwRoot\MapServer6\cgi-bin\mapserv.exe

Faulting module path:
C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_n
one_88dce9872fb18caf\MSVCR80.dll

Report Id: 1efbc4e2-d473-11e0-9fc6-005056991513

 

Here are some part of the MapFile (the definition of the WFS layers is in a
separate file) :

 

MAP

                CONFIG                                  PROJ_LIB
"D:/MapServerProj/nad/"

                CONFIG                                  GDAL_DRIVER_PATH
"D:/gdalplugins1.8/"

                CONFIG                                  "MS_ERRORFILE"
"D:/MapServerMaps/Errors_MapAgriQuest6.txt"

                DEBUG                                   5

                ..

                WEB

                               IMAGEPATH
"D:/wwwroot/MapServer6/temp/"

                               IMAGEURL             "/temp/"

                               METADATA

                                               "ows_enable_request" "*"

                                               ..

                               END

                END

                ..

                INCLUDE "MapAgriQuest_Blocks.map"

..

END # Map

 

Here is the definition of the layer:

 

                LAYER

                               NAME "LOCALIZED_BLOCKS"

                               METADATA

                                               "ows_title"
"LOCALIZED_BLOCKS"

                                               ..

                               END

                               VALIDATION

                                               idUser
'^[0-9]{1,6}$'                         # %idUser% must be numeric and
between 1 and 6 characters

                                               idLanguage
'^[0-9]{1,2}$'                          # %idLanguage% must be numeric and
between 1 and 2 characters

                               END         

                               TYPE POLYGON

CONNECTIONTYPE              OGR

CONNECTION                      "OCI:****/****@****"

                               DATA "SELECT ..

                                               FROM ..

                                               WHERE .."

                               STATUS                  ON

                               ...

                END

 

Best regards

 

Nicolas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110901/39d7b40f/attachment.html


More information about the mapserver-users mailing list