laptop and a wrench

Bug

Calling threads within a Python script causes ArcMap to hang indefinitely or crash.

Last Published: February 8, 2023 ArcGIS for Desktop
Bug ID Number BUG-000125327
SubmittedSeptember 17, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.7.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

The architectural model of the ArcMap 10.x applications precludes their use from most multithreaded problems. ArcGIS Pro has multithreading as a core principle and the sample code provided works without issue in that program. The changes to support a multithreaded environment inside these older applications would not be trivial to implement, and is a known limitation.

Workaround

Run the script in IDLE instead of ArcMap.

Steps to Reproduce

Bug ID: BUG-000125327

Software:

  • ArcGIS for Desktop

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