NSDateFormatter crashes when used from different threads

前端 未结 5 1697
傲寒
傲寒 2020-12-15 05:58

We keep getting a random, weird crash with NSDateFormatter. The relevant stack trace is:

Program received signal:  “EXC_BAD_ACCESS”.
#0  0x00000         


        
5条回答
  •  遥遥无期
    2020-12-15 06:38

    EXCBADACCESS will occur when you use any deallocated object... Try to use NSZombie.. It is a easy way to find where the EXCBADACCESS occurs... It will specify which Method where and which object gets deallocated

    See this Link http://www.markj.net/iphone-memory-debug-nszombie/

提交回复
热议问题