Search

VS2010 freezes editing javascript by MJ Miller

Closed
as Fixed Help for as Fixed

4
0
Sign in
to vote
Type: Bug
ID: 674480
Opened: 6/7/2011 11:32:30 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
2
User(s) can reproduce this bug
VS2010 hangs when editing javascript. A second VS instance cannot be started.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling version

Visual Studio 2010 SP1

Steps to reproduce

Editing a large jquery-based project. The files are individually quite small. I haven't been able to trim the repro down to something that can be submitted though.

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

VS hangs with the following call stack. It may recover on its own if left alone for ~30 minutes or so.

ntoskrnl.exe!memset+0x64a
ntoskrnl.exe!KeWaitForMultipleObjects+0xd52
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xba4
ntoskrnl.exe!PoStartNextPowerIrp+0x1821
ntoskrnl.exe!PoStartNextPowerIrp+0x1a97
mscorlib.ni.dll+0x22e114
mscorlib.ni.dll+0x24282b
mscorlib.ni.dll+0x2a48da
mscorlib.ni.dll+0x2bcef8
Microsoft.JScript.AuthoringServices.ni.dll+0x6cd99
Microsoft.JScript.AuthoringServices.ni.dll+0x7870d
Microsoft.JScript.AuthoringServices.ni.dll+0x6e8d8
Microsoft.JScript.AuthoringServices.ni.dll+0x7d7a4
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x6c1b8
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x7beb3
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x7beb3
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x7beb3
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x6c177
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x6c1b8
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x6c1b8
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x6c1b8
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x6c1b8
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x7beb3
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x7beb3
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x6c177
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x7beb3
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x6c177
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x7c263
Microsoft.JScript.AuthoringServices.ni.dll+0x6c1b8
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x6c177
Microsoft.JScript.AuthoringServices.ni.dll+0x7bff1
Microsoft.JScript.AuthoringServices.ni.dll+0x7d726
Microsoft.JScript.AuthoringServices.ni.dll+0x6c177
Microsoft.JScript.AuthoringServices.ni.dll+0x6d637
Microsoft.JScript.AuthoringServices.ni.dll+0x6b83e
Microsoft.JScript.AuthoringServices.ni.dll+0x71ad9
Microsoft.JScript.AuthoringServices.ni.dll+0x71592
Microsoft.JScript.AuthoringServices.ni.dll+0x73b9c
Microsoft.JScript.AuthoringServices.ni.dll+0x6d343
Microsoft.JScript.AuthoringServices.ni.dll+0x6c969
Microsoft.JScript.AuthoringServices.ni.dll+0x6c7e5
Microsoft.JScript.AuthoringServices.ni.dll+0x6c213
Microsoft.JScript.AuthoringServices.ni.dll+0x6d637
Microsoft.JScript.AuthoringServices.ni.dll+0x6b83e
Microsoft.JScript.AuthoringServices.ni.dll+0x74185
Microsoft.JScript.AuthoringServices.ni.dll+0x73dc9
Microsoft.JScript.AuthoringServices.ni.dll+0x677b1
Microsoft.JScript.AuthoringServices.ni.dll+0x1b83ee
clr.dll+0x25a1
clr.dll!CoInitializeEE+0x78bce
clr.dll!CoInitializeEE+0x78caa
clr.dll!CoInitializeEE+0x78d10
clr.dll!CoInitializeEE+0x78e75
clr.dll!CoInitializeEE+0x78f1b

Expected results

no hang
File Attachments
File Name Submitted By Submitted On File Size  
devenv.zip 6/7/2011 258.95 MB
Sign in to post a comment.
Posted by Microsoft on 9/15/2011 at 2:31 PM
We should have fixed the scenario with new JavaScript engine in Visual Studio 11 Developer preview, which can be downloaded from http://msdn.microsoft.com/en-us/vstudio/ .

Thanks for the support!

xinqiu
Web Platform and Tools team
Posted by BPloe on 7/14/2011 at 10:17 AM
I am attempting to edit a line using jquery and the VS editor freezes for about 30 seconds for every letter I type. This is very annoying. Restarts of VS do not have an effect.
Posted by MS-Moderator01 on 6/7/2011 at 11:49 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Posted by MJ Miller on 6/7/2011 at 11:44 AM
Just noticed that devenv is hitting System.Data.SQLite.dll while it's frozen. Not sure if this is related though.

11:41:35.7773822 AM    devenv.exe    7176    CreateFile    C:\Tools\System.Data.SQLite.dll    SUCCESS    Desired Access: Generic Read, Disposition: Open, Options: Sequential Access, Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened
11:41:35.7774264 AM    devenv.exe    7176    QueryStandardInformationFile    C:\Tools\System.Data.SQLite.dll    SUCCESS    AllocationSize: 905,216, EndOfFile: 904,704, NumberOfLinks: 1, DeletePending: False, Directory: False
11:41:35.7774456 AM    devenv.exe    7176    CreateFileMapping    C:\Tools\System.Data.SQLite.dll    FILE LOCKED WITH ONLY READERS    SyncType: SyncTypeCreateSection, PageProtection:
11:41:35.7774608 AM    devenv.exe    7176    QueryStandardInformationFile    C:\Tools\System.Data.SQLite.dll    SUCCESS    AllocationSize: 905,216, EndOfFile: 904,704, NumberOfLinks: 1, DeletePending: False, Directory: False
11:41:35.7774931 AM    devenv.exe    7176    CreateFileMapping    C:\Tools\System.Data.SQLite.dll    SUCCESS    SyncType: SyncTypeOther
11:41:35.7775409 AM    devenv.exe    7176    CloseFile    C:\Tools\System.Data.SQLite.dll    SUCCESS    
11:41:35.7777126 AM    devenv.exe    7176    CreateFile    C:\Tools\System.Data.SQLite.dll    SUCCESS    Desired Access: Generic Read, Disposition: Open, Options: Sequential Access, Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened
11:41:35.7777539 AM    devenv.exe    7176    QueryStandardInformationFile    C:\Tools\System.Data.SQLite.dll    SUCCESS    AllocationSize: 905,216, EndOfFile: 904,704, NumberOfLinks: 1, DeletePending: False, Directory: False
11:41:35.7777728 AM    devenv.exe    7176    CreateFileMapping    C:\Tools\System.Data.SQLite.dll    FILE LOCKED WITH ONLY READERS    SyncType: SyncTypeCreateSection, PageProtection:
11:41:35.7777880 AM    devenv.exe    7176    QueryStandardInformationFile    C:\Tools\System.Data.SQLite.dll    SUCCESS    AllocationSize: 905,216, EndOfFile: 904,704, NumberOfLinks: 1, DeletePending: False, Directory: False
11:41:35.7778191 AM    devenv.exe    7176    CreateFileMapping    C:\Tools\System.Data.SQLite.dll    SUCCESS    SyncType: SyncTypeOther
11:41:35.7778652 AM    devenv.exe    7176    CloseFile    C:\Tools\System.Data.SQLite.dll    SUCCESS    
11:41:35.7779517 AM    devenv.exe    7176    Thread Exit        SUCCESS    Thread ID: 7544, User Time: 0.0000000, Kernel Time: 0.0000000
Sign in to post a workaround.