dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.14k stars 1.74k forks source link

ListView with observable collection as item source is crashing app when not debugging #11831

Open kirankumar4vr opened 1 year ago

kirankumar4vr commented 1 year ago

Description

I've created a simple MAUI app containing a list view with an observable collection as an item source. The app works fine when debugging the app from visual studio but crashes when simply running the app or trying to run the app in release mode. On iOS, when the app crashes a problem report is shown and I've added that report below in the log. I found the issue when trying to migrate my existing Xamarin.Forms app to .Net MAUI. I've created a sample repo to reproduce the issue and the link is below.

Steps to Reproduce

Clone the repo Debug the app on Android / iOS (app works fine) Stop the debugger and launch app on Android / iOS App crashes

Link to public reproduction project repository

https://github.com/kirankumar4vr/MAUIListViewIssue.git

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

iOS 15+, Android API 29+

Did you find any workaround?

None

Relevant log output

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

Incident Identifier: 6A64C515-8B86-470F-B933-751A52162CDB
CrashReporter Key:   5BEA1CC6-A21B-E914-13AF-9C34E5C36903
Hardware Model:      MacBookPro16,2
Process:             ListViewBug [15239]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/556D1A23-FB8F-471D-81D0-9515632D14F9/data/Containers/Bundle/Application/C6B78D1F-C9CD-477F-B4B7-FF9E5CCE49D5/ListViewBug.app/ListViewBug
Identifier:          com.companyname.listviewbug
Version:             1.0 (1)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [25693]
Coalition:           com.apple.CoreSimulator.SimDevice.556D1A23-FB8F-471D-81D0-9515632D14F9 [5596]
Responsible Process: SimulatorTrampoline [789]

Date/Time:           2022-12-02 11:50:30.4140 -0500
Launch Time:         2022-12-02 11:50:25.0918 -0500
OS Version:          macOS 12.6 (21G115)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Thread 0 Crashed:: tid_103 Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x7ff833de600e __pthread_kill + 10
1   libsystem_pthread.dylib             0x7ff833e3d1ff pthread_kill + 263
2   libsystem_c.dylib                   0x7ff800132fe0 abort + 130
3   libmonosgen-2.0.dylib                  0x10472ce6d sigabrt_signal_handler.cold.1 + 45
4   libmonosgen-2.0.dylib                  0x10457ecf8 sigabrt_signal_handler + 152
5   libsystem_platform.dylib            0x7ff833e30dfd _sigtramp + 29
6   ???                                    0x103be3a00 ???
7   libsystem_c.dylib                   0x7ff800132fe0 abort + 130
8   libxamarin-dotnet-debug.dylib          0x103db4597 xamarin_unhandled_exception_handler + 71
9   libmonosgen-2.0.dylib                  0x10435e3d5 mono_invoke_unhandled_exception_hook + 133
10  libmonosgen-2.0.dylib                  0x104523325 mono_handle_exception_internal + 8165
11  libmonosgen-2.0.dylib                  0x104521335 mono_handle_exception + 21
12  libmonosgen-2.0.dylib                  0x10458f689 interp_throw + 185
13  libmonosgen-2.0.dylib                  0x104582589 interp_exec_method + 377
14  libmonosgen-2.0.dylib                  0x104580a53 interp_runtime_invoke + 259
15  libmonosgen-2.0.dylib                  0x1043a5a18 mono_runtime_invoke_checked + 136
16  libmonosgen-2.0.dylib                  0x1043ada2c do_exec_main_checked + 92
17  libmonosgen-2.0.dylib                  0x1044dca82 mono_jit_exec + 354
18  libxamarin-dotnet-debug.dylib          0x103dc7e77 xamarin_main + 1927
19  ListViewBug                            0x1033060c4 main + 68 (main.x86_64.mm:78)
20  dyld_sim                               0x103a612bf start_sim + 10
21  dyld                                   0x10a5dc52e start + 462

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

