Skip to content
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

Fix Build::compile_objects deadlock on compilation failure #846

Closed
wants to merge 1 commit into from
Closed

Fix Build::compile_objects deadlock on compilation failure #846

wants to merge 1 commit into from

Conversation

NobodyXu
Copy link
Collaborator

@NobodyXu NobodyXu commented Aug 3, 2023

Fixed a potential deadlock.

Fixed  #844

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
@twistedfall
Copy link

This PR does not fix the #844 problem for me unfortunately. I've applied it on top of main and it hangs both with and without patch.

@NobodyXu
Copy link
Collaborator Author

NobodyXu commented Aug 3, 2023

This PR does not fix the #844 problem for me unfortunately. I've applied it on top of main and it hangs both with and without patch.

Thanks for the quick reply!
I will have a look at other part of Build::compile_objects, although I do think this PR is still worth merging since it indeed fixed a potential deadlock.

@NobodyXu
Copy link
Collaborator Author

NobodyXu commented Aug 3, 2023

This PR does not fix the #844 problem for me unfortunately. I've applied it on top of main and it hangs both with and without patch.

On a second thought, this is actually reasonable given that there is no compilation failure in opencv.

@NobodyXu NobodyXu changed the title Fix Build::compile_objects deadlock on failure Fix Build::compile_objects deadlock on compilation failure Aug 3, 2023
@NobodyXu
Copy link
Collaborator Author

NobodyXu commented Aug 4, 2023

Superseded by #849

@NobodyXu NobodyXu closed this Aug 4, 2023
@NobodyXu NobodyXu deleted the fix/compile-objects branch August 4, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants