Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Crash in VS2019 with NCrunch 3.27
GibSral
#1 Posted : Tuesday, May 7, 2019 12:32:56 PM(UTC)
Rank: Member

Groups: Registered
Joined: 12/1/2014(UTC)
Posts: 27
Location: Germany

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
On loading a large solution (~100 projects) via command line (devenv.exe $Solution) ncrunch crashes Visual Studio. Visual Studio restarts -> crashes again and again and so on.
When I start VS after a crash without solution it tells me that ncrunch caused the crash
I enabled logging of VS but unfortunately there is nothing in the log files indicating an error.
When i disable ncrunch the solution loads perfectly.
I do not have the issue with smaller solutions
michaelkroes
#2 Posted : Tuesday, May 7, 2019 12:44:58 PM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 306
Location: Netherlands

Thanks: 138 times
Was thanked: 73 time(s) in 69 post(s)
Hi thanks for posting.

Sorry this is happening. VS2019 handles loading of extensions pretty differently than under VS2017. All of this code is pretty new.

Does this same solution work under VS2017 with NCrunch?

Normally I would ask you to submit a bug report, but it seems you aren't getting that far. If you could confirm this works with vs2017, I'll prepare a build that should give a live log dump to disk for you to submit if you are willing to try that.
GibSral
#3 Posted : Tuesday, May 7, 2019 1:09:05 PM(UTC)
Rank: Member

Groups: Registered
Joined: 12/1/2014(UTC)
Posts: 27
Location: Germany

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
yes it works with 2017. I worked on this solution for years with ncrunch and had no problems prior to updating to VS2019.

If you give me a version with advanced loggin I would gladly test it and provide the generated logs
1 user thanked GibSral for this useful post.
michaelkroes on 5/7/2019(UTC)
michaelkroes
#4 Posted : Tuesday, May 7, 2019 2:41:13 PM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 306
Location: Netherlands

Thanks: 138 times
Was thanked: 73 time(s) in 69 post(s)
Thanks for confirming that it works with 2017.

NCrunch_VS2019_3.28.0.1.msi

This release should (hopefully) write logging to c:\temp. Could you mail those files to michael@ncrunch.net.
Der-Albert.com
#5 Posted : Thursday, August 8, 2019 8:45:37 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
Btw. this was what I had got yesterday after installing 3.30.1, crashed two times. Solution had 83 Projects. Now it seems working.
GibSral
#6 Posted : Friday, September 13, 2019 8:24:15 AM(UTC)
Rank: Member

Groups: Registered
Joined: 12/1/2014(UTC)
Posts: 27
Location: Germany

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
Hi,

since I installed VS2019 version 16.2.5 yesterday I have the same issue as described in my initial post. I am using the latest ncrunch version (3.30.0.1).
Are there any known issues with this particular version of VS?

Greetings
Lars
michaelkroes
#7 Posted : Friday, September 13, 2019 8:45:58 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 306
Location: Netherlands

Thanks: 138 times
Was thanked: 73 time(s) in 69 post(s)
Hi Lars,

Sorry this is happening again. I haven't had any issues that version myself.

Would you mind checking to see if there's anything in the windows event viewer? Did VS blame us again after the crash? (sometimes we are wrongly accused of a crash)

Could you also try start VS from the CLI with the option /log c:\temp\log.xml and see if there's anything in that?

Michael
GibSral
#8 Posted : Friday, September 13, 2019 9:18:24 AM(UTC)
Rank: Member

Groups: Registered
Joined: 12/1/2014(UTC)
Posts: 27
Location: Germany

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
Hi Michael,

unfortunately there is nothing in the logs regarding the crash. The crash is shown in the event log but unfortunatly there is no information regarding the cause.
VS tells nothing this time about who caused the crash, but the crash only occurs when ncrunch is enabled. When I disable the ncrunch extension completely then VS starts without any problems.

Lars
1 user thanked GibSral for this useful post.
michaelkroes on 9/13/2019(UTC)
michaelkroes
#9 Posted : Friday, September 13, 2019 9:58:30 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 306
Location: Netherlands

Thanks: 138 times
Was thanked: 73 time(s) in 69 post(s)
Hi Lars,

I did some testing with 30.0.1 to see if I hadn't accidentally fixed the issue while preparing for 16.3. The currently release version seems to be working fine for me with 16.2.5. Of course this doesn't help you at all :)

I'm building a new version that does some logging to a file to see if we can narrow this down. I'll post the download links when that has gone through our pipeline.

Michael
michaelkroes
#10 Posted : Friday, September 13, 2019 11:17:54 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 306
Location: Netherlands

Thanks: 138 times
Was thanked: 73 time(s) in 69 post(s)
Here's a release that logs to c:\temp. Could you give this release a go and send me the log files? You can mail me at michael at ncrunch dot net.

NCrunch_VS2019_3.31.0.2.msi
GibSral
#11 Posted : Friday, September 13, 2019 11:47:50 AM(UTC)
Rank: Member

Groups: Registered
Joined: 12/1/2014(UTC)
Posts: 27
Location: Germany

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
michaelkroes;13861 wrote:
Here's a release that logs to c:\temp. Could you give this release a go and send me the log files? You can mail me at michael at ncrunch dot net.

NCrunch_VS2019_3.31.0.2.msi


of course
1 user thanked GibSral for this useful post.
michaelkroes on 9/13/2019(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.067 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download