EXE_BAD_ACCESS error in Xcode

Forums 💬 NodeCanvas ⚙️ Support EXE_BAD_ACCESS error in Xcode

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18413
    emilio.saffi
    Participant

      Hello,

      I seem to have run into the same EXE_BAD_ACCESS issue as the ones who posted in the following threads:
      IOS: EXECUTIONENGINEEXCEPTION
      EXE_BAD_ACCESS ERROR

      Has there been any progress in regards to this issue? As far as I understand it will run without XCode attached but, as already pointed out, this is a major inconvenience when developing for a performance sensitive platform such as iOS. No luck with generating AOTClasses.cs or link.xml. I also reimported the whole plugin to no avail.

      Below is a screenshot of what the XCode debugger displays at the moment of error.

      [attachment file=”Screen Shot 2016-08-26 at 00.07.55.jpg”]

      #18415
      emilio.saffi
      Participant

        I was debugging a bit this morning and I seem to have found the cause of the issue. XCode was catching the EXE_BAD_ACCESS when trying to use a null reference in the NodeCanvas.Framework.Task.Set protected function:
        [attachment file=”Screen Shot 2016-08-26 at 13.59.34.png”]

        To mitigate this I replaced the try/catch blocks with some code that would not throw the same exception. I would be grateful if you could review the following fix and share your thoughts on it:

        [attachment file=”Screen Shot 2016-08-26 at 13.54.31.png”]

        #18414
        Gavalakis
        Keymaster

          Thank you very much for this fix to an error I’ve been trying to track down for some time now.
          Your piece of code is great, yes, and obviously so much better than my piece of code there 🙂

          I will add this in the next release.
          Thanks again!

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.