Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Google Sign-In for iOS crash

未关闭
#411 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
ios, objective-c

调研方向

首先,在 iOS 上使用 GoogleSignIn 5.0.2 重现崩溃,按照报告中关闭 Google 页面时的流程进行。使用提供的主线程堆栈跟踪和身份验证视图控制器生命周期日志来调查 dismissal 路径。当关闭 Google 页面不再导致应用崩溃时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug triage

Describe the bug
After the Google page was closed, Google crashed

Environment
All versions of iOS will
The currently accessed version is: 'GoogleSignIn', '5.0.2'

Additional context
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x2bdc objc_release_x8 + 16
1 libsystem_blocks.dylib 0x25d4 bool HelperBase::disposeCapture<(HelperBase::BlockCaptureKind)3>(unsigned int, unsigned char*) + 68
2 libsystem_blocks.dylib 0x2524 HelperBase::destroyBlock(Block_layout*, bool, unsigned char*) + 160
3 libsystem_blocks.dylib 0x2450 _call_dispose_helpers_excp + 72
4 libsystem_blocks.dylib 0x23ec _Block_release + 252
5 libsystem_blocks.dylib 0x22b4 bool HelperBase::disposeCapture<(HelperBase::BlockCaptureKind)4>(unsigned int, unsigned char*) + 68
6 libsystem_blocks.dylib 0x2538 HelperBase::destroyBlock(Block_layout*, bool, unsigned char*) + 180
7 libsystem_blocks.dylib 0x2450 _call_dispose_helpers_excp + 72
8 libsystem_blocks.dylib 0x23ec _Block_release + 252
9 libsystem_blocks.dylib 0x22b4 bool HelperBase::disposeCapture<(HelperBase::BlockCaptureKind)4>(unsigned int, unsigned char*) + 68
10 libsystem_blocks.dylib 0x2538 HelperBase::destroyBlock(Block_layout*, bool, unsigned char*) + 180
11 libsystem_blocks.dylib 0x2450 _call_dispose_helpers_excp + 72
12 libsystem_blocks.dylib 0x23ec _Block_release + 252
13 UIKitCore 0x12920c -[UIPresentationController transitionDidFinish:] + 1420
14 UIKitCore 0x6e600c -[_UICurrentContextPresentationController transitionDidFinish:] + 44
15 UIKitCore 0x6e2b6c __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.114 + 320
16 UIKitCore 0x128bec -[_UIViewControllerTransitionContext completeTransition:] + 116
17 UIKitCore 0x29a934 -[UITransitionView notifyDidCompleteTransition:] + 180
18 UIKitCore 0x29a5ec -[UITransitionView _didCompleteTransition:] + 832
19 UIKitCore 0x853f0 UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK + 36
20 UIKitCore 0x84b88 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 624
21 UIKitCore 0x841f4 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 436
22 UIKitCore 0x66704 -[UIViewAnimationState animationDidStop:finished:] + 192
23 UIKitCore 0x66774 -[UIViewAnimationState animationDidStop:finished:] + 304
24 QuartzCore 0x7198c run_animation_callbacks(void*) + 132
25 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
26 libdispatch.dylib 0x125a4 _dispatch_main_queue_drain + 988
27 libdispatch.dylib 0x121b8 _dispatch_main_queue_callback_4CF + 44
28 CoreFoundation 0x3751c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
29 CoreFoundation 0x34218 __CFRunLoopRun + 1996
30 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
31 GraphicsServices 0x34e0 GSEventRunModal + 164
32 UIKitCore 0x22aedc -[UIApplication _run] + 888
33 UIKitCore 0x22a518 UIApplicationMain + 340

117 | Thu May 09 2024 19:34:33 | **** <LoginVC: 0x14d2ad000 > did Load ****
118 | Thu May 09 2024 19:34:33 | **** <SFAuthenticationViewController: 0x14c1d8000 > will disappear ****
119 | Thu May 09 2024 19:34:33 | **** <SFBrowserRemoteViewController: 0x14c07ec00 > will disappear ****
120 | Thu May 09 2024 19:34:33 | **** <UINavigationController: 0x14d369c00 > will Appear ****
121 | Thu May 09 2024 19:34:33 | **** <LoginVC: 0x14d2ad000 > will Appear ****
122 | Thu May 09 2024 19:34:33 | **** <UINavigationController: 0x14d369c00 > did Appear ****
123 | Thu May 09 2024 19:34:33 | **** <LoginVC: 0x14d2ad000 > did Appear ****
124 | Thu May 09 2024 19:34:33 | **** <SFAuthenticationViewController: 0x14c1d8000 > did disappear ****
125 | Thu May 09 2024 19:34:33 | **** <SFBrowserRemoteViewController: 0x14c07ec00 > did disappear ****
128 | Thu May 09 2024 19:34:35 | **** <UINavigationController: 0x14d369c00 > will disappear ****
129 | Thu May 09 2024 19:34:35 | **** <LoginVC: 0x14d2ad000 > will disappear ****
130 | Thu May 09 2024 19:34:35 | **** <SFAuthenticationViewController: 0x14c1d8000 > will Appear ****
131 | Thu May 09 2024 19:34:35 | **** <SFBrowserRemoteViewController: 0x14c07ec00 > will Appear ****
133 | Thu May 09 2024 19:34:35 | **** <SFBrowserRemoteViewController: 0x14f826a00 > did Load ****
134 | Thu May 09 2024 19:34:36 | **** <SFAuthenticationViewController: 0x14c1d8000 > did Appear ****
135 | Thu May 09 2024 19:34:36 | **** <SFBrowserRemoteViewController: 0x14c07ec00 > did Appear ****
136 | Thu May 09 2024 19:34:36 | **** <UINavigationController: 0x14d369c00 > did disappear ****
137 | Thu May 09 2024 19:34:36 | **** <LoginVC: 0x14d2ad000 > did disappear ****

主要语言
Objective-C
星标
751
派生
282
平均合并
4 天 20 小时
30 天内合并 PR
11

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google/GoogleSignIn-iOS 的其他 Issue

查看 google/GoogleSignIn-iOS 的全部 Issue

相似的 Issue

更多 Objective-C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。