简体   繁体   中英

App crashed on 10.7 lion wors fine on 10.5 and 10.6

I have a very strange problem and no idea what creates it nor how to solve it. The app works fine under 10.5 and 10.6.

Under 10.7 the app start fine but crashes after about 15 secs later without any user interaction. In the debugger console i see Program received signal: “EXC_BAD_ACCESS”. I made a screenshot of the stacktrace and it seems as if it has something to do with NSPersistentUI.

屏幕截图

So any hints and tips would be very appreciated.

我会尝试使用僵尸启用运行,您实际上没有给我们足够的信息,我想您没有正确处理线程之间的对象保留,例如,线程调用的方法来访问另一个线程中的对象,您应该执行[myObject保留]自动释放],以便将该对象添加到调用线程自动释放池中。

Do you have Garbage Collector activated? Have you tried without it? I would suggest that. It is clearly MM problem and I would suggest you stick with retain/release.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM