I have a big problem with my iOS App: it crashes sometimes without detailed debug error.
The stack trace is empty. These are the only two lines in the stack trace:
- crash start in UIApplicationMain at "symbol stub for: -[_UIHostedTextServiceSession dismissTextServiceAnimated:]".
- and report "libsystem_c.dylib`malloc_error_break".
in com.apple.main-thread
.
The error on Xcode debugger (with connected device):
malloc: *** error for object 0x208a7614: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
I have set a breakpoint in malloc_error_break with libsystem_c.dylib without any feedback from debugger. I have no idea to solve this issue.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…