KazaiMazai / SwiftySegmentedPicker

Custom segmented picker for SwiftUI
71 stars 9 forks source link

Xcode preview crash when dynamically adding segments #4

Closed alobaili closed 3 months ago

alobaili commented 11 months ago

I needed to dynamically add a segment after an API call, the Xcode preview canvas crashes with the bellow info:

The crash is on SegmentedPicker.swift line 60

Minimum code to reproduce the issue:

import SwiftUI
import SegmentedPicker

struct ContentView: View {
    @State private var sections = ["A", "B", "C"]
    @State private var selectedSection: Int? = 0

    var body: some View {
        SegmentedPicker(sections, selectedIndex: $selectedSection) { section, selected in
            Text(section)
        } selection: {
            VStack(spacing: 0) {
                Spacer()

                Rectangle()
                    .fill(Color.blue)
                    .frame(height: 1)
            }
        }
        .onAppear {
            sections.append("D")
        }
    }
}

crash log:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: BD3A3C94-3637-4FC2-BA4D-4F50C0A54A75
CrashReporter Key:   CD1C09E1-1406-E328-ABEE-68DDF8C551CF
Hardware Model:      MacBookPro18,2
Process:             segmentedpickertest [39406]
Path:                /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/34F278EA-8A47-4364-A016-C7002E9F74FF/data/Containers/Bundle/Application/44F8C17B-7C41-48DB-961F-D95F9AE9CC19/segmentedpickertest.app/segmentedpickertest
Identifier:          me.alobaili.segmentedpickertest
Version:             1.0 (1)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [35474]
Coalition:           com.apple.CoreSimulator.SimDevice.34F278EA-8A47-4364-A016-C7002E9F74FF [28331]
Responsible Process: SimulatorTrampoline [33585]

Date/Time:           2023-10-22 16:55:15.5129 +0300
Launch Time:         2023-10-22 16:55:15.3002 +0300
OS Version:          macOS 14.0 (23A344)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001926ac650
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [39406]

Triggered by Thread:  0

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib                     0x1926ac650 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 224
1   libswiftCore.dylib                     0x1926ac52c closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 316
2   libswiftCore.dylib                     0x1926abf98 _assertionFailure(_:_:file:line:flags:) + 168
3   libswiftCore.dylib                     0x192691d30 Array._checkSubscript_mutating(_:) + 148
4   libswiftCore.dylib                     0x19269243c Array.subscript.modify + 56
5   segmentedpickertest                    0x100de563c closure #1 in closure #3 in closure #1 in closure #2 in closure #1 in SegmentedPicker.body.getter + 416 (SegmentedPicker.swift:60)
6   SwiftUI                                0x1c48b029c 0x1c3c80000 + 12780188
7   SwiftUI                                0x1c4aff7a0 0x1c3c80000 + 15202208
8   SwiftUI                                0x1c50d08ec 0x1c3c80000 + 21301484
9   SwiftUI                                0x1c50caec0 0x1c3c80000 + 21278400
10  SwiftUI                                0x1c5383578 0x1c3c80000 + 24130936
11  SwiftUI                                0x1c53835bc 0x1c3c80000 + 24131004
12  UIKitCore                              0x1857cdb1c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1492
13  QuartzCore                             0x189f6fdd4 CA::Layer::layout_if_needed(CA::Transaction*) + 440
14  QuartzCore                             0x189f7ab30 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 124
15  QuartzCore                             0x189e963bc CA::Context::commit_transaction(CA::Transaction*, double, double*) + 460
16  QuartzCore                             0x189ec5bf0 CA::Transaction::commit() + 652
17  QuartzCore                             0x189ec70a4 CA::Transaction::flush_as_runloop_observer(bool) + 68
18  CoreFoundation                         0x1803ed648 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
19  CoreFoundation                         0x1803e804c __CFRunLoopDoObservers + 528
20  CoreFoundation                         0x1803e8504 __CFRunLoopRun + 968
21  CoreFoundation                         0x1803e7d28 CFRunLoopRunSpecific + 572
22  GraphicsServices                       0x18e7cdbc0 GSEventRunModal + 160
23  UIKitCore                              0x1852bafdc -[UIApplication _run] + 868
24  UIKitCore                              0x1852bec54 UIApplicationMain + 124
25  SwiftUI                                0x1c4b04524 0x1c3c80000 + 15222052
26  SwiftUI                                0x1c4b043c4 0x1c3c80000 + 15221700
27  SwiftUI                                0x1c4816108 0x1c3c80000 + 12149000
28  segmentedpickertest                    0x100ddfe38 static segmentedpickertestApp.$main() + 40
29  segmentedpickertest                    0x100ddff34 main + 12 (segmentedpickertestApp.swift:11)
30  dyld_sim                               0x100e5d558 start_sim + 20
31  dyld                                   0x100f72058 start + 2224

Thread 1:
0   libsystem_pthread.dylib                0x101dbe6dc start_wqthread + 0

