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

The RealParent on Microsoft.Maui.Controls.Button has been Garbage Collected #23886

Closed
ThysBrits opened this issue Jul 29, 2024 · 5 comments
Closed
Labels
platform/android 🤖 t/bug Something isn't working

Comments

@ThysBrits
Copy link

Description

We are developing an app on .Net 8 and today this exception popped up:

The RealParent on Microsoft.Maui.Controls.Button has been Garbage Collected. This should never happen. Please log a bug: /~https://github.com/dotnet/maui

The issue was only reported by Raygun and we don't have any stack trace of it. It happened on a deployed version of our app on a Android 9 device.

Steps to Reproduce

We will have to investigate what caused this, as it has only happened on a production device.

Link to public reproduction project repository

No response

Version with bug

8.0.70 SR7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 9

Did you find any workaround?

No response

Relevant log output

No response

@ThysBrits ThysBrits added the t/bug Something isn't working label Jul 29, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@MartyIX
Copy link
Contributor

MartyIX commented Jul 29, 2024

Could the issue be fixed by #23405? It's not yet released.

@ThysBrits
Copy link
Author

Thanks for the feedback, will keep an eye on it. It has only happened twice, so very random.

@mattleibow
Copy link
Member

Do you happen to have a repro or able to reproduce easily in a simple project?

@mattleibow
Copy link
Member

Duplicate of #23050

@mattleibow mattleibow marked this as a duplicate of #23050 Jul 30, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants