dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
577 stars 256 forks source link

Mavic 2 Pro Crash GetModelName #347

Open walter-morawa opened 4 years ago

walter-morawa commented 4 years ago

Hello,

I submitted a ticket to support, but figured I should open an issue as well. We are getting a crash when we get model name from DJI SDK 4.11. The crash only occurs with Mavic 2 Pro, not Phantom 4. Crash Logs are attached.

Best, Walter

Crashed: Thread 0 libsystem_platform.dylib 0x1c2d73948 _platform_memmove + 72 1 DJISDK 0x103bce2dc dji::common::Buffer::append(unsigned char const, unsigned int) + 148 2 DJISDK 0x10379ed94 dji::upgrade::DeviceFileFetcher::InternalHandleDeviceInfoRsp(unsigned char const, int, int, std::1::function<void (dji::upgrade::DJIUpgradeErrorCode, dji::common::Buffer&)>) + 152 3 DJISDK 0x10379fcbc dji::upgrade::DeviceFileFetcher::InternalHandleDeviceInfoRsp(unsigned char const*, int, int, std::1::function<void (dji::upgrade::DJIUpgradeErrorCode, dji::common::Buffer&)>) + 4032 4 DJISDK 0x103d8c6ac void std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete >, DJI::FlightRecord::Worker::Worker()::'lambda'()> >(void) + 5444 5 DJISDK 0x1037c8fc4 dji::upgrade::ModuleManager::IsFetchingServerVersion(dji::upgrade::UpgradeComponent) + 6292 6 DJISDK 0x103bd6e60 void std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete >, dji::common::Worker::Worker()::'lambda'()> >(void) + 44 7 libsystem_pthread.dylib 0x1c2d81d8c _pthread_start + 156 8 libsystem_pthread.dylib 0x1c2d8576c thread_start + 8

dji-dev commented 4 years ago

Public comment from Luce Luo in Zendesk ticket #31310:

Dear Walter,

Thank you for contacting DJI. Sorry about it. It's a known issue and will be fixed in the next version. I can't give you the exact date and please pay attention to the official released.

Thanks,

Luce Luo DJI Dev Team