pointer being freed was not allocated

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

Replies

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"