- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我使用 xCode 运行我的应用程序时,所有负载都运行良好。当我使用 Activity Monitor 或 Allocations 的分析模板加载 Instruments 并按下记录时,它加载并运行良好。但是,如果我使用 Zombies 或 Leaks,应用程序会立即崩溃。我什至看不到它。然后我在 xcode 中访问崩溃日志,虽然崩溃的原因是
异常类型:EXC_BAD_ACCESS (SIGSEGV)
由于每个报告都不同,因此几乎不可能调试原因。
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000010
VM Region Info: 0x10 is not in any region. Bytes before following region: 4297687024
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000100298000-0000000100388000 [ 960K] r-x/r-x SM=COW ...p/MyApp
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libswiftFoundation.dylib 0x0000000100cf89fc 0x100c4c000 + 707068
1 MyApp 0x0000000100310cbc specialized JSONParser.jsonURL(_:jsonType:) + 494780 (JSONParser.swift:51)
2 MyApp 0x0000000100310cbc specialized JSONParser.jsonURL(_:jsonType:) + 494780 (JSONParser.swift:51)
3 MyApp 0x00000001002efd2c StoreManager.getProductIdentifiersFromServer() + 359724 (StoreManager.swift:57)
4 MyApp 0x0000000100329db0 specialized AppDelegate.application(_:didFinishLaunchingWithOptions:) + 597424 (StoreManager.swift:46)
5 MyApp 0x0000000100326a40 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 584256 (AppDelegate.swift:0)
6 UIKit 0x000000018f4a1ca8 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 408
7 UIKit 0x000000018f68fe14 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3484
8 UIKit 0x000000018f694ce4 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1680
9 UIKit 0x000000018f92db20 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 784
10 UIKit 0x000000018fc05c78 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
11 UIKit 0x000000018f92d79c -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 240
12 UIKit 0x000000018f92dfdc -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 724
13 UIKit 0x00000001900accf4 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 296
14 UIKit 0x00000001900acb7c -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
15 UIKit 0x000000018fe1f44c __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
16 UIKit 0x000000018ffb5c5c _performActionsWithDelayForTransitionContext + 112
17 UIKit 0x000000018fe1f304 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
18 UIKit 0x000000018fc05318 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
19 UIKit 0x000000018f6933e4 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540
20 UIKit 0x000000018faa7490 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364
21 FrontBoardServices 0x00000001878d7470 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 364
22 FrontBoardServices 0x00000001878dfd6c __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 224
23 libdispatch.dylib 0x00000001849f0ae4 _dispatch_client_callout + 16
24 libdispatch.dylib 0x00000001849f81f4 _dispatch_block_invoke_direct$VARIANT$mp + 224
25 FrontBoardServices 0x000000018790b878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
26 FrontBoardServices 0x000000018790b51c -[FBSSerialQueue _performNext] + 404
27 FrontBoardServices 0x000000018790bab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
28 CoreFoundation 0x0000000185099614 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
29 CoreFoundation 0x0000000185098e3c __CFRunLoopDoSources0 + 276
30 CoreFoundation 0x00000001850969ac __CFRunLoopRun + 1204
31 CoreFoundation 0x0000000184fb6fe8 CFRunLoopRunSpecific + 552
32 GraphicsServices 0x0000000186f7e020 GSEventRunModal + 100
33 UIKit 0x000000018f497090 UIApplicationMain + 236
34 MyApp 0x00000001002ab444 main + 78916 (AppDelegate.swift:16)
35 libdyld.dylib 0x0000000184a55fc0 start + 4
StoreManager.getProductIdentifiersFromServer()
JSONParser.jsonURL(_:jsonType:)
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4365631488
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000104364000-0000000104454000 [ 960K] r-x/r-x SM=COW ...p/MyApp
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 CoreFoundation 0x0000000184fdf83c CFStringGetCharacterAtIndex + 24
1 CoreFoundation 0x000000018508e6c8 normalizeQuintuplet + 148
2 CoreFoundation 0x000000018508ee64 -[_CFXPreferences+ 917092 (SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 108
3 CoreFoundation 0x0000000185132ae8 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 124
4 CoreFoundation 0x0000000185135384 _CFPreferencesCopyAppValueWithContainer + 116
5 Foundation 0x0000000185a2e7d0 -[NSUserDefaults+ 51152 (NSUserDefaults) objectForKey:] + 52
6 Foundation 0x0000000185a37240 -[NSUserDefaults+ 86592 (NSUserDefaults) stringForKey:] + 24
7 MyApp 0x00000001043cc0dc specialized SettingsTableViewController.init(coder:) + 426204 (SettingsTableViewController.swift:36)
8 MyApp 0x00000001043c6a1c @objc SettingsTableViewController.init(coder:) + 403996 (SettingsTableViewController.swift:27)
9 UIKit 0x000000018f9c051c -[UIClassSwapper initWithCoder:] + 248
10 UIKit 0x000000018fb6d99c UINibDecoderDecodeObjectForValue + 688
11 UIKit 0x000000018fb6d6d4 -[UINibDecoder decodeObjectForKey:] + 312
12 UIKit 0x000000018f9c01c4 -[UIRuntimeConnection initWithCoder:] + 188
13 UIKit 0x000000018fb6d99c UINibDecoderDecodeObjectForValue + 688
14 UIKit 0x000000018fb6db14 UINibDecoderDecodeObjectForValue + 1064
15 UIKit 0x000000018fb6d6d4 -[UINibDecoder decodeObjectForKey:] + 312
16 UIKit 0x000000018f9bf514 -[UINib instantiateWithOwner:options:] + 1164
17 UIKit 0x000000018fd44068 -[UIStoryboard instantiateViewControllerWithIdentifier:] + 196
18 MyApp 0x00000001043fcfb4 specialized ApplicationsTabBarController.createViewControllerForTabBarController(storyBoardName:restorationIdentifier:tabBarItemTitle:tabBarItemTag:tabBarItemImage:tabBarItemSelectedImage:) + 626612 (ApplicationsTabBarController.swift:190)
19 MyApp 0x00000001043f93c8 ApplicationsTabBarController.setUpViewControllers() + 611272 (ApplicationsTabBarController.swift:79)
20 MyApp 0x00000001043fad04 @objc ApplicationsTabBarController.viewWillAppear(_:) + 617732 (ApplicationsTabBarController.swift:0)
21 UIKit 0x000000018f44c6b4 -[UIViewController _setViewAppearState:isAnimating:] + 616
22 UIKit 0x000000018f44c424 -[UIViewController __viewWillAppear:] + 140
23 UIKit 0x000000018f4aba60 -[UIViewController viewWillMoveToWindow:] + 704
24 UIKit 0x000000018f43bde4 -[UIView+ 97764 (Hierarchy) _willMoveToWindow:withAncestorView:] + 584
25 UIKit 0x000000018f43b0cc -[UIView+ 94412 (Internal) _addSubview:positioned:relativeTo:] + 424
26 UIKit 0x000000018f43a88c -[UIWindow addRootViewControllerViewIfPossible] + 816
27 UIKit 0x000000018f437864 -[UIWindow _setHidden:forced:] + 272
28 UIKit 0x000000018f4a5cd0 -[UIWindow makeKeyAndVisible] + 48
29 MyApp 0x00000001043f639c specialized AppDelegate.application(_:didFinishLaunchingWithOptions:) + 598940 (AppDelegate.swift:0)
30 MyApp 0x00000001043f2bc4 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 584644 (AppDelegate.swift:0)
31 UIKit 0x000000018f4a1ca8 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 408
32 UIKit 0x000000018f68fe14 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3484
33 UIKit 0x000000018f694ce4 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1680
34 UIKit 0x000000018f92db20 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 784
35 UIKit 0x000000018fc05c78 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
36 UIKit 0x000000018f92d79c -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 240
37 UIKit 0x000000018f92dfdc -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 724
38 UIKit 0x00000001900accf4 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 296
39 UIKit 0x00000001900acb7c -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
40 UIKit 0x000000018fe1f44c __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
41 UIKit 0x000000018ffb5c5c _performActionsWithDelayForTransitionContext + 112
42 UIKit 0x000000018fe1f304 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
43 UIKit 0x000000018fc05318 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
44 UIKit 0x000000018f6933e4 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540
45 UIKit 0x000000018faa7490 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364
46 FrontBoardServices 0x00000001878d7470 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 364
47 FrontBoardServices 0x00000001878dfd6c __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 224
48 libdispatch.dylib 0x00000001849f0ae4 _dispatch_client_callout + 16
49 libdispatch.dylib 0x00000001849f81f4 _dispatch_block_invoke_direct$VARIANT$mp + 224
50 FrontBoardServices 0x000000018790b878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
51 FrontBoardServices 0x000000018790b51c -[FBSSerialQueue _performNext] + 404
52 FrontBoardServices 0x000000018790bab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
53 CoreFoundation 0x0000000185099614 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
54 CoreFoundation 0x0000000185098e3c __CFRunLoopDoSources0 + 276
55 CoreFoundation 0x00000001850969ac __CFRunLoopRun + 1204
56 CoreFoundation 0x0000000184fb6fe8 CFRunLoopRunSpecific + 552
57 GraphicsServices 0x0000000186f7e020 GSEventRunModal + 100
58 UIKit 0x000000018f497090 UIApplicationMain + 236
59 MyApp 0x0000000104378b3c main + 84796 (AppDelegate.swift:16)
60 libdyld.dylib 0x0000000184a55fc0 start + 4
最佳答案
我遇到了类似的问题,我选择 Blank
解决了它模板而不是 Leaks
然后我手动添加Allocations
和 Leaks
使用屏幕右上角的 + 按钮。
它已在 Xcode 版本 9.4 (9F1027a) 上解决
关于xcode-instruments - Instruments 9.3 是否会导致其他人的应用程序崩溃?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48974013/
我有一段代码看起来像这样: void update_clock(uint8_t *time_array) { time_t time = *((time_t *) &time_array[0]
应用程序崩溃了 :( 请帮助我.. 在这方面失败了。我找不到错误?该应用程序可以连接到 iTunesConnect 但它会出错。 谁能根据下面的崩溃报告判断问题出在哪里? share_with_app
小二是新来的实习生,作为技术 leader,我给他安排了一个非常简单的练手任务,把前端 markdown 编辑器里上传的图片保存到服务器端,结果他真的就把图片直接保存到了服务器上,这下可把我气坏了,就
我正在创建一个函数,它将目录路径作为参数传递,或者如果它留空,则提示用户输入。 我已经设置了我的 PATH_MAX=100 和 if 语句来检查 if ((strlen(folder path) +
我已将“arial.ttf”文件(从我的/Windows/Fonts 文件夹中获取)加载到内存中,但是将其传递到 FT_New_Memory_Face 时会崩溃(在 FT_Open_Face 中的某处
我正在尝试在我的计算机上的两个控制台之间进行 rtsp 流。 在控制台 1 上,我有: ffmpeg -rtbufsize 100M -re -f dshow -s 320x240 -i video=
我正在尝试使用 scio_beast在一个项目中。我知道它还没有完成,但这并不重要。我已经设法让它工作得很好。 我现在正在尝试连接到 CloudFlare 后面的服务器,我知道我需要 SNI 才能工作
我有一个带有关联宏的下拉列表,如下所示: Sub Drop() If Range("Hidden1!A1") = "1" Then Sheets("Sheet1").Se
我对 bash 很陌生。我要做的就是运行这个nvvp -vm /usr/lib64/jvm/jre-1.8.0/bin/java无需记住最后的路径。我认为 instafix 就是这样做...... n
我在 Windows 上使用 XAMPP 已经两年左右了,它运行完美,没有崩溃没有问题。 (直到四个月前。) 大约四个月前,我们将服务器/系统升级到了更快的规范。 这是旧规范的内容 - Windows
我面临着一个非常烦人的 android 崩溃,它发生在大约 1% 的 PRODUCTION session 中,应用程序始终在后台运行。 Fatal Exception: android.app.Re
尝试使用下面的函数: public void createObjectType() { try { mCloudDB.createObjectType(ObjectTypeIn
由于我正在进行的一个项目,我在 CF11 管理员中弄乱了类路径,我设法使服务器崩溃,以至于我唯一得到的是一个漂亮的蓝屏和 500 错误.我已经检查了日志,我会把我能做的贴在帖子的底部,但我希望有人会启
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 10 个月前关闭。 Improve
我最近从 xcode 3.x 更新到 4.2,当我在 4.2 中运行应用程序时,我遇到了核心数据问题。我还更新到了 iOS 5,所以问题可能就在那里,我不太确定。 这些应用程序在 3.x 中运行良好,
我是一个相对较新的 iPhone 应用程序开发人员,所以我的知识有点粗略,所以如果这是一个微不足道的问题,请原谅我。 我有一个导航应用程序,它通过在navigationController对象上调用p
if ([MFMailComposeViewController canSendMail]) { MFMailComposeViewController *mailViewController
你能帮我吗? 我正在设置 UILocalNotification,当我尝试设置其 userInfo 字典时,它崩溃了。 fetchedObjects 包含 88 个对象。 这是代码: NSDi
为什么我的代码中突然出现 NSFastEnumeration Mutation Handler 崩溃。我很茫然为什么会突然出现这个崩溃以及如何解决它。 最佳答案 崩溃错误: **** 由于未捕获的异常
当我从表中删除行时,我的应用程序崩溃了。这是我检测到错误和堆栈跟踪的来源。谢谢! //delete row from database - (void)tableView:(UITableView *
我是一名优秀的程序员,十分优秀!