Thread 2::  Dispatch queue: com.apple.root.utility-qos
0   libswiftCore.dylib                     0x19298f1dc swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolDescriptor<swift::InProcess> const*, bool)::$_8::operator()((anonymous namespace)::ConformanceSection const&) const::'lambda'(swift::TargetProtocolConformanceDescriptor<swift::InProcess> const&)::operator()(swift::TargetProtocolConformanceDescriptor<swift::InProcess> const&) const + 528
1   libswiftCore.dylib                     0x19298e27c swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolDescriptor<swift::InProcess> const*, bool) + 2516
2   libswiftCore.dylib                     0x19298cd1c swift_conformsToProtocol + 100
3   AttributeGraph                         0x1b25359e8 AG::LayoutDescriptor::make_layout(AG::swift::metadata const*, AGComparisonMode, AG::LayoutDescriptor::HeapMode) + 116
4   AttributeGraph                         0x1b2535e24 AG::(anonymous namespace)::TypeDescriptorCache::fetch(AG::swift::metadata const*, unsigned int, AG::LayoutDescriptor::HeapMode, int) + 332
5   AttributeGraph                         0x1b2534d1c AG::LayoutDescriptor::Builder::should_visit_fields(AG::swift::metadata const*, bool) + 48
6   AttributeGraph                         0x1b2534bc8 AG::LayoutDescriptor::Builder::visit_element(AG::swift::metadata const*, AG::swift::metadata::ref_kind, unsigned long, unsigned long) + 116
7   AttributeGraph                         0x1b251fd5c AG::swift::metadata_visitor::visit_field(AG::swift::metadata const*, AG::swift::field_record const&, unsigned long, unsigned long) + 132
8   AttributeGraph                         0x1b251f500 AG::swift::metadata::visit(AG::swift::metadata_visitor&) const + 780
9   AttributeGraph                         0x1b2535ac0 AG::LayoutDescriptor::make_layout(AG::swift::metadata const*, AGComparisonMode, AG::LayoutDescriptor::HeapMode) + 332
10  AttributeGraph                         0x1b2535e24 AG::(anonymous namespace)::TypeDescriptorCache::fetch(AG::swift::metadata const*, unsigned int, AG::LayoutDescriptor::HeapMode, int) + 332
11  AttributeGraph                         0x1b2534d1c AG::LayoutDescriptor::Builder::should_visit_fields(AG::swift::metadata const*, bool) + 48
12  AttributeGraph                         0x1b2534bc8 AG::LayoutDescriptor::Builder::visit_element(AG::swift::metadata const*, AG::swift::metadata::ref_kind, unsigned long, unsigned long) + 116
13  AttributeGraph                         0x1b251fd5c AG::swift::metadata_visitor::visit_field(AG::swift::metadata const*, AG::swift::field_record const&, unsigned long, unsigned long) + 132
14  AttributeGraph                         0x1b251f500 AG::swift::metadata::visit(AG::swift::metadata_visitor&) const + 780
15  AttributeGraph                         0x1b2535ac0 AG::LayoutDescriptor::make_layout(AG::swift::metadata const*, AGComparisonMode, AG::LayoutDescriptor::HeapMode) + 332
16  AttributeGraph                         0x1b2535e24 AG::(anonymous namespace)::TypeDescriptorCache::fetch(AG::swift::metadata const*, unsigned int, AG::LayoutDescriptor::HeapMode, int) + 332
17  AttributeGraph                         0x1b2534d1c AG::LayoutDescriptor::Builder::should_visit_fields(AG::swift::metadata const*, bool) + 48
18  AttributeGraph                         0x1b2534bc8 AG::LayoutDescriptor::Builder::visit_element(AG::swift::metadata const*, AG::swift::metadata::ref_kind, unsigned long, unsigned long) + 116
19  AttributeGraph                         0x1b251fd5c AG::swift::metadata_visitor::visit_field(AG::swift::metadata const*, AG::swift::field_record const&, unsigned long, unsigned long) + 132
20  AttributeGraph                         0x1b251f500 AG::swift::metadata::visit(AG::swift::metadata_visitor&) const + 780
21  AttributeGraph                         0x1b2535ac0 AG::LayoutDescriptor::make_layout(AG::swift::metadata const*, AGComparisonMode, AG::LayoutDescriptor::HeapMode) + 332
22  AttributeGraph                         0x1b2537244 AG::(anonymous namespace)::TypeDescriptorCache::drain_queue(void*) + 356
23  libdispatch.dylib                      0x18016bd3c _dispatch_client_callout + 16
24  libdispatch.dylib                      0x18017e5d4 _dispatch_root_queue_drain + 1076
25  libdispatch.dylib                      0x18017ed58 _dispatch_worker_thread2 + 232
26  libsystem_pthread.dylib                0x101dbf8e8 _pthread_wqthread + 224
27  libsystem_pthread.dylib                0x101dbe6e4 start_wqthread + 8

Thread 3::  Dispatch queue: com.apple.UIKit.KeyboardManagement
0   libsystem_kernel.dylib                 0x101c7a83c __ulock_wait + 8
1   libdispatch.dylib                      0x18016c630 _dlock_wait + 52
2   libdispatch.dylib                      0x18016c3e0 _dispatch_thread_event_wait_slow + 52
3   libdispatch.dylib                      0x18017bc5c __DISPATCH_WAIT_FOR_QUEUE__ + 392
4   libdispatch.dylib                      0x18017b75c _dispatch_sync_f_slow + 160
5   UIKitCore                              0x185135fac __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 116
6   CoreFoundation                         0x180493ed0 __invoking___ + 144
7   CoreFoundation                         0x180491234 -[NSInvocation invoke] + 276
8   Foundation                             0x180eb6a2c __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 12
9   Foundation                             0x180eb6664 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 472
10  Foundation                             0x180eba680 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 184
11  libxpc.dylib                           0x1800c92dc _xpc_connection_reply_callout + 60
12  libxpc.dylib                           0x1800bcd28 _xpc_connection_call_reply_async + 76
13  libdispatch.dylib                      0x18016bdb4 _dispatch_client_callout3 + 16
14  libdispatch.dylib                      0x18018a844 _dispatch_mach_msg_async_reply_invoke + 516
15  libdispatch.dylib                      0x180173bcc _dispatch_lane_serial_drain + 336
16  libdispatch.dylib                      0x1801749b4 _dispatch_lane_invoke + 388
17  libdispatch.dylib                      0x18017fd40 _dispatch_root_queue_drain_deferred_wlh + 276
18  libdispatch.dylib                      0x18017f38c _dispatch_workloop_worker_thread + 448
19  libsystem_pthread.dylib                0x101dbf924 _pthread_wqthread + 284
20  libsystem_pthread.dylib                0x101dbe6e4 start_wqthread + 8

