laptop and a wrench

不具合

Select does not return in ArcObjects Visual C++ Console app in the IFeatureClass interface.

最後に公開された状態: July 1, 2019 ArcGIS for Desktop
不具合 ID 番号 BUG-000122766
送信されましたMay 31, 2019
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.2.1
ステータスWill Not Be Addressed

参考情報

The users code has a flaw in it, when exactly one geometry is returned (for example, no union). They are using a geometry from a recycling cursor after the cursor has been freed. The geometry’s memory is free, and in their code, some of the free memory is used in a way that causes the geometry’s spatial indexed to exhaust memory. In other cases, the freed memory is not manipulated in a way that causes the spatial index to react as it does in this case. This gives the distinctive “only in this application” behavior (although other memory configurations could yield other bad results).

対処法

The solution is to either use a non-recycling cursor, call get_ShapeCopy, or clone the shape in the case that they never union geometries. The non-recycling cursors causes the application to overall use more memory, same with get_shapeCopy. However the third option has the least impact to their existing code. To clone the shape in the case they detect that the union is not required, avoids the flaw in the coding pattern.

再現の手順

不具合 ID: BUG-000122766

ソフトウェア:

  • ArcGIS for Desktop

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動