How to find the cause of a malloc “double free” error?

后端 未结 13 909
情深已故
情深已故 2020-11-27 09:51

I\'m programming an application in Objective-C and I\'m getting this error:

MyApp(2121,0xb0185000) malloc: *** error for object 0x1068310: double

13条回答
  •  余生分开走
    2020-11-27 10:39

    This is usually caused by some inspector, such as safari or safari preview. Refer to post or post and question.

    Remove the select of AutoMatically Show Web ...., will remove this issue.

    Note, just close safari or safari preview will not remove this issue. And you have to deselect both of safari and safari preview.

    If this will not do, refer to this answer or post to debug it.

提交回复
热议问题