1 Reply
      Latest reply: Sep 11, 2016 6:55 AM by eskimo RSS
      alain239 Level 1 Level 1 (0 points)

        I have a viewController with several labels.

         

         

        I open the window and I close. When I do this several times, I have the following message:

         

         

        Being freed pointer Was not Allocated

         

         

        I made a small program that reproduces this problem. The program opens the window and closes automatically after 3 seconds. each time the application crash. We put a bug report but still no answer to this problem.

         

         

        I identically the same problem in my application and I managed with this little program to reproduce the problem.

         

         

        Can you help me ?

         

         

        Thank you

         

         

        Alain

        • Re: pointer being freed was not allocated
          eskimo Apple Staff Apple Staff (6,310 points)

          It’s seems likely that your code has a memory management bug.  Have you tried running the app with zombies?  If that doesn’t highlight the issue, try with Address Sanitizer?

          Also, what platform are you running on?  What language are you using?

          We put a bug report but still no answer to this problem.

          What’s your bug number?

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"