Thread 2:: SGen worker
0   libsystem_kernel.dylib              0x7ff833de23ea __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x7ff833e3da6f _pthread_cond_wait + 1249
2   libmonosgen-2.0.dylib                  0x104464443 thread_func + 483
3   libsystem_pthread.dylib             0x7ff833e3d4e1 _pthread_start + 125
4   libsystem_pthread.dylib             0x7ff833e38f6b thread_start + 15

Thread 3:: Finalizer
0   libsystem_kernel.dylib              0x7ff833ddf9b6 semaphore_wait_trap + 10
1   libmonosgen-2.0.dylib                  0x1043e665b finalizer_thread + 299
2   libmonosgen-2.0.dylib                  0x1043be7c4 start_wrapper_internal + 372
3   libmonosgen-2.0.dylib                  0x1043be616 start_wrapper + 38
4   libsystem_pthread.dylib             0x7ff833e3d4e1 _pthread_start + 125
5   libsystem_pthread.dylib             0x7ff833e38f6b thread_start + 15

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

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

Thread 6:
0   libsystem_pthread.dylib             0x7ff833e38f48 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib             0x7ff833e38f48 start_wqthread + 0

Thread 8::  Dispatch queue: com.apple.UIKit.KeyboardManagement
0   libsystem_kernel.dylib              0x7ff833de10ea __ulock_wait + 10
1   libdispatch.dylib                   0x7ff80013d1cb _dlock_wait + 45
2   libdispatch.dylib                   0x7ff80013d02d _dispatch_thread_event_wait_slow + 40
3   libdispatch.dylib                   0x7ff80014d42c __DISPATCH_WAIT_FOR_QUEUE__ + 358
4   libdispatch.dylib                   0x7ff80014cf8b _dispatch_sync_f_slow + 202
5   UIKitCore                              0x115c409a2 __37-[_UIRemoteKeyboards startConnection]_block_invoke_2 + 118
6   CoreFoundation                      0x7ff80042ddcc __invoking___ + 140
7   CoreFoundation                      0x7ff80042aff5 -[NSInvocation invoke] + 305
8   Foundation                          0x7ff800d52ede __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 17
9   Foundation                          0x7ff800d52ab5 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 629
10  Foundation                          0x7ff800d5772b __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 205
11  libxpc.dylib                        0x7ff80008fea8 _xpc_connection_reply_callout + 36
12  libxpc.dylib                        0x7ff800084ff5 _xpc_connection_call_reply_async + 69
13  libdispatch.dylib                   0x7ff80013caa0 _dispatch_client_callout3 + 8
14  libdispatch.dylib                   0x7ff80015c75e _dispatch_mach_msg_async_reply_invoke + 630
15  libdispatch.dylib                   0x7ff8001440fb _dispatch_lane_serial_drain + 362
16  libdispatch.dylib                   0x7ff80014501a _dispatch_lane_invoke + 455
17  libdispatch.dylib                   0x7ff800151b46 _dispatch_workloop_worker_thread + 870
18  libsystem_pthread.dylib             0x7ff833e39fd0 _pthread_wqthread + 326
19  libsystem_pthread.dylib             0x7ff833e38f57 start_wqthread + 15

Thread 9:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib              0x7ff833ddf97a mach_msg_trap + 10
1   libsystem_kernel.dylib              0x7ff833ddfce8 mach_msg + 56
2   CoreFoundation                      0x7ff800386766 __CFRunLoopServiceMachPort + 145
3   CoreFoundation                      0x7ff800380f6f __CFRunLoopRun + 1371
4   CoreFoundation                      0x7ff800380637 CFRunLoopRunSpecific + 560
5   Foundation                          0x7ff800c569fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
6   Foundation                          0x7ff800c56c75 -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
7   UIKitCore                              0x115efae7e -[UIEventFetcher threadMain] + 535
8   Foundation                          0x7ff800c80247 __NSThread__start__ + 1009
9   libsystem_pthread.dylib             0x7ff833e3d4e1 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff833e38f6b thread_start + 15

