Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android App crashes on startup #20176

Closed
borrmann opened this issue Jan 26, 2024 · 3 comments
Closed

Android App crashes on startup #20176

borrmann opened this issue Jan 26, 2024 · 3 comments
Labels
platform/android 🤖 s/needs-attention Issue has more information and needs another look t/bug Something isn't working

Comments

@borrmann
Copy link
Contributor

Description

See following issue:
dotnet 96872

Steps to Reproduce

  1. Start Android App and do some threaded work
  2. App crashes

Link to public reproduction project repository

not necessaray

Version with bug

8.0.6

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.0-rc.2.9511

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

Solution from the linked issue seems to work

<Target Name="UpdateRuntimePackVersion" BeforeTargets="ProcessFrameworkReferences">
	<ItemGroup>
		<KnownRuntimePack Condition="%(RuntimePackLabels) == 'Mono'" LatestRuntimeFrameworkVersion="8.0.0" />
	</ItemGroup>
</Target>

Relevant log output

Assertion at object.c:657, condition `lock->done' not met
@borrmann borrmann added the t/bug Something isn't working label Jan 26, 2024
@jfversluis
Copy link
Member

It looks like in the linked issue there was a bug there and that is fixed and pending release. So, what is there still to do on our side for this...?

@jfversluis jfversluis added the s/needs-info Issue needs more info from the author label Jan 26, 2024
@ghost
Copy link

ghost commented Jan 26, 2024

Hi @borrmann. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@borrmann
Copy link
Contributor Author

@jfversluis well, I guess there is not much that could be done. I simply, thought this should be tracked here too.
And maybe, this indicates there should be a test added?
I mean, any MAUI app crashes on android if you do some data fetching in the background at startup. Isn't that a major concern? Where else should MAUI users share such information, if not here?
Apologies if this is not the right approach to file an issue, just wanted to help by sharing the info I found.

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Jan 26, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/android 🤖 s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants