-
Notifications
You must be signed in to change notification settings - Fork 790
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
[Nightlies] Latest VS2017 hard crashes when opening a solution with latest nightly #5465
Comments
I can confirm that removing the latest nightly (6 August) rolls back to something in June or July which does work. |
Thank you for reporting this issue. Lately we have seen some NRE issues in mixed solutions. Are you running a mixed solution? What was your previous version of VS before you updated to 15.7.6? Roslyn has resolved a few NRE issues in 15.8 preview5 related to F#. I'm curious if they resolve yours. The other issue you mentioned of no colorization should be resolved in 15.8 rtm. We made a perf tweak in 15.7.3 that caused this; it slipped through us due to how specific the case was. |
Based on your latest comment, you mention you are using nightlies. Hmm. This makes the problem a bit more tricky. |
@TIHan I was using 15.7.5 previously with the nightlies and it was working absolutely fine. The problem might be from 15.7.6 but could be one of the newer nightlies that are causing it. This solution is an F#-only one. I really don't want to start using the VS previews if I can avoid it :-/ |
Ok, thank you for the info. You won't have to wait much longer for 15.8 rtm as release will be soon. |
@isaacabraham It's likely from the nightlies; we haven't had an insertion into VS 15.7 since 15.7.4. Anything in master (likely very recently) will be causing this. |
We'll need to get to the bottom of this just to make sure it doesn't affect any 15.9 payloads, though |
OK. What can I do to help - happy to do a screen share or something if that helps? |
I wouldn't be surprised if latest master is causing this in 15.7. We will most likely need a new public project that can reproduce this. |
OK, good(ish) news - whilst the crashing is not happening on a brand new console application, I'm not getting colouration or anything else, which suggests something with my VS install. What's next? |
@isaacabraham Try the following:
If you get colors/etc, then this is a known issue that has been fixed upstream in Roslyn. If not, then we'll have to investigate further. |
@cartermp Unfortunately that did not solve the issue. I can also see now that when opening an fsx file, I see this error: Don't know if that helps at all. |
butting my head in here, there are a few causes of the error you are seeing:
Personal guess is on 1. But @TIHan would know more. To eliminate 0. uninstall and re-install the nightlies and run |
@jmarolf thanks for the idea - just tried |
I see a similar behavior, VS Community 2017 V 15.7.6 when installing nightly build F# Tools. Never crashed but editor doesn't get any color, and right side of the keyboard inoperative such as numpads, enter, backspace. I can type letters like aaaaaaa but no way to delete them. Uninstalling, works fine. I noticed this behavior 2 releases ago (I believe). Hope this helps. |
@isaacabraham Not alone, same for me. Option 0 does not fix it.
|
Judging by everyone's comments, it looks like the F# package is not loading. @ricardozimmer is correct that it happened just a few releases for him because we introduced a perf tweak that allowed this problem to show. In 15.8 RTM we have this resolved at the Roslyn level where the F# package will be loaded correctly. |
@TIHan Great, thanks!! |
Note that this is in latest master, so f5 from the tools is unusable. |
Given @TIHan's comment, this may not be fully resolved until 15.8 is merged into master, and people use 15.8. This means that the F# nightlies will likely remain unusable until 15.8. |
@cartermp will installing the latest 15.8 preview fix this? |
Looking at the dump I have of the crash (I was able to reproduce this locally) I can confirm that this is 1. Using the 15.8 preview or waiting for 15.8 to be released is the best solution I have now. |
@isaacabraham Perhaps (upstream Roslyn change is not in Preview 5 IIRC), but you can always just back off of nightlies until the release. |
@isaacabraham have you had a chance to upgrade to VS 15.8 to test if this still reproduces? Just for safety's sake I'd recommend a separate machine or VM |
@cartermp nope, just saw that 15.8 full is out. And with the best will in the world, I just don't have the time to spin up a VM and test out 15.8 from clean - sorry. Either I stick with 15.7 and 15.8 preview (which I've stopped using for now, as 15.7 with the non-nightlies works) or upgrade to 15.8. |
I haven't observed this issue with the 15.8 release. @isaacabraham have you? If not, we can just close this out, since the fix is now in the generally available release. |
I don't believe I've had any crashes since upgrading and I'm on the nightly release as well. |
Okay, closing this out. Sounds like the changes we had in 15.8 were the fix here. |
I have a solution (new style .NET Framework project) which when I try to load into VS 2017 (15.7.6), VS will hard crash during startup - no error dialogs or anything, the app simply disappears.
Here's the event log that I was able to find:
I have another app that seems to open without crashing, but the F# tools don't seem to start up - there's no colouration or anything.
Can't share the code publicly I'm afraid.
The text was updated successfully, but these errors were encountered: