You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Turn prof_active off and then on won't trigger sampling in 5.2.x #1605
If application performs the following three actions in sequence: (a) turn prof_active off, (b) make at least one allocation that triggers the malloc slow path via the if (unlikely(bytes_until_sample < 0)) path, and (c) turn prof_active back on, then the application would never get another sample (until a very very long time later), because bytes_until_sample is set to SSIZE_MAX.
changed the title [-]Turn prof_active off and then on won't trigger sampling[/-][+]Turn prof_active off and then on won't trigger sampling in 5.2.x[/+]on Aug 22, 2019
Activity
yinan1048576 commentedon Aug 22, 2019
Fixed by #1604.
interwq commentedon Aug 22, 2019
The regression was from 0f83136. It was included in the release
5.2.0and5.2.1.Let's keep this open until the next release, in case people search for the topic.
[-]Turn prof_active off and then on won't trigger sampling[/-][+]Turn prof_active off and then on won't trigger sampling in 5.2.x[/+]cherry-pick from upstream jemalloc to fix profiling bug (#9)