Skip to main content
Participating Frequently
February 19, 2019
Question

Crash [NSURLSession delegate_dataTask:didReceiveData:completionHandler]

  • February 19, 2019
  • 1 reply
  • 546 views

Hi,

We are getting quite a few crashes lately when debugging the app, these crashes seem to be related to Mac only, and there's a long discussion about it on this Stack Overflow thread

These crashes are completely random and we don't know where they come from and what is the cause for them. We only know that switching to an older version of AIR (version 30) prevents these errors from happening. We do need, nevertheless to use the latest version of AIR, especially in March where iOS won't accept any apps compiled with AIR versions lower than 32 (v103).

* AIR SDK version: Air 32 (v100 & v103)

* Device OS: Mac OS Debugger

* Development OS: macOS Mojave 10.14.2

Here is the device crash log, as you can see, the Thread 12 is the one crashing, and it definitely looks like is something regarding this:

6   com.apple.CFNetwork            0x00007fff3268bb4a __67-[NSURLSession delegate_dataTask:didReceiveData:completionHandler:]_block_invoke.278 + 38

Thanks in advance,

Note: This also happens when creating a Mac Desktop version of the game, which indicated that is definitely something only affecting Mac computers.

Message was edited by: Christian Gascons

This topic has been closed for replies.

1 reply

cgasconsAuthor
Participating Frequently
March 6, 2019

Just FYI, we also created a bug report here