Mobile-SDK-iOS icon indicating copy to clipboard operation
Mobile-SDK-iOS copied to clipboard

DJISDK Crash - CheckComponentUpgradeStateWithServer

Open josephm28 opened this issue 4 years ago • 4 comments

We're getting this crash in our app running on DJI SDK 4.15.1.

0 libsystem_kernel.dylib __psynch_cvwait + 8
1 libsystem_pthread.dylib _pthread_cond_wait + 1248
2 libc++.1.dylib std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 DJISDK dji::upgrade::ModuleManager::CheckComponentUpgradeStateWithServer(unsigned long long, dji::upgrade::UpgradeComponent, unsigned long long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::function<void (dji::upgrade::UpgradeVersionFetchState, dji::upgrade::ComponentVersionCheckState, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, dji::upgrade::DJIUpgradeErrorCode)>) + 6688
4 DJISDK dji::waypointv2::WorkerManager::~WorkerManager() + 772
5 libsystem_pthread.dylib _pthread_start + 320
6 libsystem_pthread.dylib thread_start + 8

Is there anything known to cause this? What causes CheckComponentUpgradeStateWithServer to fire?

josephm28 avatar Sep 13 '21 21:09 josephm28

Agent comment from DJI SDK in Zendesk ticket #53253:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

dji-dev avatar Sep 13 '21 21:09 dji-dev

Agent comment from cheney.zeng in Zendesk ticket #53253:

It seems it`s a bug and it has been submitted to the R&D engineer to schedule a fix.

°°°

dji-dev avatar Sep 15 '21 03:09 dji-dev

Thanks. In the meantime, do you know what calls CheckComponentUpgradeStateWithServer? Is there anything we can do on our end to mitigate this issue?

josephm28 avatar Sep 15 '21 18:09 josephm28

Agent comment from cheney.zeng in Zendesk ticket #53253:

We cannot know the cause for now. Our engineers are looking for the problem. If there is any progress, we will inform you in time.

°°°

dji-dev avatar Sep 16 '21 02:09 dji-dev