【问题标题】:CA::release_objects(X::List<void const*>*)CA::release_objects(X::List<void const*>*)
【发布时间】:2015-01-06 10:13:33
【问题描述】:

我的应用程序总是出现这个错误,大多数在 iOS8 上,我找不到原因,谁能帮助我?

    Thread : Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x36001f46 objc_msgSend + 5
1  CoreFoundation                 0x286f4e5d CFRelease + 600
2  QuartzCore                     0x2b6d1a65 CA::release_objects(X::List<void const*>*) + 16
3  QuartzCore                     0x2b6d1325 CA::Layer::~Layer() + 236
4  QuartzCore                     0x2b6d101d -[CALayer dealloc] + 64
5  QuartzCore                     0x2b6d0e1d CA::Layer::free_transaction(CA::Transaction*) + 136
6  QuartzCore                     0x2b6cdab3 CA::Transaction::commit() + 418
7  QuartzCore                     0x2b6c792d CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 56
8  CoreFoundation                 0x287b43b5 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
9  CoreFoundation                 0x287b1a73 __CFRunLoopDoObservers + 278
10 CoreFoundation                 0x287b1e7b __CFRunLoopRun + 914
11 CoreFoundation                 0x28700211 CFRunLoopRunSpecific + 476
12 CoreFoundation                 0x28700023 CFRunLoopRunInMode + 106
13 GraphicsServices               0x2fab30a9 GSEventRunModal + 136
14 UIKit                          0x2bd0c1d1 UIApplicationMain + 1440
15 StockRadar                     0x00040a6f main (main.m:16)

【问题讨论】:

    标签: c++


    【解决方案1】:

    如果你不使用动画,你可以通过调用来避免这个错误

    [UIView setAnimationsEnabled:NO];
    

    在控制器的初始化函数中。它似乎是一个静态类方法,因此请逐字使用。

    【讨论】:

      【解决方案2】:

      我有同样的问题,对我来说问题是我的错误跟踪器错误地跟踪了这个错误。

      真正的错误是这样的:

      *** -[UIViewAnimationState release]: message sent to deallocated instance 0x1c4c5ab0

      我关注this thread

      希望对您有所帮助。

      【讨论】:

        猜你喜欢
        • 2015-02-21
        • 2013-07-29
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多