[fdo][FDO309][New] Segv in Spatial Context Reader when SDF file contains non-fe...

Brent Robinson brent.robinson at autodesk.com
Wed Nov 29 09:32:37 EST 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO309

Type
 Defect

Artifact ID
 FDO309 (Segv in Spatial Context Reader when SDF file contains non-feature class.)

Reported by
 Brent Robinson
 brentrobinson (brent.robinson at autodesk.com)

New artifact details:
---------------------------------------------------------

- Description set to new value
  Calling the FdoISpatialContextReader::GetDataExtents() function causes a segmentation violation when the SDF file contains a non-feature class. 
- Steps to Reproduce set to new value
  - create an SDF file and connect to it
- Add a non-feature class to it
- Do the following:

  FdoPtr<FdoIGetSpatialContexts> gscCmd =     
    (FdoIGetSpatialContexts *)
    connection->CreateCommand(    
    FdoCommandType_GetSpatialContexts );

  FdoPtr<FdoISpatialContextReader> reader = 
     gscCmd->Execute();

  while ( reader->ReadNext() )
  {
    reader->GetExtent();
  }

The above will generate a segv.

- Artifact created
- Summary set to new value
  Segv in Spatial Context Reader when SDF file contains non-feature class.
- Artifact Status set to new value
  New

---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list