Skip to content

Sarif viewer causes crash of VS2022 v17.5.4 #594

@ghost

Description

After installing VS2022 v17.5.4 visual studio keeps crashing after opening a solution.
Without a solution there is no crash.

In the eventviewer I see the following 2 errors:

error 1:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
	<System>
		<Provider Name=".NET Runtime"/>
		<EventID Qualifiers="0">1026</EventID>
		<Version>0</Version>
		<Level>2</Level>
		<Task>0</Task>
		<Opcode>0</Opcode>
		<Keywords>0x80000000000000</Keywords>
		<TimeCreated SystemTime="2023-04-12T08:37:05.3704986Z"/>
		<EventRecordID>26428</EventRecordID>
		<Correlation/>
		<Execution ProcessID="32180" ThreadID="0"/>
		<Channel>Application</Channel>
		<Computer>computername</Computer>
		<Security/>
	</System>
	<EventData>
		<Data>Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Runtime.InteropServices.COMException at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(System.String) at Microsoft.Sarif.Viewer.OutputWindowTracerListener.EnsurePane() at Microsoft.Sarif.Viewer.OutputWindowTracerListener.Write(System.String) at System.Diagnostics.TraceInternal.WriteLine(System.String) at Microsoft.VisualStudio.TestWindow.TableControl.TableControl+<QueueUpdate>d__67.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch()</Data>
	</EventData>
</Event>

error 2:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
	<System>
		<Provider Name="Application Error"/>
		<EventID Qualifiers="0">1000</EventID>
		<Version>0</Version>
		<Level>2</Level>
		<Task>100</Task>
		<Opcode>0</Opcode>
		<Keywords>0x80000000000000</Keywords>
		<TimeCreated SystemTime="2023-04-12T08:37:06.1974972Z"/>
		<EventRecordID>26429</EventRecordID>
		<Correlation/>
		<Execution ProcessID="10548" ThreadID="0"/>
		<Channel>Application</Channel>
		<Computer>computername</Computer>
		<Security/>
	</System>
	<EventData>
		<Data>devenv.exe</Data>
		<Data>17.5.33530.505</Data>
		<Data>64262540</Data>
		<Data>KERNELBASE.dll</Data>
		<Data>10.0.22000.1696</Data>
		<Data>f76ec428</Data>
		<Data>e0434352</Data>
		<Data>00000000000440ac</Data>
		<Data>7db4</Data>
		<Data>01d96d19d18a8eab</Data>
		<Data>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.exe</Data>
		<Data>C:\WINDOWS\System32\KERNELBASE.dll</Data>
		<Data>35f2aa9e-1568-4c5d-a3f0-775ae630d20a</Data>
		<Data/>
		<Data/>
	</EventData>
</Event>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions