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
DjiCore_DeInit segmentation fault #144
Comments
Agent comment from Leon in Zendesk ticket #100991: Hello, thank you for contacting DJI. You can try to follow the order in DjiUser_CleanSystemEnvironment() function for de-initialization. Thank you for your support of DJI products. Best Regards, °°° |
Hello. |
Agent comment from Leon in Zendesk ticket #100991: Hello, thank you for contacting DJI. Which version of PSDK are you using? We may need to further confirm this function. Thank you for your support of DJI products. Best Regards, °°° |
I am using the latest one, v3.8. |
Agent comment from Leon in Zendesk ticket #100991: Hello, thank you for contacting DJI. Thank you for the information you provided. We have confirmed that PSDK will start related function modules when it is started. These modules may re-create threads, which will cause some resource lock restrictions when you close the main thread. May I ask what your demand scenario is? Do you want to turn off all module functions? Thank you for your support of DJI products. Best Regards, °°° |
Hi again, Yes. What I try to do is:
Maybe there is something else I need to stop before calling the My question is, how can I shutdown the entire PSDK application cleanly and turning off all modules? |
Agent comment from Leon in Zendesk ticket #100991: Hello, thank you for contacting DJI. Regarding your request, we may have to confirm with the PSDK R&D team to see if the interface is working properly. We will contact you again soon. Due to our large consultation volume, there may be omissions. If it takes three working days It has not been updated for you, please contact me again. Thank you for your understanding~ Thank you for your support of DJI products. Best Regards, °°° |
Hey, do you have an update on this issue? Thank you. |
Agent comment from Leon in Zendesk ticket #100991: Hello, thank you for contacting DJI. Thank you for your patience. We have confirmed with the R&D team that there is a bug in this interface, and it is currently being scheduled for repair. We have not yet received an accurate reply on the specific date of repair. We are simultaneously confirming for you whether there is a temporary method to solve it. Regarding this issue, we will contact you again soon. Thank you for your support of DJI products. Best Regards, °°° |
Hello! Thank you. |
Hello,
First of all, thank you for maintaining and upgrading this SDK!
While using it, I found myself with the need of shutting down all modules cleanly and thus, using the DjiCore_DeInit() function.
However, the node where I launch this simply dies when I call core deinit. I thought this could be something on my end, so I tried to force the same method on the C Samples you provide. The result I obtain is the following:
Am I missing something or do I need to do something else before calling DjiCore_DeInit()? How can I avoid having the segmentation fault each time I shut down the psdk application?
Thank you in advance.
The text was updated successfully, but these errors were encountered: