New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wait in destructor of SerialTaskQueue #20009
Conversation
Do a 'pushAndWait' in the destructor of the SerialTaskQueue if there are outstanding tasks being processed. This avoids a possible crash caused if the task tries to talk back to the deleted SerialTaskQueue. This problem was pointed out by valgrind.
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: FWCore/Concurrency @cmsbuild, @smuzaffar, @Dr15Jones can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@smuzaffar @davidlange6 this bug was probably the cause of the unit test crash. |
please test |
+1 |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @davidlange6, @smuzaffar (and backports should be raised in the release meeting by the corresponding L2) |
type bug |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
merge |
Comparison is ready Comparison Summary:
|
Do a 'pushAndWait' in the destructor of the SerialTaskQueue if there are outstanding tasks being processed. This avoids a possible crash caused if the task tries to talk back to the deleted SerialTaskQueue.
This problem was pointed out by valgrind.