dont net 9.0 app crash only on release mode

Hello,

I upgraded from net 8.0 to net 9.0 Maui mobile application. we are using syncfusion nuget packages as shown in the screenshot 

Image_1653_1759177613316

In the debugging mode everything works fine. but in release mode the app is crashing. 

any help would be appreciated. 



5 Replies

VM Vidyalakshmi Mani Syncfusion Team September 30, 2025 12:47 PM UTC

Hi Thapparambil,


Based on the details shared, we have analyzed the query and found it to be working fine on our end. We tested it on following Scenarios:

  • Pixel 7 (API 36)

  • iPhone 16 Pro Max(18.5)

  • Microsoft.Maui.Controls Version(9.0.82 and 9.0.100)


using a simple sample as well as all the packages mentioned. We have attached tested sample with output with this forum. We would appreciate any additional information, especially regarding Tested device, Issue occurring Platform and the scenarios where you face this issue. A code snippet or sample that replicates the problem would be extremely helpful for us to investigate further and ensure a comprehensive resolution.


Regards,

Vidyalakshmi M.




Attachment: RadialGaugeSampleAndOutputImages_f0c1e31f.zip


TP Thapparambil Praseed September 30, 2025 09:37 PM UTC

Thank you Mani

why in debug mode using simulator it works fine but in release mode deploying iphone 13 pro max 18.6.2

crashs 

this screenshot in debug mode

Image_3845_1759268129421





TP Thapparambil Praseed September 30, 2025 09:37 PM UTC

Thank you Mani

why in debug mode using simulator it works fine but in release mode deploying iphone 13 pro max 18.6.2

crashs 

this screenshot in debug mode

Image_3845_1759268129421





TP Thapparambil Praseed September 30, 2025 09:37 PM UTC

Thank you Mani

why in debug mode using simulator it works fine but in release mode deploying iphone 13 pro max 18.6.2

crashs 

this screenshot in debug mode

Image_3845_1759268129421

<gauge:SfRadialGauge

    WidthRequest="240"

    Margin="0"

    HeightRequest="240"

    IsVisible="{Binding ShowCpeStatus}">

    <gauge:SfRadialGauge.Axes>

        <gauge:RadialAxis

            RadiusFactor="1"

            Interval="0.25"

            CanScaleToFit="False"

            OffsetUnit="Pixel"

            WidthRequest="240"

            HeightRequest="240"

            EnableLoadingAnimation="True"

            StartAngle="270"

            EndAngle="270"

            Minimum="0"

            Maximum="{Binding CpeHoursRequired, Converter={StaticResource CpeStatusRequiredHoursConverter}, ConverterParameter={Binding CpeHoursCompleted}}"

            ShowTicks="False"

            ShowLabels="False"

            >

            <gauge:RadialAxis.AxisLineStyle>

                <gauge:RadialLineStyle ThicknessUnit="Pixel"

                           Thickness="20"

                           Fill="{StaticResource NabpLightGrey}"/>

            </gauge:RadialAxis.AxisLineStyle>

            <gauge:RadialAxis.Pointers>

                <gauge:RangePointer

                    Value="{Binding CpeHoursCompletedcopy}"

                    PointerOffset="1"

                    WidthUnit="Pixel"

                    PointerWidth="20"

                    CornerStyle="{Binding CpeCycleRequirementsMet, Converter={StaticResource CpeCircularGaugeRangeCapConverter}}"

                    Fill="{Binding CpeCycleRequirementsMet, Converter={StaticResource CpeStatusColorConverter}}"/>

            </gauge:RadialAxis.Pointers>


            <gauge:RadialAxis.Annotations>

                <gauge:GaugeAnnotation

                   DirectionUnit="Angle"

                   DirectionValue="270"

                   PositionFactor="0.2">


                    <gauge:GaugeAnnotation.Content>

                         <Label

                                HorizontalOptions="Center"

                                Text="{Binding CpeHoursCompleted, StringFormat='{0:F2}'}"

                                FontFamily="BoldFontFamily"

                                Padding="0"

                                TextColor="{StaticResource NabpDarkBlue}"

                                FontSize="60"/>

                    </gauge:GaugeAnnotation.Content>

                </gauge:GaugeAnnotation>

                <gauge:GaugeAnnotation

                    DirectionUnit="Angle"

                           DirectionValue="90"

                           PositionFactor="0.1">


                    <gauge:GaugeAnnotation.Content>

                         <Label


                                HorizontalOptions="Center"

                                VerticalTextAlignment="Start"

                                Text="completed"

                                FontFamily="LightFontFamily"

                                TextColor="{StaticResource NabpDarkBlue}"

                                FontSize="24"/>

                    </gauge:GaugeAnnotation.Content>

                </gauge:GaugeAnnotation>

                <gauge:GaugeAnnotation

                    DirectionUnit="Angle"

                           DirectionValue="90"

                           PositionFactor="0.4">


                    <gauge:GaugeAnnotation.Content>

                         <Label


                                Margin="0,10,0,0"

                                HorizontalOptions="Center"

                                Text="{Binding CpeHoursRequired, StringFormat='{0:F2}'}"

                                FontFamily="MediumFontFamily"

                                TextColor="{StaticResource NabpDarkBlue}"

                                FontSize="24"/>

                    </gauge:GaugeAnnotation.Content>

                </gauge:GaugeAnnotation>

                <gauge:GaugeAnnotation

                    DirectionUnit="Angle"

                    DirectionValue="90"

                    PositionFactor="0.6">


                    <gauge:GaugeAnnotation.Content>

                         <Label

                             HorizontalOptions="Center"

                             Text="required"

                             FontFamily="MediumFontFamily"

                             TextColor="{StaticResource NabpDarkBlue}"

                             FontSize="14"/>

                    </gauge:GaugeAnnotation.Content>

                </gauge:GaugeAnnotation>

            </gauge:RadialAxis.Annotations>


        </gauge:RadialAxis>

    </gauge:SfRadialGauge.Axes>

    <gauge:SfRadialGauge.GestureRecognizers>


        <TapGestureRecognizer

            Command="{Binding ShowDetailsCommand}" />


    </gauge:SfRadialGauge.GestureRecognizers>

</gauge:SfRadialGauge>




VM Vidyalakshmi Mani Syncfusion Team October 1, 2025 02:56 PM UTC

Hi Thapparambil,


We have tested the reported issue on an iPhone 13 Pro Max as well as on other simulator versions in release mode, and it appears to be working correctly on our side. We have attached the tested sample and a video demonstrating this for your reference.


We have also provided the IPA file. Could you please test it on a different simulator and let us know if the crash occurs?


Additionally, please confirm whether the issue happens only when the gauge control is present, or if it occurs when the gauge control is used alongside other controls.


If possible, sharing a simple sample that reproduces the issue would be very helpful for us to investigate further and provide an appropriate solution.


Regards,

Vidyalakshmi M.



Attachment: Sample,_IPA_File_and_Output_Videos_3ed11870.zip

Loader.
Up arrow icon