Thread 4:
0   libsystem_pthread.dylib                0x101dbe6dc start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib                0x101dbe6dc start_wqthread + 0

Thread 6:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib                 0x101c78c10 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x101c89da4 mach_msg2_internal + 76
2   libsystem_kernel.dylib                 0x101c80e34 mach_msg_overwrite + 532
3   libsystem_kernel.dylib                 0x101c78f88 mach_msg + 20
4   CoreFoundation                         0x1803eded8 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                         0x1803e85b8 __CFRunLoopRun + 1148
6   CoreFoundation                         0x1803e7d28 CFRunLoopRunSpecific + 572
7   Foundation                             0x180dd7a98 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
8   Foundation                             0x180dd7cbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
9   UIKitCore                              0x18535d304 -[UIEventFetcher threadMain] + 404
10  Foundation                             0x180dfe27c __NSThread__start__ + 720
11  libsystem_pthread.dylib                0x101dc34c0 _pthread_start + 104
12  libsystem_pthread.dylib                0x101dbe6f0 thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00006000002566b0   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x00006000002566c0
    x4: 0x0000000000000000   x5: 0x000000016f021550   x6: 0x0000000000000065   x7: 0x0000000000000000
    x8: 0x0000000000000200   x9: 0x00000000000001ff  x10: 0x00000000000026a0  x11: 0x00000000b625f140
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x00000000b645f936  x15: 0x0000000000000136
   x16: 0x00000000b625f140  x17: 0x000000000005f800  x18: 0x0000000000000000  x19: 0x0000000000000003
   x20: 0x0000600002c28c00  x21: 0x0000000000000003  x22: 0x0000000000000001  x23: 0x0000600000c204d8
   x24: 0x00000001c48b3170  x25: 0x0000000000000002  x26: 0x0000600000250680  x27: 0x00000001f1da5000
   x28: 0x00000001f1da5000   fp: 0x000000016f021600   lr: 0x00000001926ac650
    sp: 0x000000016f0215e0   pc: 0x00000001926ac650 cpsr: 0x60001000
   far: 0x00000001efe7bd80  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x100f6c000 -        0x100ffffff dyld (*) <ffd8ab66-c9ab-31df-ab80-3a3dff367ddd> /usr/lib/dyld
       0x101a48000 -        0x101a4bfff ContentView.1.preview-thunk.dylib (*) <12a8687b-486d-3a3d-aba1-6a789a4a3e19> /Users/USER/Library/Developer/Xcode/DerivedData/segmentedpickertest-evsjjabnusvhwyeapivofpqtplyl/Build/Intermediates.noindex/Previews/segmentedpickertest/Intermediates.noindex/segmentedpickertest.build/Debug-iphonesimulator/segmentedpickertest.build/Objects-normal/arm64/ContentView.1.preview-thunk.dylib
       0x1010e0000 -        0x1010ebfff libobjc-trampolines.dylib (*) <13823d40-f83a-3ddf-8c9c-4391bdc3d01f> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc-trampolines.dylib
       0x101cf4000 -        0x101cfbfff libsystem_platform.dylib (*) <af2db34b-2633-3ceb-b19c-e000edea762d> /usr/lib/system/libsystem_platform.dylib
       0x101c78000 -        0x101caffff libsystem_kernel.dylib (*) <642a38ac-927b-39b2-9654-365bc3f3c14e> /usr/lib/system/libsystem_kernel.dylib
       0x101dbc000 -        0x101dcbfff libsystem_pthread.dylib (*) <ca3c77b3-7c7b-312e-a130-32fdc563d382> /usr/lib/system/libsystem_pthread.dylib
       0x101df8000 -        0x101e13fff com.apple.mlcompiler.services (95) <bab278e9-61f1-388a-abf6-a24e9e5d58f4> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MLCompilerServices.framework/MLCompilerServices
       0x100dd8000 -        0x100debfff me.alobaili.segmentedpickertest (1.0) <1f4b814c-0cfd-39b9-8037-e7e8f25fc9a1> /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/34F278EA-8A47-4364-A016-C7002E9F74FF/data/Containers/Bundle/Application/44F8C17B-7C41-48DB-961F-D95F9AE9CC19/segmentedpickertest.app/segmentedpickertest
       0x100e5c000 -        0x100ea3fff dyld_sim (*) <d9b006d8-950f-3c79-b957-a8aee690603c> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x19267d000 -        0x192ae6fff libswiftCore.dylib (*) <2ed87af8-f215-3aaf-a41c-b01739f042b6> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftCore.dylib
       0x1c3c80000 -        0x1c56dcfff com.apple.SwiftUI (5.0.83.1.105) <ff92863f-3762-39a2-bc7b-1fe45e10df0e> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SwiftUI.framework/SwiftUI
       0x184703000 -        0x18603ffff com.apple.UIKitCore (1.0) <6b64a343-f832-3b1d-a6c3-f8ed32b35a83> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x189db5000 -        0x18a0a8fff com.apple.QuartzCore (1.11) <74469130-45f1-34bd-b386-da8c0072f37d> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuartzCore.framework/QuartzCore
       0x180361000 -        0x180713fff com.apple.CoreFoundation (6.9) <c665e05f-5989-30d1-b748-7688b8590d39> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
       0x18e7ca000 -        0x18e7d2fff com.apple.GraphicsServices (1.0) <ba53ab8f-c1b1-315f-b8f0-95f69385bf2a> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1b2519000 -        0x1b2556fff com.apple.AttributeGraph (5.0.77) <61f1b03b-ffb3-3d75-a7b1-3df406c7f6ca> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph
       0x180168000 -        0x1801adfff libdispatch.dylib (*) <5161220e-c794-3f5a-a4b4-52630f7c4665> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib
       0x180292000 -        0x1802b3fff libdyld.dylib (*) <48fbc0f7-6e74-3d1f-88fb-6df6fd784161> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdyld.dylib
       0x180793000 -        0x181247fff com.apple.Foundation (6.9) <508eec71-652e-35bc-b02c-7dff66ccd20a> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation
       0x1800ae000 -        0x1800e8fff libxpc.dylib (*) <9890e957-84a4-3af5-8028-cc758799fdf9> /Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libxpc.dylib

