-
Notifications
You must be signed in to change notification settings - Fork 673
Open
Labels
Description
Describe the bug
[A clear and concise description of the bug]
Steps to Reproduce
1.SELECT ACTIVATE ENVIRONMENT
2.CHOOSE INTERPRETER
3.SELECT USE IPython interactive mode
Expected behavior
devenv.eve crash, dialogue with An unexpected error occurred
[Window Title]
devenv.exe
[Main Instruction]
An unexpected error occurred
[Content]
An error occurred opening this interactive window.
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[^] Hide details [Close]
[Expanded Information]
Build: 17.0.25339.6
Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part "Microsot.DevSkim.LanguageClient.DevSkimLanguageClient". ---> System.Runtime.InteropServices.COMException: .ctor must be called on the UI thread.
at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)
at Microsot.DevSkim.LanguageClient.DevSkimLanguageClient..ctor(IProcessTracker processTracker)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.ConstructExportedValue(RuntimeImport import, RuntimeExport export, RuntimePartLifecycleTracker importingPartTracker, PartLifecycleTracker partLifecycle, ReportFaultCallback faultCallback)
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass16_0.<GetExportedValue>b__1()
at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.<As>b__0()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceProvider.<StartupMatchingClientsAsync>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceProvider.<GetApplicableClientsAsync>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<CreateClientsAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<UpdateClientsAsync>d__63.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.LanguageServer.Client.DocumentClientsCollection.<UpdateClientsAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.ReentrantSemaphore.NotAllowedSemaphore.<>c__DisplayClass2_0.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack tra
Trace log on devenv.exe
"ver": "4.0",
"name": "Win32kTraceLogging.AppInteractivitySummary",
"time": "2026-01-21T09:14:58.0632967Z",
"iKey": "o:0a89d516ae714e01ae89c96d185e9ae3",
"ext": {
"utc": {
"shellId": 33786497674969091,
"eventFlags": 258,
"pgName": "WIN",
"flags": 1006633520,
"epoch": "15900784",
"seq": 1371
},
"metadata": {
"f": {
"PartATransform_AppSessionGuidToUserSid": 8,
"AppSessionId": 8,
"AggregationStartTime": 9,
"ViewFlags": 5,
"EventSequence": 5
},
"privTags": 33554432
},
"os": {
"bootId": 164,
"name": "Windows",
"ver": "10.0.19042.631.amd64fre.vb_release.191206-1406",
"expId": "FX:11A8C293,FX:11A8C2FE,FX:11F1992A,FX:11F4161E,FX:11F41B68,FX:11FB0F2F,FX:1201B330,FX:1202B7FC,FX:120BB68E,FX:121A20E1,FX:121BF15F,FX:121E5EC8,FX:122D8E86,FX:123031A3,FX:1231B88B,FX:123371B1,FX:1233C945,FX:123D7C31,FX:1240013C,FX:1246E4A3,FX:1248306D,FX:1250080B,FX:125A7FDA,FX:1264FA75,FX:126DBC22,FX:127159BE,FX:12769734,FX:127C935B,FX:127DC03A,FX:127FC878,FX:1283FFE8,FX:12840617,FX:128979F9,FX:128EBD7E,FX:129135BB,FX:129E053F,FX:12A74DB5,FX:12B8450E,FX:12BD6E73,FX:12C3331B,FX:12C7D66E,FX:12CDE644,FX:12D1574C,FX:12D281C4,FX:12E8312D,FX:12EC0B54,FX:12F0AC91,FX:12FF5D3C,FX:13143E2F,FX:13214552,FX:13283A3B,FX:133A07C7,FX:133BFFE3,FX:13404069,FX:134128A5,FX:1342B470,FX:13499FAF,FX:134B0F33,FX:135DF0BB,FX:137B6811,FX:137B6858"
},
"app": {
"id": "W:0000f519feec486de87ed73cb92d3cac802400000000!0000fe48f836ed5264320f4c28e01a4225dc01329d11!notepad.exe",
"ver": "2084/01/19:21:32:25!3E7CA!notepad.exe",
"asId": 4734
},
"device": {
"localId": "s:47FB7E34-E981-4A18-90C1-EEFAD2BA937D",
"deviceClass": "Windows.Desktop"
},
"protocol": {
"devMake": "AZW",
"devModel": "SEi",
"ticketKeys": [
"453413416"
]
},
"user": {
"localId": "m:628eb2676a4974b3"
},
"loc": {
"tz": "-07:00"
}
},
"data": {
"AppId": "W:000687afa099653ab86abfe21554fa0c2bfc00000904!00002af8782fc021e90d7859b610f6f0aaac0b5bdc75!devenv.exe",
"AppVersion": "2023/07/24:09:42:04!FE9B9!devenv.exe",
"CommandLineHash": 3872607403,
"AppSessionId": "00004318-0001-00A4-F9F6-37F9AE8ADC01",
"AggregationStartTime": "2026-01-21T08:54:08.7197018Z",
"AggregationDurationMS": 1249328,
"InFocusDurationMS": 378828,
"FocusLostCount": 14,
"NewProcessCount": 0,
"UserActiveDurationMS": 378828,
"UserOrDisplayActiveDurationMS": 378828,
"UserActiveTransitionCount": 0,
"InFocusBitmap": "0xDFE77380FB070000",
"InputSec": 178,
"KeyboardInputSec": 4,
"SipKeyboardInputSec": 0,
"InjectedKeyboardInputSec": 0,
"MouseInputSec": 176,
"InjectedMouseInputSec": 0,
"TouchInputSec": 0,
"InjectedTouchInputSec": 0,
"PenInputSec": 0,
"InjectedPenInputSec": 0,
"PrecisionTouchpadInputSec": 0,
"InjectedPrecisionTouchpadInputSec": 0,
"HidInputSec": 1,
"WindowWidth": 1289,
"WindowHeight": 695,
"MonitorWidth": 1920,
"MonitorHeight": 1080,
"MonitorFlags": 0,
"WindowFlags": 16,
"InteractiveTimeoutPeriodMS": 60000,
"AggregationPeriodMS": 1200000,
"BitPeriodMS": 20000,
"AggregationFlags": 49,
"SummaryRound": 18,
"SpeechRecognitionSec": 0,
"GameInputSec": 0,
"TargetAsId": 4320,
"CompositionRenderedSec": 413,
"CompositionDirtyGeneratedSec": 172,
"CompositionDirtyPropagatedSec": 0,
"BackgroundMouseSec": 36,
"AudioInMS": 0,
"AudioOutMS": 0,
"ViewFlags": 0,
"SinceFirstInteractivityMS": 3194938,
"EventSequence": 344
}
}
VS Version: [11415.281"]
Reactions are currently unavailable