Tag: 崩溃

Ios错误:@auto释放池“EXC_BAD_ACCESS”下的线程1

当我点击“后退”button时,应用程序崩溃并显示此错误。 我有2个视图控制器。 在第一个VC开始button工作正常切换到第二个视图,但是当我点击返回button的应用程序崩溃,我得到上面的错误在@autorelease池下面的行。 我也会发布我的开始和后退button的代码。 thx 🙂 #import #import“AppDelegate.h” int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } 首先vc.H文件开始button(这工作切换到第二个视图) @interface ViewController : UIViewController { IBOutlet UIButton *StartQuiz; IBOutlet UIButton *HowToPlay; IBOutlet UIButton *Credits; IBOutlet UIButton *Back; IBOutlet UILabel *Label; } -(IBAction)StartQuiz:(id)sender; -(IBAction)HowToPlay:(id)sender; -(IBAction)Credits:(id)sender; -(IBAction)Back:(id)sender; Firstvc.M文件 @implementation ViewController -(IBAction)StartQuiz:(id)sender { […]

抛弃任务仍然在多任务酒吧

我正在检查我的崩溃日志,并注意到几个应用程序似乎已被抛弃。 但看着多任务栏,他们仍然在那里。 有没有另外一种方法可以确认,在我的应用程序崩溃之前,不活动的应用程序实际上正在被抛弃? 这可以在任何工具中看到吗? 到目前为止,我认为我的应用程序正在closures,没有不活动的应用程序被放弃。 现在我不确定。 更新 我曾多次在我从多任务栏中删除所有内容后,崩溃的应用程序停止了崩溃。 在这种情况下,我没有检查崩溃日志,我将来必须这样做。 但很难想象,这只是一个巧合。

如何找出是什么导致IOS设备上的错误崩溃报告?

基督复活(复活节快乐)! 在小应用程序重构之后testing应用程序时,我收到了“Crashlytics”崩溃日志。 正在尝试更改模型以避免双重同步方法调用(同时)通过将所有下一个调用(从第二个调用开始)发送到专用串行队列。 我已经添加了下面的代码: @interface SynchronizationModel () @property (nonatomic) dispatch_queue_t synchronizationQueue; @end @implementation SynchronizationModel BOOL isSynchronizationNotCalled = YES; #pragma mark – Synchronization + (dispatch_queue_t)synchronizationQueue { static dispatch_queue_t queue; static dispatch_once_t onceToken; const char *queueID = "com.app.synchronizationModel.queue"; dispatch_once(&onceToken, ^{ queue = dispatch_queue_create(queueID, DISPATCH_QUEUE_SERIAL); }); return queue; } + (void)sychronizeOfflineObjects { if (isSynchronizationNotCalled) { NSLog(@"%d synchronization without […]

对于未被删除的对象,“核心数据无法完成错误”

对于应用程序的最近更新,我看到许多崩溃日志,错误是核心数据无法完成错误。 但是在应用程序(启动或其他地方)中没有任何地方删除了不能执行错误的对象,也不会被级联删除。 这个错误怎么可能发生? 有没有办法赶上它,并修复它的实时应用程序? 如果你添加了,但也没有妥善保存对象,也可以吗?

如何弄清楚为什么我的应用程序崩溃?

我目前在应用程序商店中有一个iOS应用程序。 在99%的苹果设备上,它和预期的一样正常工作。 但是,有一些设备会打开一次,闪烁,然后在第一次使用后再次closures。 我不认为这是一个设备的具体问题,因为这是在iPhone 5和6S加上经验,同时它在其他iPhone 5和6S上完美的罚款。 同样,在软件上也是这样(它最新的11和11崩溃,并在以前的版本崩溃)。 我怎样才能弄清楚为什么会发生这种情况? 这是错误的: 如果我用这个代码replace它,我怎么知道它是否工作: switch tempDayHolder { case "Monday": outputWeekdays.append(2) case "Tuesday": outputWeekdays.append(3) case "Wednesday": outputWeekdays.append(4) case "Thursday": outputWeekdays.append(5) case "Friday": outputWeekdays.append(6) case "Saturday": outputWeekdays.append(7) case "Sunday": outputWeekdays.append(1) default : outputWeekdays.append(1) }

从苹果的反馈,应用程序崩溃启动

我的应用程序在我的设备上工作完美,但苹果告诉我,该应用程序在启动时崩溃,他们提供了一个崩溃的日志,这是难以理解的forms,我试图象征着它,但不能。 如果有人帮我解决这个问题,我将不胜感激。 {"app_name":"ApplicationName","timestamp":"2017-11-19 17:17:40.98 -0800","app_version":"1.0","slice_uuid":"119ebd01-6d77-30c1-bd7e-e247c4f549b4","adam_id":1312796230,"build_version":"1.0","bundleID":"Logicunit.AnalyzeQuran","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.1.2 (15B202)","incident_id":"DFC7AEE6-1BD7-45AC-B192-45B93C179CA3","name":"AnalyzeQuranIOS"} Incident Identifier: DFC7AEE6-1BD7-45AC-B192-45B93C179CA3 CrashReporter Key: 357841d912f2df927b24861ec18fb870765ae9bd Hardware Model: xxx1 Process: ApplicationName [857] Path: /private/var/containers/Bundle/Application/595A5C4D-0E0E-462D-88FD-38BF3399A298/ApplicationName.app/ApplicationName Identifier: Logicunit.ApplicationName Version: 1.0 (1.0) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: ApplicationName [765] Date/Time: 2017-11-19 17:17:40.9170 -0800 Launch Time: 2017-11-19 17:17:40.8317 -0800 OS Version: iPhone OS 11.1.2 (15B202) […]