EOF

-----------
Full Report
-----------

{"app_name":"segmentedpickertest","timestamp":"2023-10-22 16:55:15.00 +0300","app_version":"1.0","slice_uuid":"1f4b814c-0cfd-39b9-8037-e7e8f25fc9a1","build_version":"1","platform":7,"bundleID":"me.alobaili.segmentedpickertest","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.0 (23A344)","roots_installed":0,"name":"segmentedpickertest","incident_id":"BD3A3C94-3637-4FC2-BA4D-4F50C0A54A75"}
{
  "uptime" : 210000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,2",
  "coalitionID" : 28331,
  "osVersion" : {
    "train" : "macOS 14.0",
    "build" : "23A344",
    "releaseType" : "User"
  },
  "captureTime" : "2023-10-22 16:55:15.5129 +0300",
  "codeSigningMonitor" : 1,
  "incident" : "BD3A3C94-3637-4FC2-BA4D-4F50C0A54A75",
  "pid" : 39406,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-10-22 16:55:15.3002 +0300",
  "procStartAbsTime" : 5258723483931,
  "procExitAbsTime" : 5258728537280,
  "procName" : "segmentedpickertest",
  "procPath" : "\/Users\/USER\/Library\/Developer\/Xcode\/UserData\/Previews\/Simulator Devices\/34F278EA-8A47-4364-A016-C7002E9F74FF\/data\/Containers\/Bundle\/Application\/44F8C17B-7C41-48DB-961F-D95F9AE9CC19\/segmentedpickertest.app\/segmentedpickertest",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"1","CFBundleIdentifier":"me.alobaili.segmentedpickertest"},
  "storeInfo" : {"deviceIdentifierForVendor":"30719C01-41D3-55A7-ACAD-57EEDDB730C1","thirdParty":true},
  "parentProc" : "launchd_sim",
  "parentPid" : 35474,
  "coalitionName" : "com.apple.CoreSimulator.SimDevice.34F278EA-8A47-4364-A016-C7002E9F74FF",
  "crashReporterKey" : "CD1C09E1-1406-E328-ABEE-68DDF8C551CF",
  "responsiblePid" : 33585,
  "responsibleProc" : "SimulatorTrampoline",
  "codeSigningID" : "me.alobaili.segmentedpickertest",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570425861,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"SgMAVMr8YNMqBQC14AMCquEDA6riAwSq4wMFquQDCarlAwiquAgNlA==","atPC":"IAAg1Ci6gVL\/EwC56AcA+UgAgFLoAwA5wB8A8ADQJZHDHwDwY4AnkQ=="},
  "wakeTime" : 6186,
  "sleepWakeUUID" : "2C620877-BEBE-4DB0-A2BE-72BEED7F450E",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x00000001926ac650","rawCodes":[1,6751438416],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":39406},
  "os_fault" : {"process":"segmentedpickertest"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":3524,"task_for_pid":102},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":4119021,"threadState":{"x":[{"value":105553118717616},{"value":0},{"value":0},{"value":105553118717632},{"value":0},{"value":6157374800},{"value":101},{"value":0},{"value":512},{"value":511},{"value":9888},{"value":3055939904},{"value":2043},{"value":2045},{"value":3058039094},{"value":310},{"value":3055939904},{"value":391168},{"value":0},{"value":3},{"value":105553162570752},{"value":3},{"value":1},{"value":105553128981720},{"value":7592423792},{"value":2},{"value":105553118692992},{"value":8352583680,"symbolLocation":10784,"symbol":"OBJC_METACLASS_$__TtCV7SwiftUIP33_796E60B90620AEB0B6972B2798FF4F4228UIKitDatePickerRepresentable11Coordinator"},{"value":8352583680,"symbolLocation":10784,"symbol":"OBJC_METACLASS_$__TtCV7SwiftUIP33_796E60B90620AEB0B6972B2798FF4F4228UIKitDatePickerRepresentable11Coordinator"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6751438416},"cpsr":{"value":1610616832},"fp":{"value":6157374976},"sp":{"value":6157374944},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":6751438416,"matchesCrashFrame":1},"far":{"value":8319909248}},"queue":"com.apple.main-thread","frames":[{"imageOffset":194128,"symbol":"closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:)","symbolLocation":224,"imageIndex":9},{"imageOffset":193836,"symbol":"closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:)","symbolLocation":316,"imageIndex":9},{"imageOffset":192408,"symbol":"_assertionFailure(_:_:file:line:flags:)","symbolLocation":168,"imageIndex":9},{"imageOffset":85296,"symbol":"Array._checkSubscript_mutating(_:)","symbolLocation":148,"imageIndex":9},{"imageOffset":87100,"symbol":"Array.subscript.modify","symbolLocation":56,"imageIndex":9},{"imageOffset":54844,"sourceLine":60,"sourceFile":"SegmentedPicker.swift","symbol":"closure #1 in closure #3 in closure #1 in closure #2 in closure #1 in SegmentedPicker.body.getter","imageIndex":7,"symbolLocation":416},{"imageOffset":12780188,"imageIndex":10},{"imageOffset":15202208,"imageIndex":10},{"imageOffset":21301484,"imageIndex":10},{"imageOffset":21278400,"imageIndex":10},{"imageOffset":24130936,"imageIndex":10},{"imageOffset":24131004,"imageIndex":10},{"imageOffset":17607452,"symbol":"-[UIView(CALayerDelegate) layoutSublayersOfLayer:]","symbolLocation":1492,"imageIndex":11},{"imageOffset":1813972,"symbol":"CA::Layer::layout_if_needed(CA::Transaction*)","symbolLocation":440,"imageIndex":12},{"imageOffset":1858352,"symbol":"CA::Layer::layout_and_display_if_needed(CA::Transaction*)","symbolLocation":124,"imageIndex":12},{"imageOffset":922556,"symbol":"CA::Context::commit_transaction(CA::Transaction*, double, double*)","symbolLocation":460,"imageIndex":12},{"imageOffset":1117168,"symbol":"CA::Transaction::commit()","symbolLocation":652,"imageIndex":12},{"imageOffset":1122468,"symbol":"CA::Transaction::flush_as_runloop_observer(bool)","symbolLocation":68,"imageIndex":12},{"imageOffset":575048,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__","symbolLocation":32,"imageIndex":13},{"imageOffset":553036,"symbol":"__CFRunLoopDoObservers","symbolLocation":528,"imageIndex":13},{"imageOffset":554244,"symbol":"__CFRunLoopRun","symbolLocation":968,"imageIndex":13},{"imageOffset":552232,"symbol":"CFRunLoopRunSpecific","symbolLocation":572,"imageIndex":13},{"imageOffset":15296,"symbol":"GSEventRunModal","symbolLocation":160,"imageIndex":14},{"imageOffset":12287964,"symbol":"-[UIApplication _run]","symbolLocation":868,"imageIndex":11},{"imageOffset":12303444,"symbol":"UIApplicationMain","symbolLocation":124,"imageIndex":11},{"imageOffset":15222052,"imageIndex":10},{"imageOffset":15221700,"imageIndex":10},{"imageOffset":12149000,"imageIndex":10},{"imageOffset":32312,"sourceFile":"<compiler-generated>","symbol":"static segmentedpickertestApp.$main()","symbolLocation":40,"imageIndex":7},{"imageOffset":32564,"sourceLine":11,"sourceFile":"segmentedpickertestApp.swift","symbol":"main","imageIndex":7,"symbolLocation":12},{"imageOffset":5464,"symbol":"start_sim","symbolLocation":20,"imageIndex":8},{"imageOffset":24664,"symbol":"start","symbolLocation":2224,"imageIndex":0}]},{"id":4119029,"frames":[{"imageOffset":9948,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}],"threadState":{"x":[{"value":6157955072},{"value":4099},{"value":6157418496},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6157955072},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4326155996},"far":{"value":4308992000}}},{"id":4119030,"threadState":{"x":[{"value":6158526104},{"value":6536638588,"symbolLocation":3636,"symbol":"__unnamed_3"},{"value":0},{"value":0},{"value":6755736688,"symbolLocation":0,"symbol":"protocol descriptor for Equatable"},{"value":4310177960,"symbolLocation":0,"symbol":"dyld4::APIs::_dyld_find_protocol_conformance_on_disk(void const*, void const*, void const*, unsigned int)"},{"value":105553140416960},{"value":6158525392},{"value":6755740964,"symbolLocation":0,"symbol":"protocol descriptor for Hashable"},{"value":6755736688,"symbolLocation":0,"symbol":"protocol descriptor for Equatable"},{"value":6158525998},{"value":0},{"value":1},{"value":411},{"value":0},{"value":9},{"value":6445153212,"symbolLocation":0,"symbol":"_dyld_find_protocol_conformance_on_disk"},{"value":8428591256,"symbolLocation":720,"symbol":"block_descriptor.41"},{"value":0},{"value":6537563032},{"value":6158526104},{"value":6536638588,"symbolLocation":3636,"symbol":"__unnamed_3"},{"value":6158526008},{"value":6158525999},{"value":6158525984},{"value":6158526024},{"value":4353736152},{"value":6537563564},{"value":6537563036}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6754460284},"cpsr":{"value":536875008},"fp":{"value":6158525856},"sp":{"value":6158525744},"esr":{"value":2449473547,"description":"(Data Abort) byte read Access flag fault"},"pc":{"value":6754464220},"far":{"value":8442997904}},"queue":"com.apple.root.utility-qos","frames":[{"imageOffset":3219932,"symbol":"swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolDescriptor<swift::InProcess> const*, bool)::$_8::operator()((anonymous namespace)::ConformanceSection const&) const::'lambda'(swift::TargetProtocolConformanceDescriptor<swift::InProcess> const&)::operator()(swift::TargetProtocolConformanceDescriptor<swift::InProcess> const&) const","symbolLocation":528,"imageIndex":9},{"imageOffset":3215996,"symbol":"swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolDescriptor<swift::InProcess> const*, bool)","symbolLocation":2516,"imageIndex":9},{"imageOffset":3210524,"symbol":"swift_conformsToProtocol","symbolLocation":100,"imageIndex":9},{"imageOffset":117224,"symbol":"AG::LayoutDescriptor::make_layout(AG::swift::metadata const*, AGComparisonMode, AG::LayoutDescriptor::HeapMode)","symbolLocation":116,"imageIndex":16},{"imageOffset":118308,"symbol":"AG::(anonymous namespace)::TypeDescriptorCache::fetch(AG::swift::metadata const*, unsigned int, AG::LayoutDescriptor::HeapMode, int)","symbolLocation":332,"imageIndex":16},{"imageOffset":113948,"symbol":"AG::LayoutDescriptor::Builder::should_visit_fields(AG::swift::metadata const*, bool)","symbolLocation":48,"imageIndex":16},{"imageOffset":113608,"symbol":"AG::LayoutDescriptor::Builder::visit_element(AG::swift::metadata const*, AG::swift::metadata::ref_kind, unsigned long, unsigned long)","symbolLocation":116,"imageIndex":16},{"imageOffset":27996,"symbol":"AG::swift::metadata_visitor::visit_field(AG::swift::metadata const*, AG::swift::field_record const&, unsigned long, unsigned long)","symbolLocation":132,"imageIndex":16},{"imageOffset":25856,"symbol":"AG::swift::metadata::visit(AG::swift::metadata_visitor&) const","symbolLocation":780,"imageIndex":16},{"imageOffset":117440,"symbol":"AG::LayoutDescriptor::make_layout(AG::swift::metadata const*, AGComparisonMode, AG::LayoutDescriptor::HeapMode)","symbolLocation":332,"imageIndex":16},{"imageOffset":118308,"symbol":"AG::(anonymous namespace)::TypeDescriptorCache::fetch(AG::swift::metadata const*, unsigned int, AG::LayoutDescriptor::HeapMode, int)","symbolLocation":332,"imageIndex":16},{"imageOffset":113948,"symbol":"AG::LayoutDescriptor::Builder::should_visit_fields(AG::swift::metadata const*, bool)","symbolLocation":48,"imageIndex":16},{"imageOffset":113608,"symbol":"AG::LayoutDescriptor::Builder::visit_element(AG::swift::metadata const*, AG::swift::metadata::ref_kind, unsigned long, unsigned long)","symbolLocation":116,"imageIndex":16},{"imageOffset":27996,"symbol":"AG::swift::metadata_visitor::visit_field(AG::swift::metadata const*, AG::swift::field_record const&, unsigned long, unsigned long)","symbolLocation":132,"imageIndex":16},{"imageOffset":25856,"symbol":"AG::swift::metadata::visit(AG::swift::metadata_visitor&) const","symbolLocation":780,"imageIndex":16},{"imageOffset":117440,"symbol":"AG::LayoutDescriptor::make_layout(AG::swift::metadata const*, AGComparisonMode, AG::LayoutDescriptor::HeapMode)","symbolLocation":332,"imageIndex":16},{"imageOffset":118308,"symbol":"AG::(anonymous namespace)::TypeDescriptorCache::fetch(AG::swift::metadata const*, unsigned int, AG::LayoutDescriptor::HeapMode, int)","symbolLocation":332,"imageIndex":16},{"imageOffset":113948,"symbol":"AG::LayoutDescriptor::Builder::should_visit_fields(AG::swift::metadata const*, bool)","symbolLocation":48,"imageIndex":16},{"imageOffset":113608,"symbol":"AG::LayoutDescriptor::Builder::visit_element(AG::swift::metadata const*, AG::swift::metadata::ref_kind, unsigned long, unsigned long)","symbolLocation":116,"imageIndex":16},{"imageOffset":27996,"symbol":"AG::swift::metadata_visitor::visit_field(AG::swift::metadata const*, AG::swift::field_record const&, unsigned long, unsigned long)","symbolLocation":132,"imageIndex":16},{"imageOffset":25856,"symbol":"AG::swift::metadata::visit(AG::swift::metadata_visitor&) const","symbolLocation":780,"imageIndex":16},{"imageOffset":117440,"symbol":"AG::LayoutDescriptor::make_layout(AG::swift::metadata const*, AGComparisonMode, AG::LayoutDescriptor::HeapMode)","symbolLocation":332,"imageIndex":16},{"imageOffset":123460,"symbol":"AG::(anonymous namespace)::TypeDescriptorCache::drain_queue(void*)","symbolLocation":356,"imageIndex":16},{"imageOffset":15676,"symbol":"_dispatch_client_callout","symbolLocation":16,"imageIndex":17},{"imageOffset":91604,"symbol":"_dispatch_root_queue_drain","symbolLocation":1076,"imageIndex":17},{"imageOffset":93528,"symbol":"_dispatch_worker_thread2","symbolLocation":232,"imageIndex":17},{"imageOffset":14568,"symbol":"_pthread_wqthread","symbolLocation":224,"imageIndex":5},{"imageOffset":9956,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":5}]},{"id":4119031,"threadState":{"x":[{"value":18446744073709551612},{"value":0},{"value":4294967295},{"value":0},{"value":8455737344,"symbolLocation":0,"symbol":"_dispatch_main_q"},{"value":18},{"value":0},{"value":0},{"value":0},{"value":6444180980,"symbolLocation":132,"symbol":"_dispatch_sigsuspend.mask"},{"value":4326194764,"symbolLocation":0,"symbol":"_pthread_qos_class_from_thread_qos.thread_qos_to_qos_class"},{"value":0},{"value":68719476736},{"value":9005068950962176},{"value":288230384471525209,"symbolLocation":288230376151711745,"symbol":"OBJC_CLASS_$_NSMethodSignature"},{"value":8319813464,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSMethodSignature"},{"value":515},{"value":288230384473367153,"symbolLocation":288230376151711745,"symbol":"OBJC_CLASS_$__UIKeyboardChangedInformation"},{"value":0},{"value":4294967295},{"value":0},{"value":6159097584},{"value":16777217},{"value":8455737344,"symbolLocation":0,"symbol":"_dispatch_main_q"},{"value":18},{"value":2148468479},{"value":4351},{"value":8447},{"value":105553140412288}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6443943472},"cpsr":{"value":1073745920},"fp":{"value":6159097392},"sp":{"value":6159097360},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4324829244},"far":{"value":6537162685}},"queue":"com.apple.UIKit.KeyboardManagement","frames":[{"imageOffset":10300,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":4},{"imageOffset":17968,"symbol":"_dlock_wait","symbolLocation":52,"imageIndex":17},{"imageOffset":17376,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":52,"imageIndex":17},{"imageOffset":80988,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":392,"imageIndex":17},{"imageOffset":79708,"symbol":"_dispatch_sync_f_slow","symbolLocation":160,"imageIndex":17},{"imageOffset":10694572,"symbol":"__37-[_UIRemoteKeyboards startConnection]_block_invoke_3","symbolLocation":116,"imageIndex":11},{"imageOffset":1257168,"symbol":"__invoking___","symbolLocation":144,"imageIndex":13},{"imageOffset":1245748,"symbol":"-[NSInvocation invoke]","symbolLocation":276,"imageIndex":13},{"imageOffset":7485996,"symbol":"__NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__","symbolLocation":12,"imageIndex":19},{"imageOffset":7485028,"symbol":"-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:]","symbolLocation":472,"imageIndex":19},{"imageOffset":7501440,"symbol":"__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5","symbolLocation":184,"imageIndex":19},{"imageOffset":111324,"symbol":"_xpc_connection_reply_callout","symbolLocation":60,"imageIndex":20},{"imageOffset":60712,"symbol":"_xpc_connection_call_reply_async","symbolLocation":76,"imageIndex":20},{"imageOffset":15796,"symbol":"_dispatch_client_callout3","symbolLocation":16,"imageIndex":17},{"imageOffset":141380,"symbol":"_dispatch_mach_msg_async_reply_invoke","symbolLocation":516,"imageIndex":17},{"imageOffset":48076,"symbol":"_dispatch_lane_serial_drain","symbolLocation":336,"imageIndex":17},{"imageOffset":51636,"symbol":"_dispatch_lane_invoke","symbolLocation":388,"imageIndex":17},{"imageOffset":97600,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":276,"imageIndex":17},{"imageOffset":95116,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":448,"imageIndex":17},{"imageOffset":14628,"symbol":"_pthread_wqthread","symbolLocation":284,"imageIndex":5},{"imageOffset":9956,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":5}]},{"id":4119032,"frames":[{"imageOffset":9948,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}],"threadState":{"x":[{"value":6159675392},{"value":8199},{"value":6159138816},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6159675392},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4326155996},"far":{"value":6159674240}}},{"id":4119034,"frames":[{"imageOffset":9948,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}],"threadState":{"x":[{"value":6160248832},{"value":11267},{"value":6159712256},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6160248832},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4326155996},"far":{"value":105553176117248}}},{"id":4119035,"name":"com.apple.uikit.eventfetch-thread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":52789443035136},{"value":2162692},{"value":52789443035136},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":12291},{"value":0},{"value":1},{"value":12291},{"value":3072},{"value":2043},{"value":2340610043},{"value":18446744073709551569},{"value":91},{"value":0},{"value":4294967295},{"value":2},{"value":52789443035136},{"value":2162692},{"value":52789443035136},{"value":6160817528},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4324892068},"cpsr":{"value":4096},"fp":{"value":6160817376},"sp":{"value":6160817296},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4324822032},"far":{"value":4766072832}},"frames":[{"imageOffset":3088,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":4},{"imageOffset":73124,"symbol":"mach_msg2_internal","symbolLocation":76,"imageIndex":4},{"imageOffset":36404,"symbol":"mach_msg_overwrite","symbolLocation":532,"imageIndex":4},{"imageOffset":3976,"symbol":"mach_msg","symbolLocation":20,"imageIndex":4},{"imageOffset":577240,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":156,"imageIndex":13},{"imageOffset":554424,"symbol":"__CFRunLoopRun","symbolLocation":1148,"imageIndex":13},{"imageOffset":552232,"symbol":"CFRunLoopRunSpecific","symbolLocation":572,"imageIndex":13},{"imageOffset":6572696,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":208,"imageIndex":19},{"imageOffset":6573244,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":60,"imageIndex":19},{"imageOffset":12952324,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":404,"imageIndex":11},{"imageOffset":6730364,"symbol":"__NSThread__start__","symbolLocation":720,"imageIndex":19},{"imageOffset":29888,"symbol":"_pthread_start","symbolLocation":104,"imageIndex":5},{"imageOffset":9968,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4311138304,
    "size" : 606208,
    "uuid" : "ffd8ab66-c9ab-31df-ab80-3a3dff367ddd",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4322525184,
    "size" : 16384,
    "uuid" : "12a8687b-486d-3a3d-aba1-6a789a4a3e19",
    "path" : "\/Users\/USER\/Library\/Developer\/Xcode\/DerivedData\/segmentedpickertest-evsjjabnusvhwyeapivofpqtplyl\/Build\/Intermediates.noindex\/Previews\/segmentedpickertest\/Intermediates.noindex\/segmentedpickertest.build\/Debug-iphonesimulator\/segmentedpickertest.build\/Objects-normal\/arm64\/ContentView.1.preview-thunk.dylib",
    "name" : "ContentView.1.preview-thunk.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4312662016,
    "size" : 49152,
    "uuid" : "13823d40-f83a-3ddf-8c9c-4391bdc3d01f",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4325326848,
    "size" : 32768,
    "uuid" : "af2db34b-2633-3ceb-b19c-e000edea762d",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4324818944,
    "size" : 229376,
    "uuid" : "642a38ac-927b-39b2-9654-365bc3f3c14e",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4326146048,
    "size" : 65536,
    "uuid" : "ca3c77b3-7c7b-312e-a130-32fdc563d382",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4326391808,
    "CFBundleShortVersionString" : "95",
    "CFBundleIdentifier" : "com.apple.mlcompiler.services",
    "size" : 114688,
    "uuid" : "bab278e9-61f1-388a-abf6-a24e9e5d58f4",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/MLCompilerServices.framework\/MLCompilerServices",
    "name" : "MLCompilerServices",
    "CFBundleVersion" : "95"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4309483520,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "me.alobaili.segmentedpickertest",
    "size" : 81920,
    "uuid" : "1f4b814c-0cfd-39b9-8037-e7e8f25fc9a1",
    "path" : "\/Users\/USER\/Library\/Developer\/Xcode\/UserData\/Previews\/Simulator Devices\/34F278EA-8A47-4364-A016-C7002E9F74FF\/data\/Containers\/Bundle\/Application\/44F8C17B-7C41-48DB-961F-D95F9AE9CC19\/segmentedpickertest.app\/segmentedpickertest",
    "name" : "segmentedpickertest",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4310024192,
    "size" : 294912,
    "uuid" : "d9b006d8-950f-3c79-b957-a8aee690603c",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
    "name" : "dyld_sim"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6751244288,
    "size" : 4628480,
    "uuid" : "2ed87af8-f215-3aaf-a41c-b01739f042b6",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/swift\/libswiftCore.dylib",
    "name" : "libswiftCore.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 7579631616,
    "CFBundleShortVersionString" : "5.0.83.1.105",
    "CFBundleIdentifier" : "com.apple.SwiftUI",
    "size" : 27643904,
    "uuid" : "ff92863f-3762-39a2-bc7b-1fe45e10df0e",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/SwiftUI.framework\/SwiftUI",
    "name" : "SwiftUI",
    "CFBundleVersion" : "5.0.83.1.105"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6516912128,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.UIKitCore",
    "size" : 26464256,
    "uuid" : "6b64a343-f832-3b1d-a6c3-f8ed32b35a83",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore",
    "CFBundleVersion" : "7082.1.112"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6607818752,
    "CFBundleShortVersionString" : "1.11",
    "CFBundleIdentifier" : "com.apple.QuartzCore",
    "size" : 3096576,
    "uuid" : "74469130-45f1-34bd-b386-da8c0072f37d",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/QuartzCore.framework\/QuartzCore",
    "name" : "QuartzCore",
    "CFBundleVersion" : "1049.38.3.6"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6445993984,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 3878912,
    "uuid" : "c665e05f-5989-30d1-b748-7688b8590d39",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2048.1.101"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6685499392,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.GraphicsServices",
    "size" : 36864,
    "uuid" : "ba53ab8f-c1b1-315f-b8f0-95f69385bf2a",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices",
    "name" : "GraphicsServices",
    "CFBundleVersion" : "1.0"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 7286657024,
    "CFBundleShortVersionString" : "5.0.77",
    "CFBundleIdentifier" : "com.apple.AttributeGraph",
    "size" : 253952,
    "uuid" : "61f1b03b-ffb3-3d75-a7b1-3df406c7f6ca",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/AttributeGraph.framework\/AttributeGraph",
    "name" : "AttributeGraph",
    "CFBundleVersion" : "5.0.77"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6443925504,
    "size" : 286720,
    "uuid" : "5161220e-c794-3f5a-a4b4-52630f7c4665",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6445146112,
    "size" : 139264,
    "uuid" : "48fbc0f7-6e74-3d1f-88fb-6df6fd784161",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libdyld.dylib",
    "name" : "libdyld.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6450393088,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 11227136,
    "uuid" : "508eec71-652e-35bc-b02c-7dff66ccd20a",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "2048.1.101"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6443163648,
    "size" : 241664,
    "uuid" : "9890e957-84a4-3af5-8028-cc758799fdf9",
    "path" : "\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21A342\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.0.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libxpc.dylib",
    "name" : "libxpc.dylib"
  }
],
  "sharedCache" : {
  "base" : 6442450944,
  "size" : 2807644160,
  "uuid" : "a14556fc-dd94-3454-a3bf-ab634312f571"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)\nWritable regions: Total=1.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.0G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nAttributeGraph Data               1024K        1 \nColorSync                          240K        8 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           987.4M       50 \nMALLOC guard page                  288K       18 \nSTACK GUARD                       56.1M        7 \nStack                             11.2M        7 \nVM_ALLOCATE                         32K        1 \n__DATA                            14.9M      467 \n__DATA_CONST                      47.8M      486 \n__DATA_DIRTY                       107K        9 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       726.6M       10 \n__OBJC_RO                         66.0M        1 \n__OBJC_RW                         2178K        1 \n__TEXT                           510.5M      496 \ndyld private memory               1088K        8 \nmapped file                       40.8M        9 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              2.4G     1584 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "2fd5a70d655ded06b0f8996d803a206022b6a384",
  "trialInfo" : {
  "rollouts" : [

  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro18,2, BootROM 10151.1.1, proc 10:8:2 processors, 32 GB, SMC 
Graphics: Apple M1 Max, Apple M1 Max, Built-In
Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Samsung
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Aug  8 2023 04:27:44 version 20.10.1062.3.8.7.162 FWID 01-8e237e8f
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: AirPod Case
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
alobaili commented 3 months ago

@KazaiMazai Thank you for the fix! Any plans on issuing a new release?

KazaiMazai commented 3 months ago

@alobaili it's already there! Enjoy🙌