ReShaprer 6.0, Windows 7 x64, Open Web Site & Crash

[Environment]

JetBrains ReSharper 6.0 Full Edition
Build 6.0.2202.688 on 2011-06-30T03:14:16

Plugins: none
Visual Studio 10.0.40219.1 (Ultimate)

OS: Windows 7 Enterprise SP1 (64 bit)

Memory: 16 GB

Visual Studio is crashing when opening a Web Site. I've attached a CrashHang report from DebugDiag (I also have a mini user dump, but it's 225 MB compressed). The crash does [not] occur when I suspend ReSharper, and some (smaller) Web sites open OK. I couldn't find any posts with the exact same scenario, but others have had crashes on x64 with ReSharper 6.0 & VS 2010; not sure if the issues are the same. Any chance ReShaper 6.1 will fix this?...not sure I want to install the pre-release in my production environment.

Thanks

Regards,

Michael Cessna



Attachment(s):
CrashHang_Report__Date_11_29_2011__Time_04_56_40PM__310.zip
11 comments
Comment actions Permalink

Hello Michael
     Could you please install the latest nightly build of ReSharper 6.1 from http://confluence.jetbrains.net/display/ReSharper/ReSharper+6.1+Nightly+Builds and check if it still crashes Visual Studio on that web site? Also, please clear ReSharper caches (remove the _ReSharper.<solution_name> subfolder from your solution folder) before opening your solution with the new version. Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

Still getting the crash, but this time I was able to capture the message by quickly taking a screen shot of the ReSharper Exception Browser (had to try several times...it doesn't display long enough to use the dialog).

ReShaper Crash.png

[Version]

JetBrains ReSharper 6.1 EAP Full Edition Pre-Release
Build 6.1.19.137 on 2011-12-01T09:34:40

The error message:

"The dispatcher queue size on thread <NULL>:1 has reached the size limit of 10,000 items."

This was repeated multiple times (screen shot attached). The web site I was trying to open has 10,886 files (1,062 folders).

The original dump indicated that there was a stack overflow; I didn't capture a dump this time (WER report is attached though).

<Quote>

JetBrains.ReSharper.Psi.JavaScript.Impl.Framework.Standard.JavaScriptStandardCacheBuilder.ScanBinaryExpression(JetBrains.ReSharper.Psi.JavaScript.Tree.IBinaryExpression)
JetBrains.ReSharper.Psi.JavaScript.Impl.Framework.Standard.JavaScriptStandardCacheBuilder.ScanBeforeChildren(JetBrains.ReSharper.Psi.Tree.ITreeNode)
JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(JetBrains.ReSharper.Psi.Tree.ITreeNode)
JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(JetBrains.ReSharper.Psi.Tree.ITreeNode)
JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(JetBrains.ReSharper.Psi.Tree.ITreeNode)

</Quote>

Thanks

Mike



Attachment(s):
Report.wer.zip
0
Comment actions Permalink

Hello Michael
     Thank you very much for this information! Is it possible for you to narrow down the problem to a small solution that would exhibit the same behavior (by copying your original solution and removing files and projects from it while keeping this behavior reproducible) and attach it here or send it to me (andrew dot serebryansky at jetbrains dot com). Meanwhile, we'll look into this problem on our side.

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

The problem does not exist any smaller web site solution I have, as I have no problem opening web sites with much fewer files. Also, the site is part of a commercial software product, so it's not something I can send. I'll see if I can create a bogus web site with a lot of files over the weekend, and get it to crash.

Thanks

Mike

0
Comment actions Permalink

I was able to reproduce the "The dispatcher queue size on thread <NULL>:1 has reached the size limit of 10,000 items." error, but was [not] able to crash Visual Studio 2010 via the same System.StackOverflowException...using a test web site (where I added both the dojo 1.6 and 1.7 libraries); however, I did sumit the errors using the Pre-Release Build 6.1.19.137. I still have the original crash dump from ReSharper 6.0 that I can upload; it shows the System.StackOverflowException, etc.

Thanks

Mike

0
Comment actions Permalink

The issue turned out to be a very large JavaScript file that ReShaper cannot handle (it concats a very large string, and is part of a third party component used by our technical publications team to generate the Help system). Renaming the script to SomeScript.js.IGNORE solves the issue; however, I would prefer to add the folder or file to the ignore list...but this feature is not working in 6.1:

JetBrains ReSharper 6.1 EAP Full Edition Pre-Release
Build 6.1.19.137 on 2011-12-01T09:34:40

The following are related (one is from a coworker; the other a new issue I opened today regarding using the ignore list):

http://youtrack.jetbrains.net/issue/RSRP-285173
http://youtrack.jetbrains.net/issue/RSRP-277516

Thanks

Mike

0
Comment actions Permalink

Hello Michael
     Thank you for this information! Regarding the problems you've mentioned:

     1. I wasn't able to reproduce the problem with 'Edit Items to Skip' with the latest nightly build. Let me know if this still happens for you with the latest build
     2. As to the large js file, is it possible for you to send that single file privately to andrew dot serebryansky at jetbrains dot com, so that we could investigate this problem on our side? We will sign an NDA if necessary.

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

I've attached a dummy JavaScript that will crash Visual Studio when ReSharper opens a web site (File > Open > Web Site > Local IIS) if this script is included in the site.

[Version Tested]
JetBrains ReSharper 6.1 EAP Full Edition Pre-Release
Build 6.1.22.27 on 2011-12-05T05:07:08

Note: Adding the folder where this script exists to the ReSharper ignore list does [not] solve the issue...ReSharper still crashes (also tried adding a filemask of *.JS). Perhaps the ignore list doesn't take into consideration .JS files?

Thanks

Mike



Attachment(s):
Test.zip
0
Comment actions Permalink

Hello Michael
     Thank you very much for the sample! I was able to reproduce this behavior and we will look into this problem ASAP. You're welcome to monitor its progress at http://youtrack.jetbrains.net/issue/RSRP-285696.

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

That's very good news. Looks like it's already marked as fixed; I'll check it out after tonight's 6.1 build.

Thanks

Mike

0
Comment actions Permalink

I can now confirm that last night's 6.1 EAP build (6.1.25.135) fixes the issue!

Thanks

Mike

0

Please sign in to leave a comment.