MyApp“具有超出允许时间的活动断言”崩溃 – CoreLocationRegistration和CoreLocationBackgroundClient

有没有人有任何见解,为什么这个崩溃日志发生? 该应用程序logging用户去的地点。 所以它在Info.plist中设置了UIBackgroundModes的Location,继续在后台获取位置更新。 根据日志,10分钟后似乎有些事情会崩溃。 Incident Identifier: 4BA294E8-0DDF-4EC2-812A-20394F758A7F CrashReporter Key: 59997a4e160853691bc673802439c8c4b9ca7ba3 Hardware Model: iPhone3,1 Process: MyMapApp [1234] Path: /var/mobile/Applications/826E35FE-F6B7-477E-943E-CE18D0D03145/MyMapApp.app/MyMapApp Identifier: MyMapApp Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2011-03-02 13:25:05.228 -0600 OS Version: iPhone OS 4.2.1 (8C148) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x8badf00d Highlighted Thread: 0 Application Specific […]

无法识别崩溃exceptiontypes:EXC_CRASH(SIGABRT)。 包括崩溃日志

我无法从这个崩溃日志中找出问题。 我已经看到了几个关于EXC_CRASH(SIGABRT)和CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER的post,但这些都没有帮助。这发生在操作系统版本:iOS 8.3(12F69)和iPad2。 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Triggered by Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x182b482d8 __exceptionPreprocess + 132 1 libobjc.A.dylib 0x1941080e4 objc_exception_throw + 60 2 CoreFoundation 0x182a31428 -[__NSDictionaryM setObject:forKey:] + 972 3 ViadeskKit 0x10011c5dc 0x100114000 + 34268 4 ViadeskKit 0x10011cd98 0x100114000 + 36248 5 CoreFoundation 0x182aee2c4 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 […]

增加`static int`会导致SIGSEGV SEGV_ACCERR

我正在debugging报告为: Exception Type: SIGSEGV Exception Codes: SEGV_ACCERR 崩溃发生在numberOfFails++的行上。 该应用程序使用ASIHTTP 。 我个人更喜欢使用NSURLConnection 。 我永远不会自动重复NSURLConnection的请求,如果它失败,因为我从来没有见过它失败,当它不应该。 我宁愿只给UI刷新button或显示一个button的UIAlertView再试一次或类似的东西。 无论如何,要与其他团队成员合作,我正在寻求解决这个问题,而ASIHTTP用NSURLConnection现在取代ASIHTTP 。 请求正在启动,如下所示: – (void)getResources:(CLLocation *)location withQuery:(NSString *)query { NSURL *url = [NSURL URLWithString:[NSString stringWithString:@"https://example.com/"]]; self.resourcesAPIRequest = [ASIFormDataRequest requestWithURL:url]; [resourcesAPIRequest setPostValue:[Model instance].oauth_token forKey:@"oauth_token"]; [resourcesAPIRequest setPostValue:[[NSNumber numberWithDouble:location.coordinate.latitude] stringValue] forKey:@"latitude"]; [resourcesAPIRequest setPostValue:[[NSNumber numberWithDouble:location.coordinate.longitude] stringValue] forKey:@"longitude"]; [resourcesAPIRequest setPostValue:query forKey:@"query"]; [resourcesAPIRequest setDelegate:self]; [resourcesAPIRequest setDidFinishSelector:@selector(resourcesAPIReturned:)]; resourcesAPIRequest.userInfo […]

iOS崩溃:由于未捕获的exception原因终止应用程序:UIPopoverPresentationController应该有一个非零的sourceView

我需要帮助找出这个崩溃。 我检查了stackoverflow的答案,但非答案与我的情况有关。 这是我的代码。 – (void)addImagesActionSheetClickedButtonAtIndex:(NSInteger)buttonIndex { // Cancel if (buttonIndex == 2) return; //Take picture if (buttonIndex == 0) { //Take picture isFromLibrary = NO; [self.imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera]; [self.navigationController presentViewController:self.imagePicker animated:YES completion:NULL]; return; } // Library picture if (buttonIndex == 1) { if (![UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypeSavedPhotosAlbum]) return; UIPopoverController *popup = [[UIPopoverController alloc] initWithContentViewController:self.imagePicker]; [popup presentPopoverFromRect:CGRectMake(self.view.frame.size.width/2, self.view.frame.size.height/4, […]