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

Crash in DJISDK - flysafe calls C++ terminate function

Open machive opened this issue 5 years ago • 8 comments

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_deletestd::__1::__thread_struct >, 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_deletestd::__1::__thread_struct >, dji::flysafe::Worker::Worker()::'lambda'()> >(void*) + 664

machive avatar Oct 13 '20 17:10 machive

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

dji-dev avatar Oct 14 '20 07:10 dji-dev

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 avatar Oct 14 '20 17:10 machive

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 <[email protected] mailto:[email protected]> 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.

machive avatar Oct 14 '20 18:10 machive

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

dji-dev avatar Oct 15 '20 06:10 dji-dev

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

india2sarthak avatar Oct 19 '20 13:10 india2sarthak

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

dji-dev avatar Oct 20 '20 03:10 dji-dev

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

brien-crean avatar Oct 25 '20 19:10 brien-crean

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

dji-dev avatar Dec 08 '20 02:12 dji-dev