dji-sdk / Mobile-SDK-iOS

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

Crash in DJISDK - flysafe calls C++ terminate function #400

Open machive opened 3 years ago

machive commented 3 years ago

Hello,   Has anybody seen this crash? We are running DJI-SDK-iOS (4.13.1).   

The drone flies, it lands, we do some processing, and then we get this crash from the flysafe thread calling loadFFL, whatever that is, and that calls the C++ terminate function and the app crashes.  We are flying indoors and GPS is not enabled. Does anybody have any ideas why we are getting this crash and if there is anything we can do to stop this crash from happening?   Thanks so much! 

9 libc++abi.dylib               0x18f7e1398 std::terminate() + 44 10 DJISDK                        0x103f7547c loadFFL(NSString) + 7672 11 DJISDK                        0x1043e31e8 void std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete >, dji::flysafe::Worker::Worker()::'lambda'()> >(void*) + 1132 12 DJISDK                        0x1043e2ab0 dji::flysafe::WorkerManager::~WorkerManager() + 196 13 DJISDK                        0x1043e1ef0 dji::flysafe::ModuleManager::Cleanup() + 76 14 DJISDK                        0x1048f8918 dji::uploadrecord:oggerSys::GetTimestampWithLogFormatTime(std::1::basic_string<char, std::1::char_traits, std::1::allocator > const&) + 4624 15 DJISDK                        0x1043e3014 void* std::1::__thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete >, dji::flysafe::Worker::Worker()::'lambda'()> >(void*) + 664

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #39982:

Dear Customer,

Thank you for contacting DJI. To help us collect questions in detail, please fill in the form below and we will handle this ticket once we have received it. https://formcrafts.com/a/dji-developer-feedback-en

Thanks,

Luce Luo DJI Dev Team

machive commented 3 years ago

Please help. I spent a lot of time filling out the form and I cannot submit it, it says:

"Response limit reached"

How do I fix this problem?

Thanks,

Larry

machive commented 3 years ago

Hello Luce,

I tried to submit the form but received “Response Limit Reached”

Could you fix that problem?

Thanks,

Larry

On Oct 14, 2020, at 3:15 AM, DJI <notifications@github.com mailto:notifications@github.com> wrote:

Agent comment from Luce Luo in Zendesk ticket #39982 https://djisdksupport.zendesk.com/agent/tickets/39982:

Dear Customer,

Thank you for contacting DJI. To help us collect questions in detail, please fill in the form below and we will handle this ticket once we have received it. https://formcrafts.com/a/dji-developer-feedback-en https://formcrafts.com/a/dji-developer-feedback-en Thanks,

Luce Luo DJI Dev Team

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dji-sdk/Mobile-SDK-iOS/issues/400#issuecomment-708209964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALZ34XWBV76ETX7ECHZYBTSKVFX5ANCNFSM4SPKTYKA.

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #39982:

Dear Customer,

Thank you for contacting DJI. We have received your form ticket #40025 and will follow on it.

Thanks,

Luce Luo DJI Developer Support

india2sarthak commented 3 years ago

Facing the same crash after upgrading to 4.13.1. Any updates on this? @dji-dev Thanks!

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #39982:

Dear Customer,

Thank you for contacting DJI. The problem is under investigation and will update here if any progress.

Thanks,

Luce Luo DJI Developer Support

brien-crean commented 3 years ago

Same issue here on multiple occasions randomly for no apparent reason. This is causing so many problems for us

Thread 19 Crashed:
0   libsystem_kernel.dylib          0x00000001cf66f95c __pthread_kill + 8
1   libsystem_pthread.dylib         0x00000001ea5db9e8 pthread_kill + 212 (pthread.c:1375)
2   libsystem_c.dylib               0x00000001ad9439b0 __abort + 112 (abort.c:147)
3   libsystem_c.dylib               0x00000001ad943940 abort + 112 (abort.c:118)
4   libc++abi.dylib                 0x00000001b861bcc8 abort_message + 128 (abort_message.cpp:76)
5   libc++abi.dylib                 0x00000001b860dc88 demangling_terminate_handler() + 272 (cxa_default_handlers.cpp:62)
6   libobjc.A.dylib                 0x00000001b851ff74 _objc_terminate() + 140 (objc-exception.mm:704)
7   app                             0x0000000102b72418 FIRCLSTerminateHandler() + 344
8   libc++abi.dylib                 0x00000001b861b154 std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
9   libc++abi.dylib                 0x00000001b861b0ec std::terminate() + 44 (cxa_handlers.cpp:88)
10  DJISDK                          0x0000000104456ab0 dji::flysafe::WorkerManager::~WorkerManager() + 196
11  DJISDK                          0x0000000104455ef0 dji::flysafe::ModuleManager::Cleanup() + 76
12  DJISDK                          0x000000010496c918 0x103fdc000 + 10029336
13  DJISDK                          0x0000000104457014 0x103fdc000 + 4698132
14  DJISDK                          0x0000000104456da8 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, dji::flysafe::Worker::Worker()::'lambda'()> >(v... + 44
15  libsystem_pthread.dylib         0x00000001ea5dab70 _pthread_start + 288 (pthread.c:880)
16  libsystem_pthread.dylib         0x00000001ea5df880 thread_start + 8
dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #39982:

Dear Customer,

Thank you for contacting DJI. This issue will be fixed in the next 4.14 version. Please pay attention to the official release.

Thanks,

Luce Luo DJI Developer Support