Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Components
Assignee
Jacob Cobbett-SmithJacob Cobbett-SmithReporter
Jacob Cobbett-SmithJacob Cobbett-SmithPriority
Not specified
Details
Details
Components
Assignee
Jacob Cobbett-Smith
Jacob Cobbett-SmithReporter
Jacob Cobbett-Smith
Jacob Cobbett-SmithPriority
Created May 5, 2022 at 9:53 AM
Updated May 9, 2022 at 9:08 AM
Resolved May 9, 2022 at 8:59 AM
This change, https://hpccsystems.atlassian.net/browse/HPCC-23975 (merged into 7.10.0), introduced a window where the activity could stop and clear an object (iLoader), whilst the serialization code was still using it.
Related - the mergeStats helpers were inadvertently taking a copy of the shared object, and in so doing so linking (and later releasing) - see: HPCC-27606
Combined with this bug, it could cause heap corruption if the serializeStats call was linking as the stop() thread was destroying the object.
Fix is to ensure the iLoader.clear() is inside the critical section.