- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.7k
Closed
Labels
multithreadingBase.Threads and related functionalityBase.Threads and related functionality
Milestone
Description
@vtjnash pointed out this thread safety bug not caught by our tests: #42768 (comment)
This can result in multiple threads corrupting the stack traces from each others' allocs, leading to a corrupted profile.
Fix involves keeping a buffer per thread.
EDIT: And/or maybe reusing the existing backtrace buffer in the ptls object. (See the linked thread, above)
cc @NHDaly
Metadata
Metadata
Assignees
Labels
multithreadingBase.Threads and related functionalityBase.Threads and related functionality