Top "Exc-bad-access" questions

EXC_BAD_ACCESS is a fatal error related to memory management on macOS and iOS.

NSURLSession invalidateAndCancel: Bad Access

I have a strange problem when I try to invalidate an NSURLSession instance. The code is quite simple: I have …

ios memory-management ios7 exc-bad-access nsurlsession
My App calls scrollViewDidScroll 19 times

I have an app based on Apple's PageControl sample. The first time the view loads, the scroll view is loaded …

objective-c uiscrollview ios4 exc-bad-access
swift setter causing exc_bad_access

I have a simple class below import Foundation public class UsefulClass: NSObject{ var test:NSNumber{ get{return self.test} set{ …

swift exc-bad-access setter
NSMutableAttributedString initWithData: causing EXC_BAD_ACCESS on rotation

I display different types of contents in a tableview and calculate the height of each cell using different custom methods, …

ios ios7 exc-bad-access nsmutableattributedstring
dismissViewControllerAnimated causes EXC_BAD_ACCESS - swift

Im trying to dismiss a UIViewController with dismissViewControllerAnimated(true, completion: {}) but I get a EXC_BAD_ACCESS when trying to …

ios swift exc-bad-access presentviewcontroller
objc_retain EXC_BAD_ACCESS

I have been having a bit of a bug while testing on iOS 6 with my current iOS 5 app. We have …

ios exc-bad-access
NSJSONSerialization results in EXC_BAD_ACCESS

Currently I am writing an app (Target iOS 6, ARC enabled) that uses JSON for data transmission and Core Data for …

xcode json ios6 exc-bad-access nsjsonserialization
OpenGL ES EXC_BAD_ACCESS on glDrawArrays

I'm having an issue rendering in OpenGL ES 1.1 for an iPhone game that I'm building. In short, I am rendering 3 …

iphone opengl-es render exc-bad-access
Attempting to create USE_BLOCK_IN_FRAME ... EXC_BAD_ACCESS with NSFetchedResultsController

This is an update to my problem. I am receiving this warning now when the program aborts. warning: Attempting to …

core-data exc-bad-access nsfetchedresultscontroller nszombieenabled
NSURLSession causing EXC_BAD_ACCESS

I've noticed that implementing NSURLSessionDataDelegate and starting a task will very occasionally throw an EXC_BAD_ACCESS. The actual calling …

ios swift exc-bad-access nsurlsession