maui icon indicating copy to clipboard operation
maui copied to clipboard

iOS app crashes in release mode on physical device

Open roughiain opened this issue 2 years ago • 2 comments

Description

The application crashes on after a few screens with

[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID

Googling around found a similar reactNative bug

also on the apple developer forums

I have no idea how to get more information on this.

Here are the build settings

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-ios/ios-arm64|AnyCPU'">
        <CreatePackage>false</CreatePackage>
        <RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<!--        <PublishAot>True</PublishAot>-->
        <CodesignProvision>$(CODESIGNPROVISION)</CodesignProvision>
        <CodesignKey>$(CODESIGNKEY)</CodesignKey>
        <CodesignEntitlements>Platforms\iOS\Entitlements.plist</CodesignEntitlements>
    </PropertyGroup>

Steps to Reproduce

I can't reproduce as I don't have enough information.

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17

Did you find any workaround?

No

Relevant log output

Device log 

`-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:]  perform input operation requires a valid sessionID`

roughiain avatar Jan 26 '24 14:01 roughiain

@rolfbjarne thoughts?

PureWeen avatar Jan 26 '24 15:01 PureWeen

Does this happen in the simulator or on device (or both)?

A crash report might be helpful: https://github.com/xamarin/xamarin-macios/wiki/Diagnosis#crash-reports

That said, this doesn't look like a bug in MAUI (because of all the people running into the same thing in the Apple forums), so we might not be able to do something about it (at most we might be able to work around it somehow, but that really depends on what's triggering the problem, and we'd need a way to reproduce it - aka a test project - in order to even start trying to find a solution).

rolfbjarne avatar Jan 26 '24 15:01 rolfbjarne

Hi, I have tracked the issue down to a third party module, please close the ticket

roughiain avatar Jan 30 '24 09:01 roughiain

@roughiain what dependency caused the issue? I'm experiencing a similar bug

brodysctt avatar Feb 02 '24 21:02 brodysctt

It was an event on a DevExpress chip group

So this event was crashing on page load

void ChipGroupCategories_OnSelectionChanged(object? sender, EventArgs e)

I still need to create a repo with just the error and submit it to them, but things have been busy.

roughiain avatar Feb 05 '24 07:02 roughiain