dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

.NET Maui app crashes on startup on 17.10.5 #25963

Open vsfeedback opened 2 days ago

vsfeedback commented 2 days ago

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in:17.10.3] I have one instance of VS version 17.10.3 which runs my .NET Maui app ok and a newer installation 17.10.5 which crashes on startup. I rolled back to 17.10.3 and it works again.

The version 17.10.5 that failed was a Community one.


Original Comments

Feedback Bot on 11/6/2024, 05:50 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Zack Yang [MSFT] on 11/6/2024, 10:01 PM:

Could you please follow these steps to provide a memory dump so we can inspect the VS crash properly?

  1. Open one VS which will be used to reproduce crash issue.
  2. Open another VS instance and attach to the 1st VS process (Ctrl + Alt + P or Debug > Attach to Process… > Select the 1st VS process (devenv.exe) from the Process list)
  3. Click on Attach
  4. Reproduce the issue in 1st VS
  5. Then debug VS will throw exception
  6. Save the Dump (Debug > Save Dump As...) and select Minidump with Heap (*.dmp) from the file dialog
  7. Attach the resulting dump

Take into account that the size of the dump is usually big, so it could take a while to attach.
If the dump file is too large to attach here, you can upload the dump file to a shared location like OneDrive, Github, Google drive, then share the path to us.

Thanks in advance.

Craig Wittenberg on 11/7/2024, 09:36 AM:

(private comment, text removed)

Zack Yang [MSFT] on 11/8/2024, 01:05 AM:

This feedback is being re-triaged as we are moving it to another team that can better help with the issue. Thanks for your patience.

PureWeen commented 1 day ago

can you run

dotnet workload list

When running VS 17.10.5 and then when you've reverted to VS 17.10.3?

So we can see if different version of MAUI are causing you issues?

If you update to 17.11 or 17.12 do you see the same issues?

You can also try changing the Maui version referenced by your project to see if a newer/older version works

dotnet-policy-service[bot] commented 1 day ago

Hi @vsfeedback. 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.