Endless Loop Opening Shapefile?

Steve Lime steve.lime at DNR.STATE.MN.US
Tue Nov 15 09:13:36 PST 2005


Where was the index file built? On the same platform? Any chance
the shapefile could have changed since the index file was written?
Have you tried re-building the index?

Steve

>>> Mark Alexander <mark at GOISC.COM> 11/15/05 5:11 AM >>>
I am using mapscript for C#.  It appears to be deadlocking or getting into
a loop around the call to msSHPDiskTreeOpen.  Anyone had that experience?
IF so, how did you deal with it?  See call stack below:

ChildEBP RetAddr  Args to Child

0c36df10 7c83413e 00e10608 00000000 00000002 ntdll!
RtlEnterCriticalSection+0x1d

0c36e0dc 7c3527e9 00e10000 00000000 0d6e5ff8 ntdll!RtlReAllocateHeap+0x2a1

0c36e134 0c45ee01 0d6e5ff8 00000002 0c36e180 msvcr71!realloc+0x2ea

0c36e144 0c45e57c 0d6e5ff8 00000002 0c36e19c libmap!msSearchDiskTree+0x31

0c36e180 0c45deea 7c3416b8 00000103 ffffffff libmap!msSHPDiskTreeOpen+0x2cc

0c36e1b0 0c471410 0c36f3a0 00000000 0c36e6fc libmap!msyyerror+0x43a

0c36e9ec 0c4711eb 0c36f284 00000000 0c36f284 libmap!msLoadMapString+0xc0

0c36ea00 0c3f9e44 0c36f284 00000000 0c36f278 libmap!loadOutputFormat+0x4bb

0c36ea10 0c3f9cc6 0c36f284 79b937d0 0c36f650 mapscript!
CSharp_mapObj_getLayerByName+0x94

0c36f278 01aabe2e 0c36f284 495c3a43 7074656e mapscript!
CSharp_mapObj_getLayer+0xc6



More information about the MapServer-users mailing list