[mapguide-trac] #174: Race condition on successive feature readers
MapGuide Open Source
trac_mapguide at osgeo.org
Sat May 26 09:04:40 EDT 2007
#174: Race condition on successive feature readers
------------------------------------+---------------------------------------
Reporter: ksgeograf | Owner:
Type: defect | Status: new
Priority: medium | Milestone: 1.2
Component: Server | Version: 1.2.0
Severity: major | Resolution:
Keywords: MgFeatureReader C# API | External_id:
------------------------------------+---------------------------------------
Comment (by ksgeograf):
Yes, I am. Both rd.Close() and rd.Dispose().
The problem persists, even if I don't close the reader.
If I remove the rd.ReadNext(), the problem goes away.
If I remove the code to read feature attributes, the problem persists.
So, the open, read, open sequence seems to cause the server crash.
I found the following in the log:
{{{
<2007-05-26T14:55:22> Administrator
Error: Invalid argument(s):
[1] = "222959432"
The feature reader ID was not found.
StackTrace:
- MgFeatureServiceHandler.ProcessOperation line 83 file
c:\build_bond_area\mapguide_open_source_v1.2\build_13.7\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
- MgOpGetFeatures.Execute line 102 file
c:\build_bond_area\mapguide_open_source_v1.2\build_13.7\mgdev\server\src\services\feature\OpGetFeatures.cpp
- MgServerFeatureService.GetFeatures line 841 file
c:\build_bond_area\mapguide_open_source_v1.2\build_13.7\mgdev\server\src\services\feature\ServerFeatureService.cpp
Invalid argument(s):
[1] = "222959432"
The feature reader ID was not found.
}}}
I should have checked there before I posted the error, I appologize.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/174#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list