I have set up GDB to trace mapserv.exe (MS4W 3)...and received a Segmentation fault with the plugin..
Starting program: E:\sw_nt\ms4w\Apache\cgi-bin\mapserv.exe "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=query&qformat=text/plain&mapxy=1186128 863840" [New Thread 2148.0x1798] Program received signal SIGSEGV, Segmentation fault. 0x03c43aab in ?? () from E:\sw_nt\ms4w\Apache\specialplugins\msplugin_sde_93.dll FOR SDE DRIVER MAPSERVER build.. (CONNECTION TYPE is SDE) Mapserver 5.2 works... Starting program: E:\sw_nt\mapserver\mapserv.exe "QUERY_STRING=map=e:/sw_nt/mapf iles/base2.map&LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&REQ UEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/j peg&SRS=EPSG:3005&BBOX=1136822.19419924,815982.719048714,1186128.62547289,863840 .736184577&X=250&Y=250&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICAL_ POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" *[New Thread 2168.0x1a60] [New Thread 2168.0x218]* *with Two threads...* Content-type: text/plain GetFeatureInfo results: Layer 'DBM_7H_MIL_POLITICAL_POLY_BC' Feature 97: STATUS = 'Province' NAME = 'British Columbia' ENGLISH_NAME = 'British Columbia' FRENCH_NAME = 'Colombia-Britannique' REGION_CODE = '59' POLYGON_FEATURE = '0' ISLAND = '' ISLAND_ENGLISH_NAME = '' ISLAND_FRENCH_NAME = '' NATION_ENGLISH_NAME = 'Canada' NATION_FRENCH_NAME = 'Canada' GEOMETRY = '<shape>' OBJECTID = '97' Program exited normally. With Mapserver 6.. no features are returned for same layer.. (gdb) target exec E:\sw_nt\mapserver6\mapserv.exe <_POLITICAL_POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" Starting program: E:\sw_nt\mapserver6\mapserv.exe "QUERY_STRING=map=e:/sw_nt/map files6/base2.map&LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&R EQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image /jpeg&SRS=EPSG:3005&BBOX=1136822.19419924,815982.719048714,1186128.62547289,8638 40.736184577&X=250&Y=250&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICA L_POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" *[New Thread 6300.0x6b4]* *- with one thread* Content-type: text/plain GetFeatureInfo results: Search returned no results. Program exited normally. This is the mapfile declaration for each the layer..for both Mapserver 5.2 and 6.0 LAYER STATUS DEFAULT NAME 'DBM_7H_MIL_POLITICAL_POLY_BC' CONNECTIONTYPE sde CONNECTION 'server,port:5152,sde,username,password' DATA 'WHSE_BASEMAPPING.DBM_BC_7H_MIL_POLITICAL_POLY,GEOMETRY' LABELITEM 'NAME' CLASSITEM ENGLISH_NAME CLASS NAME 'British Columbia' EXPRESSION ('[ENGLISH_NAME]' eq 'British Columbia') STYLE COLOR 255 190 190 OUTLINECOLOR 0 0 0 END #end style LABEL COLOR 168 0 0 FONT arial TYPE truetype SIZE 8 POSITION cc PARTIALS FALSE BUFFER 1 #BACKGROUNDCOLOR 254 254 254 MINDISTANCE 300 END #end label END #end class TYPE polygon LABELMINSCALEDENOM 5000001 MINSCALEDENOM 2000001 # MAXSCALEDENOM 35000000 # STATUS ON PROJECTION "init=epsg:3005" END METADATA wms_title "British Columbia" wms_metadataurl_format "html" wms_metadataurl_href "http://metadata" wms_metadataurl_type "TC211" wfs_title "British Columbia" gml_geometries "geom" gml_geom_type "polygon" wms_include_items "all" gml_include_items "all" gml_exclude_items "GEOMETRY,OBJECTID" END #metadata PROCESSING "CLOSE_CONNECTION=DEFER" PROCESSING "LABEL_NO_CLIP=on" DUMP TRUE # Used to enable GetFeatureInfo TEMPLATE "foo.html" OPACITY 20 END #end layer -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6604735.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users