Thread 10:
0   libsystem_pthread.dylib             0x7ff833e38f48 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000010a657600  rcx: 0x00007ff7bcd21728  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x00007ff7bcd21750  rsp: 0x00007ff7bcd21728
   r8: 0x00007ff7bcd21070   r9: 0x00007ff7bcd21300  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x00007ff7bcd22990  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff833de600e  rfl: 0x0000000000000246  cr2: 0x0000000103acf000

Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133

Binary Images:
    0x7ff833dde000 -     0x7ff833e15fff libsystem_kernel.dylib (*) <8cc28466-fd2f-3c80-9834-9525b7beac19> /usr/lib/system/libsystem_kernel.dylib
    0x7ff833e37000 -     0x7ff833e42ff7 libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib
    0x7ff8000b5000 -     0x7ff800139ff7 libsystem_c.dylib (*) <d16715ed-312b-3a16-8e14-89060a206292> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib
       0x10432f000 -        0x1047d6fff libmonosgen-2.0.dylib (*) <f8949946-af1e-30fc-a07b-82a0886b8297> /Users/USER/Library/Developer/CoreSimulator/Devices/556D1A23-FB8F-471D-81D0-9515632D14F9/data/Containers/Bundle/Application/C6B78D1F-C9CD-477F-B4B7-FF9E5CCE49D5/ListViewBug.app/libmonosgen-2.0.dylib
    0x7ff833e2d000 -     0x7ff833e36fef libsystem_platform.dylib (*) <a8a33774-6d44-35e9-ad2a-bad9e4d5192a> /usr/lib/system/libsystem_platform.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x103d80000 -        0x103dcffff libxamarin-dotnet-debug.dylib (*) <7b954665-bfb1-3283-83c4-a5a41b2eec39> /Users/USER/Library/Developer/CoreSimulator/Devices/556D1A23-FB8F-471D-81D0-9515632D14F9/data/Containers/Bundle/Application/C6B78D1F-C9CD-477F-B4B7-FF9E5CCE49D5/ListViewBug.app/libxamarin-dotnet-debug.dylib
       0x1031db000 -        0x1033bafff com.companyname.listviewbug (1.0) <4ce84502-c875-33da-bf6c-21e8d8f6e174> /Users/USER/Library/Developer/CoreSimulator/Devices/556D1A23-FB8F-471D-81D0-9515632D14F9/data/Containers/Bundle/Application/C6B78D1F-C9CD-477F-B4B7-FF9E5CCE49D5/ListViewBug.app/ListViewBug
       0x103a5f000 -        0x103abefff dyld_sim (*) <db2ea9eb-03d5-3b81-a6ce-26ec4dd81b07> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x10a5d7000 -        0x10a642fff dyld (*) <71febccd-d9dc-3599-9971-2b3407c588a8> /usr/lib/dyld
    0x7ff80013a000 -     0x7ff800185ff3 libdispatch.dylib (*) <c7362476-68b1-3ebe-aa4a-46c0b676b3f7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib
       0x114ff7000 -        0x116a9cfff com.apple.UIKitCore (1.0) <35e99f75-b102-3980-ad6e-a8ce4d94ca2b> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
    0x7ff800302000 -     0x7ff800689ffc com.apple.CoreFoundation (6.9) <b5a38680-23b2-3ada-8f11-32c707243f2f> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    0x7ff8006fc000 -     0x7ff80102eff4 com.apple.Foundation (6.9) <0ccd4306-bb63-3964-8ff5-e8d30bf494f5> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation
    0x7ff800078000 -     0x7ff8000b0ff8 libxpc.dylib (*) <f69349e8-ba8a-3740-96ce-55008c635242> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libxpc.dylib

EOF

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

