Strange crash report for iPad apps

I received the following crash report from the user.

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xf0012e8d
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libobjc.A.dylib                 0x3601cc98 objc_msgSend + 16
1   CoreFoundation                  0x312bdc30 CFGetRetainCount
2   QuartzCore                      0x30605c08 CA::release_root_if_unused(_CALayer*, _CALayer*, void*)
3   QuartzCore                      0x30605bb4 x_hash_table_remove_if
4   QuartzCore                      0x305e4f96 CA::Transaction::commit()
5   QuartzCore                      0x305de04e CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*)
6   CoreFoundation                  0x312fca2e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
7   CoreFoundation                  0x312fe45e __CFRunLoopDoObservers
8   CoreFoundation                  0x312ff754 __CFRunLoopRun
9   CoreFoundation                  0x3128febc CFRunLoopRunSpecific
10  CoreFoundation                  0x3128fdc4 CFRunLoopRunInMode
11  GraphicsServices                0x32478418 GSEventRunModal
12  GraphicsServices                0x324784c4 GSEventRun
13  UIKit                           0x329f8d62 -[UIApplication _run]
14  UIKit                           0x329f6800 UIApplicationMain
15  IW Select                       0x00002b60 main + 44
16  IW Select                       0x00002b28 start + 32

I'm having trouble debugging, since it doesn't seem like the crash was even caused by something in my application. Does anyone know what could cause a crash like this?

+3
source share
3 answers

If we observe a crash log, we notice that it was expecting some kind of object, but it has already been released. (see what he called CFGetRetainCountto the desired object to make sure that the object is still alive, but that is not). In addition, if we notice the framework, then this indicates that the accident may be caused by the release of some view or something related to it (as he talks about its failure during the animation).

0   libobjc.A.dylib                 0x3601cc98 objc_msgSend + 16
1   CoreFoundation                  0x312bdc30 CFGetRetainCount
2   QuartzCore                      0x30605c08 CA::release_root_if_unused(_CALayer*, _CALayer*, void*)
3   QuartzCore                      0x30605bb4 x_hash_table_remove_if
4   QuartzCore                      0x305e4f96 CA::Transaction::commit()
5   QuartzCore                      0x305de04e CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*)
6   CoreFoundation                  0x312fca2e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__

Thank,

+1
+1

Check your localization settings. In particular, change your language settings to something other than English / your default language, and see if you can reproduce the failure.

0
source

All Articles