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.
Related Posts:
- Got a EXC_CORPSE_NOTIFY symbol crash, how to track it?
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- Duplicate symbols for architecture x86_64 under Xcode
- UIButton title text color
- Pod install is staying on “Setting up CocoaPods Master repo”
- App iOS stuck on blank white screen when build release React Native
- iOS Simulator – Can’t log in with iCloud
- Load Animated gif in UIImageView IOS
- iOS: Random black screen when loading the app
- Drawing Hexagon grid in Cocos 2d-x
- iPhone system font
- Difference between malloc and calloc?
- libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
- What does \0 stand for?
- libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
- Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code
- How to write C++ on Mac?
- A server with the specified hostname could not be found
- Where is redeem code for public link for TestFlight?
- Process finished with exit code 11 | Error during malloc [duplicate]
- How do you create a Swift Date object?
- Xcode 10, Command CodeSign failed with a nonzero exit code
- Swift 4 Attempt to present ViewController whose view is not in the window hierarchy
- Xcode – How to fix ‘NSUnknownKeyException’, reason: … this class is not key value coding-compliant for the key X” error?
- What are the difference between macOS and iOS?
- Xcode couldn’t find any provisioning profiles matching
- Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy
- symbol(s) not found for architecture x86_64 in xcode 10
- How to use iMonkey in an iOS app
- UITableView example for Swift
- Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy
- Incompatible implicit declaration of built-in function ‘malloc’
- Need more information about Aborted (core dumped)
- Converting String to Int with Swift
- When and why to use malloc?
- What is the cause of flexible array member not at end of struct error?
- printf(“%%%s”,”hello”)
- CFNetwork SSLHandshake failed (-9824) NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
- Where is the variable “code” in SKError defined?
- How to properly malloc for array of struct in C
- How do malloc() and free() work?
- Command CompileSwift failed with a nonzero exit code in Xcode 10
- How to run valgrind with basic c example?
- difference between
and - Is there a private messaging UI (inbox, sent, compose) framework for iOS?
- Memory Clobbering Error
- ‘strcmp’ was not declared in this scope
- Always get build error : No such module ‘Alamofire’
- NSURLErrorDomain error codes description
- Use of cudamalloc(). Why the double pointer?
- Uninitialized value was created by a heap allocation
- Allocating string with malloc
- Incorrect checksum for freed object on malloc
- what does Error “Thread 1:EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)” mean?
- Print: Entry, “:CFBundleIdentifier”, Does Not Exist
- Difference between sizeof(char) and sizeof(char *)
- Valgrind Invalid free() / delete / delete[] / realloc() in C
- Date Format in Swift
- What the meaning of question mark ‘?’ in swift?
- Loaded nib but the ‘view’ outlet was not set
- Xcode 9 – “Fixed Width Constraints May Cause Clipping” and Other Localization Warnings
- iPhone 6 and 6 Plus Media Queries
- “Could not find any information for class named ViewController”
- warning: ‘characters’ is deprecated: Please use String or Substring directly
- com.apple.WebKit.WebContent drops 113 error: Could not find specified service
- Allocating char array using malloc
- Casting a pointer to an int
- Could not insert new outlet connection: Could not find any information for the class named
- What is the meaning of ‘No bundle URL present’ in react-native?
- How to allocate array of pointers for strings by malloc in C?
- Convert .cer to .p12
- Add a simple UIView as header of UICollectionView
- Xcode: Could not locate device support files
- Remove alpha channel in an image
- realloc(): invalid next size when reallocating to make space for strcat on char *
- Download Xcode simulator directly
- Whats the difference between UInt8 and uint8_t
- Error: Conversion to non-scalar type requested
- malloc(sizeof(int)) vs malloc(sizeof(int *)) vs (int *)malloc(sizeof(int))
- Swift Error: Variable used within its own initial value
- Alert”Developer tools access needs to take control of another process for debugging to continue.Type your password to allow this.”
- Could not load NIB in bundle
- Prepare for Segue in Swift
- Xcode error “Could not find Developer Disk Image”
- How to play a sound using Swift?
- IOS home screen icons: where put and what size?
- What is an unsigned char?
- What is a Memory Heap?
- char *array and char array[]
- what is stack smashing (C)?
- “Initializer element is not constant” in C
- How do you do exponentiation in C?
- Convert Python program to C/C++ code?
- gcc/g++: “No such file or directory”
- Expected declaration specifier error in function
- What does “Permission denied” “Id returned 1 exit status” mean?
- Error: “Access not within mapped region at address” (Valgrind)
- Example of waitpid() in use?
- Can a function return two values?