{"app_name":"ListViewBug","timestamp":"2022-12-02 11:50:39.00 -0500","app_version":"1.0","slice_uuid":"4ce84502-c875-33da-bf6c-21e8d8f6e174","build_version":"1","platform":7,"bundleID":"com.companyname.listviewbug","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6 (21G115)","incident_id":"6A64C515-8B86-470F-B933-751A52162CDB","name":"ListViewBug"}
{
  "uptime" : 140000,
  "procLaunch" : "2022-12-02 11:50:25.0918 -0500",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 502,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "procStartAbsTime" : 144485108628983,
  "coalitionID" : 5596,
  "osVersion" : {
    "train" : "macOS 12.6",
    "build" : "21G115",
    "releaseType" : "User"
  },
  "captureTime" : "2022-12-02 11:50:30.4140 -0500",
  "incident" : "6A64C515-8B86-470F-B933-751A52162CDB",
  "bug_type" : "309",
  "pid" : 15239,
  "procExitAbsTime" : 144490186642319,
  "cpuType" : "X86-64",
  "procName" : "ListViewBug",
  "procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/556D1A23-FB8F-471D-81D0-9515632D14F9\/data\/Containers\/Bundle\/Application\/C6B78D1F-C9CD-477F-B4B7-FF9E5CCE49D5\/ListViewBug.app\/ListViewBug",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"1","CFBundleIdentifier":"com.companyname.listviewbug"},
  "storeInfo" : {"deviceIdentifierForVendor":"D3586602-CFCB-5B01-A31A-F181B07F8E32","thirdParty":true},
  "parentProc" : "launchd_sim",
  "parentPid" : 25693,
  "coalitionName" : "com.apple.CoreSimulator.SimDevice.556D1A23-FB8F-471D-81D0-9515632D14F9",
  "crashReporterKey" : "5BEA1CC6-A21B-E914-13AF-9C34E5C36903",
  "responsiblePid" : 789,
  "responsibleProc" : "SimulatorTrampoline",
  "wakeTime" : 9474,
  "bridgeVersion" : {"build":"19P6067","train":"6.6"},
  "sleepWakeUUID" : "3732FBCB-7DAB-495B-9BE0-3A448F59A949",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":30},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":2378568,"threadState":{"r13":{"value":140702001539472},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":140702001533040},"cr2":{"value":4356632576},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":140702001533696},"r15":{"value":22},"rbx":{"value":4469388800,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703998828558,"matchesCrashFrame":1},"rbp":{"value":140702001534800},"rsp":{"value":140702001534760},"r12":{"value":259},"rcx":{"value":140702001534760},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"name":"tid_103","queue":"com.apple.main-thread","frames":[{"imageOffset":32782,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":516064,"symbol":"abort","symbolLocation":130,"imageIndex":2},{"imageOffset":4185709,"symbol":"sigabrt_signal_handler.cold.1","symbolLocation":45,"imageIndex":3},{"imageOffset":2424056,"symbol":"sigabrt_signal_handler","symbolLocation":152,"imageIndex":3},{"imageOffset":15869,"symbol":"_sigtramp","symbolLocation":29,"imageIndex":4},{"imageOffset":4357765632,"imageIndex":5},{"imageOffset":516064,"symbol":"abort","symbolLocation":130,"imageIndex":2},{"imageOffset":214423,"symbol":"xamarin_unhandled_exception_handler","symbolLocation":71,"imageIndex":6},{"imageOffset":193493,"symbol":"mono_invoke_unhandled_exception_hook","symbolLocation":133,"imageIndex":3},{"imageOffset":2048805,"symbol":"mono_handle_exception_internal","symbolLocation":8165,"imageIndex":3},{"imageOffset":2040629,"symbol":"mono_handle_exception","symbolLocation":21,"imageIndex":3},{"imageOffset":2492041,"symbol":"interp_throw","symbolLocation":185,"imageIndex":3},{"imageOffset":2438537,"symbol":"interp_exec_method","symbolLocation":377,"imageIndex":3},{"imageOffset":2431571,"symbol":"interp_runtime_invoke","symbolLocation":259,"imageIndex":3},{"imageOffset":485912,"symbol":"mono_runtime_invoke_checked","symbolLocation":136,"imageIndex":3},{"imageOffset":518700,"symbol":"do_exec_main_checked","symbolLocation":92,"imageIndex":3},{"imageOffset":1759874,"symbol":"mono_jit_exec","symbolLocation":354,"imageIndex":3},{"imageOffset":294519,"symbol":"xamarin_main","symbolLocation":1927,"imageIndex":6},{"imageOffset":1224900,"sourceLine":78,"sourceFile":"main.x86_64.mm","symbol":"main","imageIndex":7,"symbolLocation":68},{"imageOffset":8895,"symbol":"start_sim","symbolLocation":10,"imageIndex":8},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":9}]},{"id":2378598,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":2378601,"name":"SGen worker","frames":[{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":1},{"imageOffset":1266755,"symbol":"thread_func","symbolLocation":483,"imageIndex":3},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":2378602,"name":"Finalizer","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":751195,"symbol":"finalizer_thread","symbolLocation":299,"imageIndex":3},{"imageOffset":587716,"symbol":"start_wrapper_internal","symbolLocation":372,"imageIndex":3},{"imageOffset":587286,"symbol":"start_wrapper","symbolLocation":38,"imageIndex":3},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":2378626,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":2378627,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":2378628,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":2378629,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":2378630,"queue":"com.apple.UIKit.KeyboardManagement","frames":[{"imageOffset":12522,"symbol":"__ulock_wait","symbolLocation":10,"imageIndex":0},{"imageOffset":12747,"symbol":"_dlock_wait","symbolLocation":45,"imageIndex":10},{"imageOffset":12333,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":40,"imageIndex":10},{"imageOffset":78892,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":358,"imageIndex":10},{"imageOffset":77707,"symbol":"_dispatch_sync_f_slow","symbolLocation":202,"imageIndex":10},{"imageOffset":12884386,"symbol":"__37-[_UIRemoteKeyboards startConnection]_block_invoke_2","symbolLocation":118,"imageIndex":11},{"imageOffset":1228236,"symbol":"__invoking___","symbolLocation":140,"imageIndex":12},{"imageOffset":1216501,"symbol":"-[NSInvocation invoke]","symbolLocation":305,"imageIndex":12},{"imageOffset":6647518,"symbol":"__NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__","symbolLocation":17,"imageIndex":13},{"imageOffset":6646453,"symbol":"-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:]","symbolLocation":629,"imageIndex":13},{"imageOffset":6666027,"symbol":"__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3","symbolLocation":205,"imageIndex":13},{"imageOffset":97960,"symbol":"_xpc_connection_reply_callout","symbolLocation":36,"imageIndex":14},{"imageOffset":53237,"symbol":"_xpc_connection_call_reply_async","symbolLocation":69,"imageIndex":14},{"imageOffset":10912,"symbol":"_dispatch_client_callout3","symbolLocation":8,"imageIndex":10},{"imageOffset":141150,"symbol":"_dispatch_mach_msg_async_reply_invoke","symbolLocation":630,"imageIndex":10},{"imageOffset":41211,"symbol":"_dispatch_lane_serial_drain","symbolLocation":362,"imageIndex":10},{"imageOffset":45082,"symbol":"_dispatch_lane_invoke","symbolLocation":455,"imageIndex":10},{"imageOffset":97094,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":870,"imageIndex":10},{"imageOffset":12240,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":1},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":1}]},{"id":2378631,"name":"com.apple.uikit.eventfetch-thread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":0},{"imageOffset":542566,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":12},{"imageOffset":520047,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":12},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":12},{"imageOffset":5614076,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":213,"imageIndex":13},{"imageOffset":5614709,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":72,"imageIndex":13},{"imageOffset":15744638,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":535,"imageIndex":11},{"imageOffset":5784135,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":2378632,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703998795776,
    "size" : 229376,
    "uuid" : "8cc28466-fd2f-3c80-9834-9525b7beac19",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703999160320,
    "size" : 49144,
    "uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703129358336,
    "size" : 544760,
    "uuid" : "d16715ed-312b-3a16-8e14-89060a206292",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4365414400,
    "size" : 4882432,
    "uuid" : "f8949946-af1e-30fc-a07b-82a0886b8297",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/556D1A23-FB8F-471D-81D0-9515632D14F9\/data\/Containers\/Bundle\/Application\/C6B78D1F-C9CD-477F-B4B7-FF9E5CCE49D5\/ListViewBug.app\/libmonosgen-2.0.dylib",
    "name" : "libmonosgen-2.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703999119360,
    "size" : 40944,
    "uuid" : "a8a33774-6d44-35e9-ad2a-bad9e4d5192a",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4359454720,
    "size" : 327680,
    "uuid" : "7b954665-bfb1-3283-83c4-a5a41b2eec39",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/556D1A23-FB8F-471D-81D0-9515632D14F9\/data\/Containers\/Bundle\/Application\/C6B78D1F-C9CD-477F-B4B7-FF9E5CCE49D5\/ListViewBug.app\/libxamarin-dotnet-debug.dylib",
    "name" : "libxamarin-dotnet-debug.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4347244544,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.companyname.listviewbug",
    "size" : 1966080,
    "uuid" : "4ce84502-c875-33da-bf6c-21e8d8f6e174",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/556D1A23-FB8F-471D-81D0-9515632D14F9\/data\/Containers\/Bundle\/Application\/C6B78D1F-C9CD-477F-B4B7-FF9E5CCE49D5\/ListViewBug.app\/ListViewBug",
    "name" : "ListViewBug",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4356173824,
    "size" : 393216,
    "uuid" : "db2ea9eb-03d5-3b81-a6ce-26ec4dd81b07",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
    "name" : "dyld_sim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4468862976,
    "size" : 442368,
    "uuid" : "71febccd-d9dc-3599-9971-2b3407c588a8",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703129903104,
    "size" : 311284,
    "uuid" : "c7362476-68b1-3ebe-aa4a-46c0b676b3f7",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4647251968,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.UIKitCore",
    "size" : 27942912,
    "uuid" : "35e99f75-b102-3980-ad6e-a8ce4d94ca2b",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore",
    "CFBundleVersion" : "6092.1.111"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703131770880,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 3702781,
    "uuid" : "b5a38680-23b2-3ada-8f11-32c707243f2f",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1946.102"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703135940608,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 9646069,
    "uuid" : "0ccd4306-bb63-3964-8ff5-e8d30bf494f5",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1946.102"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703129108480,
    "size" : 233465,
    "uuid" : "f69349e8-ba8a-3740-96ce-55008c635242",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libxpc.dylib",
    "name" : "libxpc.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703128616960,
  "size" : 2997714944,
  "uuid" : "11ba86e3-43c1-3a36-a4c1-144629d13bec"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)\nWritable regions: Total=669.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=669.0M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                           24K        4 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           240.1M       62 \nMALLOC guard page                   32K        8 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nMALLOC_SMALL                         4K        1 \nSTACK GUARD                       56.0M       11 \nStack                             14.6M       11 \nVM_ALLOCATE                       27.2M       52 \n__DATA                            26.1M      857 \n__DATA_CONST                      76.3M      803 \n__DATA_DIRTY                        26K       12 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       479.6M      197 \n__OBJC_RO                         28.0M        1 \n__OBJC_RW                          882K        1 \n__TEXT                           800.5M      822 \ndyld private memory               1536K        3 \nmapped file                       77.9M       82 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              2.2G     2933 \nTOTAL, minus reserved VM space     1.8G     2933 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "name" : "tid_103",
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000544
    },
    {
      "rolloutId" : "6112e14f37f5d11121dcd519",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "634710168e8be655c1316aaa"
      },
      "deploymentId" : 240000231
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro16,2, BootROM 1731.140.2.0.0 (iBridge: 19.16.16067.0.0,0), 4 processors, Quad-Core Intel Core i5, 2 GHz, 16 GB, SMC 
Graphics: Intel Iris Plus Graphics, Intel Iris Plus Graphics, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Micron, MT53E1G32D4NQ-053
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Micron, MT53E1G32D4NQ-053
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 18:02:56 version 9.30.464.0.32.5.76 FWID 01-c081cfed
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: T2Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 86.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 86.0
ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

Zhanglirong-Winnie commented 1 year ago

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on android platform with above project. MAUIListViewIssue-main.zip 11831