-
Notifications
You must be signed in to change notification settings - Fork 534
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
Release crash on unmanagedcallersonly framework code #7876
Comments
/cc @MichalPetryka |
The backtrace seems to suggest that either of: is missing which hints that something causes C# DLLs built for .Net Framework to be used with .Net |
@333fred @MichalPetryka my first suspicion is, indeed, that there's a mix-up in the packaged assemblies. It is usually caused by something in the If it is indeed a |
Hi @333fred. We have added the "need-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. |
I suspect this is correct, as I've noticed that doing complete rebuild seems to fix it. I'll grab the binlog from VS tonight. |
Of course when I go to collect logs tonight what was crashing for me nearly every second build last night is doing nothing at all tonight... I'll keep trying to get a log. |
Managed to get the logs from a build. It happened after a |
https://microsoft-my.sharepoint.com/:f:/p/frsilb/EuN4UGo4MLBGppt8K1Dn1HYB78DK7cSRA9OdtXMP9wS02A?e=R7d5TP should be accessible to MSFT folks. It has the binlogs from both build and deploy actions in VS, as well as the logcat output from |
I got this on .NET MAUI 7 when running release any suggestion ? |
@Strypper in talking with @jonathanpeppers, a workaround should be putting |
Just happened on Release for me, deleted bin/obj folders for a complete rebuild and the problem was gone. .Net 7. |
cleaning does not fix it, as it will reappear sometimes when making seemingly valid changes |
Tracking this via #8253. |
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
VS 17.6p1/.NET 8p1
Description
I have a maui app (closed source, unfortunately, but my alias is frsilb if the logs I've attached aren't enough and we need to do more debugging) that uses both EF Core and SignalR. I'm getting a crash in release mode:
The crash doesn't happen on every build of the app, but when it does happen, it happens on every launch of that build, and it seems to happen more often than not. I've been unable to minimize it to a single cause yet. No crash occurs when running in debug mode.
Steps to Reproduce
I've attached the logs, let me know if they're not enough to figure it out and we can debug my app. I haven't been able to minimize the crash.
Did you find any workaround?
None.
Relevant log output
Here's the logs with the backtrace.
The text was updated successfully, but these errors were encountered: