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
scan_partitioner is not working as expected. #2325
Comments
How is it progressed now? |
We see random segfaults in this case. Apparently things are going out of scope too early.
Sure, go ahead - please be our guest. |
@hkaiser Can I get more informations about this issue? |
@sithhell: do you have any recollection of how to reproduce the original problem? |
@hkaiser One suspicion: hpx/hpx/parallel/util/scan_partitioner.hpp Lines 107 to 121 in ed30662
Is there no possibility about dangling reference to prev and curr ?If prev or curr is passed by reference to f2 or f3 , dangling reference problem can be occurred when we use policy.executor() instead of hpx::launch::sync .
|
@hkaiser I don't know. I have no test code which reproduces original problem. So I can't try to resolve this issue. Can I get the code which reproduces the problem? |
Reopening again. The issue hasn't been worked ok. The partitioner still doesn't use the passed executors. |
@sithhell Can you give me the test cases that makes |
sorry for not getting back to you earlier ... |
@sithhell I can't reproduce the problem. |
Reopen because of #3136 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed. Please re-open if necessary. |
Parallel algorithms using the scan partitioner are spuriously failing when
the continuation in dataflow is executed asynchronously.
It seems that when passing hpx::launch::sync to the dataflow invocation works around that issue.
A fix needs to be found such that it works with (async) executors again.
The text was updated successfully, but these errors were encountered: