Skip to content

iOS 26 crashes #26

@Jakar510

Description

@Jakar510

I have a MAUI.iOS app using Shell with the following UI:

        <vlv:VirtualizeListView ItemsSource="{Binding TestValues}">
            <vlv:VirtualizeListView.ItemTemplate>
                <DataTemplate x:DataType="system:String">
                    <vlv:VirtualizeListViewCell>
                        <Label Text="{Binding .}"
                               FontSize="25" />
                    </vlv:VirtualizeListViewCell>
                </DataTemplate>
            </vlv:VirtualizeListView.ItemTemplate>
        </vlv:VirtualizeListView>

And i get:


**ObjCRuntime.ObjCException:** 'Objective-C exception thrown.  Name: CALayerInvalidGeometry Reason: CALayer bounds contains NaN: [0 nan; 810 inf]. Layer: <CALayer:0x11a0a2c40; position = CGPoint (405 inf); bounds = CGRect (0 0; 810 inf); delegate = <Microsoft_Maui_Platform_MauiScrollView: 0x119fa1400; baseClass = UIScrollView; frame = (0 nan; 810 inf); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x11a0a2f70>; layer = <CALayer: 0x11a0a2c40>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {nan, 0, 0, 0}>; sublayers = (<CALayer: 0x11a0a2f10>, <CALayer: 0x11a0a37b0>, <CALayer: 0x11a0a35d0>); opaque = YES; masksToBounds = YES; allowsGroupOpacity = YES; >
Native stack trace:
	0   CoreFoundation                      0x000000019c7028d4 973E47E5-88F0-3367-B9D4-46D5CB999B75 + 825556
	1   libobjc.A.dylib                     0x00000001996797c4 objc_exception_throw + 88
	2   CoreFoundation                      0x000000019c78d8d4 973E47E5-88F0-3367-B9D4-46D5CB999B75 + 1394900
	3   QuartzCore                          0x000000019d088f98 A7BE12F2-9D37-31AC-A424-1D24F6B7ED93 + 593816
	4   QuartzCore                          0x000000019d2a7598 A7BE12F2-9D37-31AC-A424-1D24F6B7ED93 + 2815384
	5   UIKitCore                           0x00000001a2dc6a28 C98EAB32-B273-3430-B0C5-46522C904CBB + 15333928
	6   UIKitCore                           0x00000001a382463c C98EAB32-B273-3430-B0C5-46522C904CBB + 26203708
	7   UIKitCore                           0x00000001a37bfa98 C98EAB32-B273-3430-B0C5-46522C904CBB + 25791128
	8   UIKitCore                           0x00000001a37c0984 C98EAB32-B273-3430-B0C5-46522C904CBB + 25794948
	9   UIKitCore                           0x00000001a1f66e98 C98EAB32-B273-3430-B0C5-46522C904CBB + 261784
	10  UIKitCore                           0x00000001a37bfad8 C98EAB32-B273-3430-B0C5-46522C904CBB + 25791192
	11  TrueKeep.Maui                       0x0000000102c6f7b0 xamarin_dyn_objc_msgSendSuper + 164
	12  TrueKeep.Maui                       0x0000000102c4189c interp_to_native_trampoline + 172
	13  TrueKeep.Maui                       0x0000000102dffd08 ves_pinvoke_method + 568
	14  TrueKeep.Maui                       0x0000000102df3068 mono_interp_exec_method + 3016
	15  TrueKeep.Maui                       0x0000000102df0268 interp_entry_from_trampoline + 656
	16  TrueKeep.Maui                       0x0000000102c41970 native_to_interp_trampoline + 112
	17  TrueKeep.Maui                       0x0000000102e38d14 -[Microsoft_Maui_Platform_MauiView layoutSubviews] + 96
	18  UIKitCore                           0x00000001a1f4e078 C98EAB32-B273-3430-B0C5-46522C904CBB + 159864
	19  UIKitCore                           0x00000001a1f4eb38 C98EAB32-B273-3430-B0C5-46522C904CBB + 162616
	20  UIKitCore                           0x00000001a3834f68 C98EAB32-B273-3430-B0C5-46522C904CBB + 26271592
	21  QuartzCore                          0x000000019d0a49a8 A7BE12F2-9D37-31AC-A424-1D24F6B7ED93 + 706984
	22  QuartzCore                          0x000000019d0872fc A7BE12F2-9D37-31AC-A424-1D24F6B7ED93 + 586492
	23  QuartzCore                          0x000000019d0a5f84 A7BE12F2-9D37-31AC-A424-1D24F6B7ED93 + 712580
	24  QuartzCore                          0x000000019d066f78 A7BE12F2-9D37-31AC-A424-1D24F6B7ED93 + 454520
	25  QuartzCore                          0x000000019d093ab0 A7BE12F2-9D37-31AC-A424-1D24F6B7ED93 + 637616
	26  UIKitCore                           0x00000001a2087dd0 C98EAB32-B273-3430-B0C5-46522C904CBB + 1445328
	27  CoreFoundation                      0x000000019c6554f8 973E47E5-88F0-3367-B9D4-46D5CB999B75 + 115960
	28  CoreFoundation                      0x000000019c6551c4 973E47E5-88F0-3367-B9D4-46D5CB999B75 + 115140
	29  CoreFoundation                      0x000000019c6568cc 973E47E5-88F0-3367-B9D4-46D5CB999B75 + 121036
	30  CoreFoundation                      0x000000019c655c44 973E47E5-88F0-3367-B9D4-46D5CB999B75 + 117828
	31  GraphicsServices                    0x000000023b79b498 GSEventRunModal + 120
	32  UIKitCore                           0x00000001a1fd0ddc C98EAB32-B273-3430-B0C5-46522C904CBB + 695772
	33  UIKitCore                           0x00000001a1f75b0c UIApplicationMain + 336
	34  TrueKeep.Maui                       0x0000000102c581f4 xamarin_UIApplicationMain + 60
	35  TrueKeep.Maui                       0x0000000102e013b0 do_icall + 316
	36  TrueKeep.Maui                       0x0000000102dff980 do_icall_wrapper + 348
	37  TrueKeep.Maui                       0x0000000102df2eb4 mono_interp_exec_method + 2580
	38  TrueKeep.Maui                       0x0000000102df0a6c interp_runtime_invoke + 236
	39  TrueKeep.Maui                       0x0000000102dbf51c mono_jit_runtime_invoke + 1244
	40  TrueKeep.Maui                       0x0000000102d68918 mono_runtime_invoke_checked + 148
	41  TrueKeep.Maui                       0x0000000102d6e81c mono_runtime_exec_main_checked + 116
	42  TrueKeep.Maui                       0x0000000102dc5fe4 mono_jit_exec + 356
	43  TrueKeep.Maui                       0x0000000102c6e214 xamarin_main + 2032
	44  TrueKeep.Maui                       0x0000000102e306e4 main + 64
	45  dyld                                0x00000001996cee28 9DC34712-11AA-3B1D-AFE0-01B95A6E40D3 + 20008

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions