laptop and a wrench

漏洞

ArcMap crashes after successfully returning a call to ISchematicLayer.SchematicInMemoryDiagram.

上次发布: August 25, 2018 ArcObjects SDK
漏洞 ID 编号 BUG-000116318
已提交August 23, 2018
上次修改时间April 9, 2025
适用范围ArcObjects SDK
找到的版本10.6.1
操作系统Windows OS
操作系统版本7.0 64 Bit
状态Known Limit

附加信息

Wrong pattern used in the code. Please see the article below: https://support.esri.com/en/technical-article/000018520 Pattern to follow: public void Execute(ISchematicLayer schematicLayer, ITrackCancel CancelTracker) { if (schematicLayer == null) return; // Before Execute part ISchematicInMemoryDiagram inMemoryDiagram; inMemoryDiagram = schematicLayer.SchematicInMemoryDiagram; // Core algorithm InternalExecute(schematicLayer, inMemoryDiagram, CancelTracker); // Release the COM objects if (inMemoryDiagram != null) while (System.Runtime.InteropServices.Marshal.ReleaseComObject(inMemoryDiagram) > 0) { } while (System.Runtime.InteropServices.Marshal.ReleaseComObject(schematicLayer) > 0) { } }

重现步骤

漏洞 ID: BUG-000116318

软件:

  • ArcObjects SDK

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项