Hi Peter
I have upgraded my test harness to MapSuiteCore 9.0.0.265 to test this defect. The results are that i have an exception when using a BBOX which is out of bounds of EPSG 4326.
The BBOX i am using is purposefully -180,-80,0,100. This causes a nullreference exception. Using a BBOX within the extends of EPSG 4326 does not result in an exception. Omitting the TileCache also does not result in an exception.
The code sample is the same as above in this thread.
The exception record is as follows. I can also supply a minidump if required. Let me know where i can copy the minidump to. The minidump is 300mb+.
0:032> !analyze -v
*** WARNING: Unable to verify checksum for mscorlib.ni.dll
CoInitialize failed 80010106
GetUrlPageData2 (WinHttp) failed: 12002.
FAULTING_IP:
KERNELBASE!RaiseException+58
76adc42d c9 leave
EXCEPTION_RECORD: ffffffff – (.exr 0xffffffffffffffff)
ExceptionAddress: 76adc42d (KERNELBASE!RaiseException+0x00000058)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 00000000
Attempt to read from address 00000000
DEFAULT_BUCKET_ID: WRONG_SYMBOLS
PROCESS_NAME: w3wp.exe
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
EXCEPTION_PARAMETER1: 00000000
EXCEPTION_PARAMETER2: 00000000
READ_ADDRESS: 00000000
FOLLOWUP_IP:
KERNELBASE!RaiseException+58
76adc42d c9 leave
NTGLOBALFLAG: 0
APPLICATION_VERIFIER_FLAGS: 0
APP: w3wp.exe
MANAGED_STACK:
SP IP Function
113AE798 0FFB639C UNKNOWN!ohM=.BRQ=.ERQ=(System.Collections.ObjectModel.Collection`1<ThinkGeo.MapSuite.Core.Tile>, ThinkGeo.MapSuite.Core.RectangleShape, ThinkGeo.MapSuite.Core.RectangleShape, System.Drawing.Bitmap, Int32, Int32)+0x19c
113AE7F8 0FFB2F19 UNKNOWN!ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin.GetMapCore(ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest, ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration, System.Web.HttpContext)+0x561
113AE924 0FFB2798 UNKNOWN!MapPlugin.Implementation.MultiGeoRasterWmsLayerPlugin.GetTile(ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest, ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration, System.Web.HttpContext)+0x28
StackTraceString:
HResult: 80004003
EXCEPTION_OBJECT: !pe 26da064
Exception object: 026da064
Exception type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
InnerException:
StackTrace (generated):
SP IP Function
113AE798 0FFB639C UNKNOWN!ohM=.BRQ=.ERQ=(System.Collections.ObjectModel.Collection`1<ThinkGeo.MapSuite.Core.Tile>, ThinkGeo.MapSuite.Core.RectangleShape, ThinkGeo.MapSuite.Core.RectangleShape, System.Drawing.Bitmap, Int32, Int32)+0x19c
113AE7F8 0FFB2F19 UNKNOWN!ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin.GetMapCore(ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest, ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration, System.Web.HttpContext)+0x561
113AE924 0FFB2798 UNKNOWN!MapPlugin.Implementation.MultiGeoRasterWmsLayerPlugin.GetTile(ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest, ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration, System.Web.HttpContext)+0x28
StackTraceString:
HResult: 80004003
MANAGED_OBJECT: !dumpobj 22273f0
Name: System.String
MethodTable: 73d3224c
EEClass: 73963444
Size: 120(0x78) bytes
File: C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll
String: Object reference not set to an instance of an object.
Fields:
MT Field Offset Type VT Attr Value Name
73d33aa8 40000aa 4 System.Int32 1 instance 53 m_stringLength
73d32c44 40000ab 8 System.Char 1 instance 4f m_firstChar
73d3224c 40000ac c System.String 0 shared static Empty
>> Domain:Value 012977d8:NotInit 0e8babb8:NotInit <<
EXCEPTION_MESSAGE: Object reference not set to an instance of an object.
MANAGED_OBJECT_NAME: SYSTEM.NULLREFERENCEEXCEPTION
MANAGED_STACK_COMMAND: !pe 26da064
LAST_CONTROL_TRANSFER: from 74c72a42 to 76adc42d
PRIMARY_PROBLEM_CLASS: WRONG_SYMBOLS
BUGCHECK_STR: APPLICATION_FAULT_WRONG_SYMBOLS
STACK_TEXT:
113ae798 00000000 unknown.dll!ohM=.BRQ=.ERQ=+0x19c
113ae7f8 00000000 unknown.dll!ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin.GetMapCore+0x561
113ae924 00000000 unknown.dll!MapPlugin.Implementation.MultiGeoRasterWmsLayerPlugin.GetTile+0x28
SYMBOL_STACK_INDEX: 0
SYMBOL_NAME: unknown.dll!ohM=.BRQ=.ERQ=
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: unknown
IMAGE_NAME: unknown.dll
DEBUG_FLR_IMAGE_TIMESTAMP: 0
STACK_COMMAND: !pe 26da064
; ** Pseudo Context ** ; kb
FAILURE_BUCKET_ID: WRONG_SYMBOLS_c0000005_unknown.dll!ohM=.BRQ=.ERQ=
BUCKET_ID: APPLICATION_FAULT_WRONG_SYMBOLS_unknown.dll!ohM=.BRQ=.ERQ=
WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/w3wp_exe/7_5_7601_17514/4ce7a5f8/KERNELBASE_dll/6_1_7601_18798/5507b485/c0000005/0000c42d.htm?Retriage=1
Followup: MachineOwner
I am unable to proceed further as the MapsuiteCore assemblies are obfuscated so i am unable to find a line number for the exception in windbg.