Describe the bug
Always crashes when selecting a phone number to receive an SMS verification code
I debugged it myself and it doesn't happen when the app language is English.
Setting the language of the app to something other than English seems to reproduce it
To Reproduce
Easy to reproduce because it happens all the time
Click the Send SMS button
Select a phone number and click the Continue button
Crash
Expected behavior
sms input UI should provide
Screenshots
Click the Send SMS button
Select a phone number and click the Continue button
VM Region Info: 0x6 is not in any region. Bytes before following region: 68719476730
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
Describe the bug Always crashes when selecting a phone number to receive an SMS verification code
I debugged it myself and it doesn't happen when the app language is English. Setting the language of the app to something other than English seems to reproduce it
To Reproduce Easy to reproduce because it happens all the time
Send SMS
buttonContinue
buttonExpected behavior sms input UI should provide
Screenshots
Click the
Send SMS
buttonSelect a phone number and click the
Continue
buttonCrash
Process: Xcodes [51755] Path: /Applications/Xcodes.app/Contents/MacOS/Xcodes Identifier: com.robotsandpencils.XcodesApp Version: 1.8.0 (16) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501
Date/Time: 2023-09-24 01:48:59.2960 +0900 OS Version: macOS 13.1 (22C65) Report Version: 12 Anonymous UUID: 3675A41E-CF29-5757-4475-741407F9ECD4
Time Awake Since Boot: 400000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000006 Exception Codes: 0x0000000000000001, 0x0000000000000006
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [51755]
VM Region Info: 0x6 is not in any region. Bytes before following region: 68719476730 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START --->
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x19a2d0a68 objc_opt_respondsToSelector + 12 1 Foundation 0x19b5a71cc _NSDescriptionWithStringProxyFunc + 56 2 CoreFoundation 0x19a69f360 CFStringAppendFormatCore + 8520 3 CoreFoundation 0x19a7ddd1c _CFStringCreateWithFormatAndArgumentsReturningMetadata + 184 4 CoreFoundation 0x19a69d20c _CFStringCreateWithFormatAndArgumentsAux2 + 44 5 Foundation 0x19b9c2534 NSString.allocatinginit(format:locale:arguments:) + 336 6 Foundation 0x19b9c95ec specialized withVaList(::) + 532 7 Foundation 0x19b9c462c String.init(format::) + 68 8 Xcodes 0x102d72414 0x102d08000 + 435220 9 Xcodes 0x102d72194 0x102d08000 + 434580 10 Xcodes 0x102d72cfc 0x102d08000 + 437500 11 SwiftUI 0x1c187d29c 0x1c11d3000 + 6988444 12 SwiftUI 0x1c1d43424 0x1c11d3000 + 11994148 13 SwiftUI 0x1c187d188 0x1c11d3000 + 6988168 14 SwiftUI 0x1c1d43da0 0x1c11d3000 + 11996576 15 SwiftUI 0x1c1ba384c 0x1c11d3000 + 10291276 16 AttributeGraph 0x1c2a614b8 AG::Graph::UpdateStack::update() + 520 17 AttributeGraph 0x1c2a61c38 AG::Graph::update_attribute(AG::data::ptr, unsigned int) + 424
18 AttributeGraph 0x1c2a6a498 AG::Graph::input_value_ref_slow(AG::data::ptr, AG::AttributeID, unsigned int, AGSwiftMetadata const, unsigned char&, long) + 420
19 AttributeGraph 0x1c2a8171c AGGraphGetValue + 212
20 SwiftUI 0x1c1d43ca4 0x1c11d3000 + 11996324
21 SwiftUI 0x1c1ba384c 0x1c11d3000 + 10291276
22 AttributeGraph 0x1c2a614b8 AG::Graph::UpdateStack::update() + 520
23 AttributeGraph 0x1c2a61c38 AG::Graph::update_attribute(AG::data::ptr, unsigned int) + 424
24 AttributeGraph 0x1c2a6a498 AG::Graph::input_value_ref_slow(AG::data::ptr, AG::AttributeID, unsigned int, AGSwiftMetadata const , unsigned char&, long) + 420
25 AttributeGraph 0x1c2a8171c AGGraphGetValue + 212
26 SwiftUI 0x1c1564dc4 0x1c11d3000 + 3743172
27 SwiftUI 0x1c1565514 0x1c11d3000 + 3745044
28 SwiftUI 0x1c17545ec 0x1c11d3000 + 5772780
29 AttributeGraph 0x1c2a614b8 AG::Graph::UpdateStack::update() + 520
30 AttributeGraph 0x1c2a61c38 AG::Graph::update_attribute(AG::data::ptr, unsigned int) + 424
31 AttributeGraph 0x1c2a6a498 AG::Graph::input_value_ref_slow(AG::data::ptr, AG::AttributeID, unsigned int, AGSwiftMetadata const, unsigned char&, long) + 420
32 AttributeGraph 0x1c2a8171c AGGraphGetValue + 212
33 SwiftUI 0x1c11f6218 0x1c11d3000 + 143896
34 SwiftUI 0x1c11f55a4 0x1c11d3000 + 140708
35 SwiftUI 0x1c1ba384c 0x1c11d3000 + 10291276
36 AttributeGraph 0x1c2a614b8 AG::Graph::UpdateStack::update() + 520
37 AttributeGraph 0x1c2a61c38 AG::Graph::update_attribute(AG::data::ptr, unsigned int) + 424
38 AttributeGraph 0x1c2a69b9c AG::Graph::value_ref(AG::AttributeID, AGSwiftMetadata const , unsigned char&) + 192
39 AttributeGraph 0x1c2a81764 AGGraphGetValue + 284
40 SwiftUI 0x1c1844854 0x1c11d3000 + 6756436
41 SwiftUI 0x1c183f0cc 0x1c11d3000 + 6734028
42 SwiftUI 0x1c23e68ec 0x1c11d3000 + 18954476
43 SwiftUI 0x1c23e35b0 0x1c11d3000 + 18941360
44 SwiftUI 0x1c23e23b0 0x1c11d3000 + 18936752
45 SwiftUI 0x1c23e12c4 0x1c11d3000 + 18932420
46 SwiftUI 0x1c244190c 0x1c11d3000 + 19327244
47 SwiftUI 0x1c24427e0 0x1c11d3000 + 19331040
48 SwiftUI 0x1c244290c 0x1c11d3000 + 19331340
49 AppKit 0x19d9f6138 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 84
50 AppKit 0x19d9f6254 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 368
51 AppKit 0x19da02050 82-[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:]_block_invoke + 228
52 CoreAutoLayout 0x1a2409514 -[NSISEngine withBehaviors:performModifications:] + 88
53 AppKit 0x19d9f61ac -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 200
54 AppKit 0x19d9f6254 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 368
55 AppKit 0x19d9f6254 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 368
56 AppKit 0x19d9f6254 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 368
57 AppKit 0x19d9f6254 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 368
58 AppKit 0x19d9f6254 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 368
59 AppKit 0x19d9f6254 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 368
60 AppKit 0x19e134bb8 45-[NSView updateConstraintsForSubtreeIfNeeded]_block_invoke_2 + 52
61 AppKit 0x19d9f5f64 45-[NSView updateConstraintsForSubtreeIfNeeded]_block_invoke + 224
62 AppKit 0x19d9b3528 NSPerformVisuallyAtomicChange + 108
63 AppKit 0x19d9f5e78 -[NSView updateConstraintsForSubtreeIfNeeded] + 96
64 AppKit 0x19e383110 -[NSWindow(NSConstraintBasedLayoutInternal) updateConstraintsIfNeeded] + 172
65 AppKit 0x19da16dfc NSWindowGetDisplayCycleObserverForUpdateConstraints_block_invoke + 364
66 AppKit 0x19da16c5c NSDisplayCycleObserverInvoke + 168
67 AppKit 0x19da168b8 NSDisplayCycleFlush + 644
68 QuartzCore 0x1a1d7d548 CA::Transaction::run_commit_handlers(CATransactionPhase) + 120
69 QuartzCore 0x1a1d7c2bc CA::Transaction::commit() + 324
70 AppKit 0x19da98d58 62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_blockinvoke + 272
71 AppKit 0x19e176ce0 NSRunLoopObserverCreateWithHandler_block_invoke + 64
72 CoreFoundation 0x19a6efdc8 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36
73 CoreFoundation 0x19a6efcb4 CFRunLoopDoObservers + 532
74 CoreFoundation 0x19a6ef2ec CFRunLoopRun + 784
75 CoreFoundation 0x19a6ee888 CFRunLoopRunSpecific + 612
76 HIToolbox 0x1a3dc3fa0 RunCurrentEventLoopInMode + 292
77 HIToolbox 0x1a3dc3de4 ReceiveNextEventCommon + 672
78 HIToolbox 0x1a3dc3b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
79 AppKit 0x19d970424 _DPSNextEvent + 632
80 AppKit 0x19d96f5b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
81 AppKit 0x19d9639e4 -[NSApplication run] + 464
82 AppKit 0x19d93ae28 NSApplicationMain + 880
83 SwiftUI 0x1c12808a8 0x1c11d3000 + 710824
84 SwiftUI 0x1c24357c0 0x1c11d3000 + 19277760
85 SwiftUI 0x1c1c5983c 0x1c11d3000 + 11036732
86 Xcodes 0x102d0cc88 0x102d08000 + 19592
87 dyld 0x19a2e7e50 start + 2544
Thread 1:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x19a5d1d70 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x19a5e38a4 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x19a5da5c4 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x19a5d20ec mach_msg + 24 4 CoreFoundation 0x19a6f0bc0 CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x19a6ef4ac CFRunLoopRun + 1232 6 CoreFoundation 0x19a6ee888 CFRunLoopRunSpecific + 612 7 AppKit 0x19da9a410 _NSEventThread + 172 8 libsystem_pthread.dylib 0x19a61106c _pthread_start + 148 9 libsystem_pthread.dylib 0x19a60be2c thread_start + 8
Thread 2:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x19a5d1d70 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x19a5e38a4 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x19a5da5c4 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x19a5d20ec mach_msg + 24 4 CoreFoundation 0x19a6f0bc0 CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x19a6ef4ac CFRunLoopRun + 1232 6 CoreFoundation 0x19a6ee888 CFRunLoopRunSpecific + 612 7 CFNetwork 0x19f0e8500 0x19ee95000 + 2438400 8 Foundation 0x19b5f1470 NSThreadstart__ + 716 9 libsystem_pthread.dylib 0x19a61106c _pthread_start + 148 10 libsystem_pthread.dylib 0x19a60be2c thread_start + 8
Thread 3: 0 libsystem_pthread.dylib 0x19a60be18 start_wqthread + 0
Thread 4: 0 libsystem_pthread.dylib 0x19a60be18 start_wqthread + 0
Thread 5: 0 libsystem_pthread.dylib 0x19a60be18 start_wqthread + 0
Thread 6: 0 libsystem_pthread.dylib 0x19a60be18 start_wqthread + 0
Thread 7: 0 libsystem_pthread.dylib 0x19a60be18 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000006 x1: 0x00000001ea6e550c x2: 0x00000001ea6e550c x3: 0x0000000000000000 x4: 0x000000016d0f0bb0 x5: 0x000000000000000a x6: 0x000000016d0f147b x7: 0x000000016d0f1454 x8: 0x00000001ea6e5000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000000 x12: 0x0000000000000025 x13: 0x00000000ffffffff x14: 0x00000001f4d78848 x15: 0x00000001f4d78850 x16: 0x000000019a2d0a5c x17: 0x00000001f69758c0 x18: 0x0000000000000000 x19: 0x00000001f6831938 x20: 0x000000016d0f0bb0 x21: 0x000000012c2236d0 x22: 0x0000000000000006 x23: 0x0000000000000000 x24: 0x000000016d0f13f8 x25: 0x0000000000000000 x26: 0x0000000120e11d70 x27: 0x000000016d0f141b x28: 0x000000016d0f1030 fp: 0x000000016d0f0930 lr: 0x000000019b5a71cc sp: 0x000000016d0f0900 pc: 0x000000019a2d0a68 cpsr: 0x60001000 far: 0x0000000000000006 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images: 0x19a29c000 - 0x19a2e1d9f libobjc.A.dylib () /usr/lib/libobjc.A.dylib
0x19b59b000 - 0x19bfd3fff com.apple.Foundation (6.9) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x19a66f000 - 0x19ab46fff com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x102d08000 - 0x102ed3fff com.robotsandpencils.XcodesApp (1.8.0) /Applications/Xcodes.app/Contents/MacOS/Xcodes
0x1c11d3000 - 0x1c2a56fff com.apple.SwiftUI (4.2.11.400) /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
0x1c2a57000 - 0x1c2a99fff com.apple.AttributeGraph (4.0.28) <35553500-37d6-34b6-95e5-58d30c436e77> /System/Library/PrivateFrameworks/AttributeGraph.framework/Versions/A/AttributeGraph
0x19d937000 - 0x19e841fff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x1a23f9000 - 0x1a2442fff com.apple.CoreAutoLayout (1.0) /System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout
0x1a1d7a000 - 0x1a20defff com.apple.QuartzCore (1.11) <8ccb450e-ab2b-3fce-931e-70986187d2e0> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x1a3d92000 - 0x1a40c5fff com.apple.HIToolbox (2.1.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x19a2e2000 - 0x19a36cb63 dyld ( ) <487cfdeb-9b07-39bf-bfb9-970b61aea2d1> /usr/lib/dyld
0x19a5d1000 - 0x19a609ff3 libsystem_kernel.dylib () /usr/lib/system/libsystem_kernel.dylib
0x19a60a000 - 0x19a616ffb libsystem_pthread.dylib ( ) <132084c6-c347-3489-9ac2-fcaad21cdb73> /usr/lib/system/libsystem_pthread.dylib
0x19ee95000 - 0x19f256fff com.apple.CFNetwork (1402.0.8) <27318610-36d7-3519-9036-b9bcc00fe916> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
Full Report
{"app_name":"Xcodes","timestamp":"2023-09-24 01:48:59.00 +0900","app_version":"1.8.0","slice_uuid":"d4d4f727-eeea-3980-a0ff-55663d18175f","build_version":"16","platform":1,"bundleID":"com.robotsandpencils.XcodesApp","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.1 (22C65)","roots_installed":0,"name":"Xcodes","incident_id":"8591CB39-923C-4A67-8AAD-9E68E4AAD1E8"} { "uptime" : 400000, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "Mac13,2", "coalitionID" : 27701, "osVersion" : { "train" : "macOS 13.1", "build" : "22C65", "releaseType" : "User" }, "captureTime" : "2023-09-24 01:48:59.2960 +0900", "incident" : "8591CB39-923C-4A67-8AAD-9E68E4AAD1E8", "pid" : 51755, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-09-24 01:19:25.3134 +0900", "procStartAbsTime" : 9625653192428, "procExitAbsTime" : 9668229981390, "procName" : "Xcodes", "procPath" : "\/Applications\/Xcodes.app\/Contents\/MacOS\/Xcodes", "bundleInfo" : {"CFBundleShortVersionString":"1.8.0","CFBundleVersion":"16","CFBundleIdentifier":"com.robotsandpencils.XcodesApp"}, "storeInfo" : {"deviceIdentifierForVendor":"9C7B9C84-E5DC-59BC-952C-936EFDA6F63F","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.robotsandpencils.XcodesApp", "crashReporterKey" : "3675A41E-CF29-5757-4475-741407F9ECD4", "throttleTimeout" : 2147483647, "sip" : "enabled",