sigabrt

Objective C, Thread 1 Program Received Signal SIGABRT [duplicate]

老子叫甜甜 提交于 2019-12-18 14:23:13
问题 This question already has answers here : Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error? (68 answers) Closed 4 years ago . I am trying to compile and run a simple tutorial for an Objective C app using Interface Builder. I am using Xcode 4.0.2 and simulating on iOS (iPhone) 4.3 http://www.switchonthecode.com/tutorials/creating-your-first-iphone-application-with-interface-builder When I build the project, it builds alright

How to track down cause of SIGABRT

爱⌒轻易说出口 提交于 2019-12-17 04:27:50
问题 I'm showing the code to this problem for example purposes, but really my question is: how am I supposed to track down and understand SIGABRT errors? I read this question: sigabrt with no error message, however I don't think this pertains to my problem. The example I'll show below is obviously not a xib problem, and prior times getting SIGABRT seemed more to do with unhandled exceptions. I have tried using GDB's bt but this does not help. Is there not a more comprehensive dump to view? I have

How to track down cause of SIGABRT

佐手、 提交于 2019-12-17 04:26:38
问题 I'm showing the code to this problem for example purposes, but really my question is: how am I supposed to track down and understand SIGABRT errors? I read this question: sigabrt with no error message, however I don't think this pertains to my problem. The example I'll show below is obviously not a xib problem, and prior times getting SIGABRT seemed more to do with unhandled exceptions. I have tried using GDB's bt but this does not help. Is there not a more comprehensive dump to view? I have

iOS Objective-C App crashing for unusual reason

ぐ巨炮叔叔 提交于 2019-12-13 10:27:32
问题 My app is crashing with the error code: SIGABRT. Ive done a ton of research and none of the "SIGABRT solutions" have ever helped. This is what is in the console after app crashes on the iOS Simulator: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ViewController" nib but the view outlet was not set.' If anyone can help me that would be great! 回答1: Open up your ViewController's xib file, right

setObject:ForKey: crash?

佐手、 提交于 2019-12-13 02:00:27
问题 I am getting this crash in the console: 2011-08-27 23:26:45.041 App[1672:3117] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKey:]: attempt to insert nil key' *** First throw call stack: (0x3231c8c3 0x362ee1e5 0x3231c7bd 0x3231c7df 0x32289679 0x3052e865 0x3220fd55 0x3221b7a3 0x3345e4b7 0x3345e38c) terminate called throwing an exception[Switching to process 10243 thread 0x2803] [Switching to process 10243 thread 0x2803] The

Understanding iOS Crash [SIGABRT ABORT]

限于喜欢 提交于 2019-12-12 08:58:35
问题 I just received my first crash report from Crashlytics and am attempting to correct the issue. Unfortunately it is only with a line of code that runs on older devices so I can't test it on my iPhone 6. The crash report from Crashlytics highlights two threads, the first reads: Fatal Exception: NSInvalidArgumentException -[CABasicAnimation altitude]: unrecognized selector sent to instance 0x17734440 While the second reads: Crashed: Map Update :: NSOperation 0x1a839470 SIGABRT ABORT at

SIGABRT on startup

ⅰ亾dé卋堺 提交于 2019-12-12 04:27:26
问题 I simply don't understand this. All I find is a number of forum posts that say "I don't know how to fix this". I started out a simple view. I then added ASIHTTPRequest to communicate with a database using a request call to a php script. I had to add Reachability.h before it would compile. When I actually tried to run it, all I got was a blank screen on the simulator, and the SIGABRT error in XCode in the main. Here is the output: GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02

App Delegate weird error when trying to add element to NSUserDefaults

孤者浪人 提交于 2019-12-12 03:24:18
问题 I've got a really weird error while running my app on Xcode 7 (Swift 2) that shows a "Thread 1: signal SIGABRT" running error message in the App Delegate class of my app. However I've actually already got this "Thread 1: signal SIGABRT" running error message in the App Delegate class lots of times, mainly when deleting an outlet reference in my code and forgetting to also delete it from storyboard. But that's certainly the first time I've got this same error when trying to make the command:

Getting SIGABRT signal when I try to play a video (Objective-C)

♀尐吖头ヾ 提交于 2019-12-12 02:30:04
问题 When I try to load a video, I'm getting a SIGABRT thrown. Below is my code. If anybody could let me know why I'm getting this error, that would be great. The signal is being thrown for the line: theMovie = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:url]]; Two questions: what is wrong with my code? and what does SIGABRT usually mean? #import "Video.h" #import "MyManager.h" #import @implementation Video MPMoviePlayerController* theMovie; - (id)initWithNibName:

2nd use of NSURLConnection causes SIGABRT iPhone

佐手、 提交于 2019-12-11 19:45:35
问题 I have hunted around a lot on posts to do with NSURLConnection and more generally SIGABRT debugging but have had no joy on this. Any help is greatly appreciated. So, at the start of my app the user is presented with a login view and on supplying user name and password I start an NSURLConnection by doing the following in a LoginService class: -(void)loginWithURLRequest:(NSString*)requestString { if(self.mConnection == nil) { NSURLRequest* request = [NSURLRequest requestWithURL:[NSURL