laptop and a wrench

Bug

A crash occurs when calling a geoprocessing model tool in the ArcGIS Maps SDK for Qt 200.1 app working with Local Server 100.15 and returns the exception message "The inferior stopped because it triggered an exception. Stopped in thread 0 by: Exception at 0x7ff7a46224fa, code: 0x0000005: read access violation at: 0x20, flags=0x0 (first chance)".

ArcGIS Maps SDK for Qt
Bug ID Number BUG-000162756
SubmittedNovember 7, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS Maps SDK for Qt
Version found200.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

The code crashes due to an invalid capture-by-reference of a local variable in the reproducer code.

Workaround

Change the following: QObject::connect(localGeoprocessingService, &LocalGeoprocessingService::statusChanged, localGeoprocessingService, [&localGeoprocessingService]() to QObject::connect(localGeoprocessingService, &LocalGeoprocessingService::statusChanged, localGeoprocessingService, [localGeoprocessingService]().

Steps to Reproduce

Bug ID: BUG-000162756

Software:

  • ArcGIS Maps SDK for Qt

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options