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

WaypointV2MissionOperator - App crashes when on listener to started configured

Open federiconicoli opened this issue 3 years ago • 7 comments

Hey everyone!

I'm integrating DJIWaypointV2MissionOperator to an existing app to support the M300 RTK and I'm having trouble. After the mission is started successfully the toStarted listeners are not being notified and the app crashes. If a remove the toStarted listeners it works fine. Before uploading the mission I'm doing: DJISDKManager.missionControl()?.waypointV2MissionOperator().removeListener(ofStarted: self) DJISDKManager.missionControl()?.waypointV2MissionOperator().addListener(toStarted: self, with: nil) { logger.info("Mission Started") }

Exception Type: EXC_BAD_ACCESS (SIGKILL) Exception Subtype: KERN_INVALID_ADDRESS at 0x00...10

Stack trace: Screen Shot 2021-03-08 at 16 45 54

DJI-SDK-iOS: 4.14 iOS 14.4

Any ideas on what could be happening?

Thank you!

federiconicoli avatar Mar 08 '21 19:03 federiconicoli

Agent comment from Luce Luo in Zendesk ticket #44684:

Dear Customer,

Thank you for contacting DJI. Sorry I did reproduce this issue and has escalated this issue to the engineer to investigate.

Thanks,

Luce Luo DJI Developer Support

dji-dev avatar Mar 09 '21 09:03 dji-dev

@dji-dev it looks like there are multiple issues reported for this same bug. What is the status on a fix? This is a major blocking bug for m300 v2 missions as there is no way to know when the mission started. Is there any alternate way than using this listener to handle mission start, stop, pause/resume functions? The SDK should not have been released with this bug but if there is a workaround that would be best in the near term. We have several customers who spent lots of money for m300s and without a fix will be expensive paperweights.

furick1 avatar Mar 17 '21 11:03 furick1

Hi Luce,

Do you think there's a workaround to overcome this issue in the meantime? I need solve this as soon as possible.

Thank you!

federiconicoli avatar Mar 18 '21 13:03 federiconicoli

Hi this is hummels.lei from SDK technical support of DJI. We have arranged a priority to solve your problem. If there is any progress, I will let you know as soon as possible

hummelslei avatar Mar 22 '21 04:03 hummelslei

Thank you.

furick1 avatar Mar 22 '21 12:03 furick1

Any update on this issue?

schlingding avatar Apr 21 '21 17:04 schlingding

It works for me on the latest SDK 4.15.2

brien-crean avatar Dec 14 '21 19:12 brien-crean