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

Producer process has been terminated before all shared CUDA tensors released #9

Open
garylidd opened this issue Nov 17, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@garylidd
Copy link
Collaborator

#7 #6

@garylidd garylidd added the bug Something isn't working label Nov 17, 2022
@garylidd garylidd self-assigned this Nov 17, 2022
@hey-it-s-me
Copy link

Hey~Very appreciate to your great work! I also meet the problem of the 'producer process terminated', I wanna know when will the problem be fixed?

@garylidd
Copy link
Collaborator Author

Hi, we have tried some methods and still cannot eliminate this warning, but this should only appear after the program ends and does not affect the result.

@Yuhanelle
Copy link

Same error here but I got the warning before the program ends, which returns no results.
I got "No such file or directory" error when the kf_buffer.get() is called at the end of the program. Has this issue been shown before? Thank you in advance.

@moyutianque
Copy link

moyutianque commented Jun 25, 2023

Same error here but I got the warning before the program ends, which returns no results. I got "No such file or directory" error when the kf_buffer.get() is called at the end of the program. Has this issue been shown before? Thank you in advance.

I have encountered the same issue, have you solved it? It seems "share_data.stop_mapping" is not correctly locked, the value sometimes changed from False to True in the last iteration of mapping.py int the while loop, just around kf_buffer.get(). In addition, when stop_mapping is set, the kf_buffer is not empty, which will make another round of do_mapping. Currently I simple skip the get() which causes error by try-except.

@random-guest
Copy link

I got the same error, with no results at the end.

@garylidd any updates on this?

@Yuhanelle
Copy link

Same error here but I got the warning before the program ends, which returns no results. I got "No such file or directory" error when the kf_buffer.get() is called at the end of the program. Has this issue been shown before? Thank you in advance.

I have encountered the same issue, have you solved it? It seems "share_data.stop_mapping" is not correctly locked, the value sometimes changed from False to True in the last iteration of mapping.py int the while loop, just around kf_buffer.get(). In addition, when stop_mapping is set, the kf_buffer is not empty, which will make another round of do_mapping. Currently I simple skip the get() which causes error by try-except.

if you move this to the top of the while loop in spin() mapping.py, it solves the issue.
if share_data.stop_mapping:
break
elif not kf_buffer.empty():
tracked_frame = kf_buffer.get()
# self.create_voxels(tracked_frame)
...

@random-guest
Copy link

@Yuhanelle thank you so much.

@HelloTaeyeon
Copy link

@Yuhanelle thank you so much.

Have you solved this problem yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants