Skip to content

Instantly share code, notes, and snippets.

@lewing
lewing / superpmi-dump-investigation.md
Created March 12, 2026 18:03
SuperPMI dump file investigation — dotnet/runtime (March 12, 2026)

SuperPMI Dump File Investigation — dotnet/runtime

Starting Point

After exhaustively searching the main runtime PR pipeline (definition 129) across 10 failed builds, 45 Helix jobs, and ~1,350 work items with no dump files found, the investigation pivoted to the SuperPMI pipeline.

Finding the SuperPMI Pipeline

Discovered runtime-coreclr superpmi-diffs (definition 152) in dnceng-public/public. Recent builds showed 2 failures:

@lewing
lewing / gist:9960090e83715a93737356f511e399a5
Last active March 1, 2026 16:32
iOS Helix Mac infrastructure failures on osx.15.amd64.iphone.open queue
iOS Helix Mac infrastructure failures on osx.15.amd64.iphone.open queue
We're seeing multiple infrastructure failures on Mac Helix machines in the
osx.15.amd64.iphone.open queue over the last day. Two different machines
have failed with different errors, all categorized as InfrastructureError
by Helix. The failures are across two consecutive CI runs on a one-line
test change PR unrelated to iOS:
PR: https://github.com/dotnet/runtime/pull/125021
@lewing
lewing / SKILL.md
Last active February 17, 2026 20:41
Squad Setup skill — non-invasive Squad installation via symlinks + git exclude
name description
stealth-squad
Set up a stealth Squad on any repo without modifying tracked files — side-repo + symlinks + git exclude. USE FOR: stealth Squad, hidden Squad, Squad without committing, Squad on a repo I don't own, Squad symlink setup, try Squad without touching repo, consulting Squad. DO NOT USE FOR: normal Squad setup (just run npx github:bradygaster/squad directly), using Squad after setup (just use @squad agent).
Microsoft (R) Build Engine version 16.10.0-preview-21112-04+f0eebf287 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
System.Runtime -> /Users/lewing/Source/runtime/artifacts/bin/System.Runtime/ref/net6.0-Release/System.Runtime.dll
System.Collections -> /Users/lewing/Source/runtime/artifacts/bin/System.Collections/ref/net6.0-Release/System.Collections.dll
System.Security.Principal.Windows -> /Users/lewing/Source/runtime/artifacts/bin/System.Security.Principal.Windows/ref/netstandard2.0-Release/System.Security.Principal.Windows.dll
System.Runtime.InteropServices -> /Users/lewing/Source/runtime/artifacts/bin/System.Runtime.InteropServices/ref/net6.0-Release/System.Runtime.InteropServices.dll
System.Security.AccessControl -> /Users/lewing/Source/runtime/artifacts/bin/System.Security.AccessControl/ref/netstandard2.0-Release/System.Security.AccessControl.dll
fail: 23:23:25.1064700
fail: 23:23:25.1067410 ==== JS stack trace =========================================
fail: 23:23:25.1067670
fail: 23:23:25.1067720 Security context: 0x378c0820dc31 <JSObject>#0#
fail: 23:23:25.1067760 0: builtin exit frame: trace(this=0x378c08203689 <console map = 0x378c08240919>#1#,0x378c087c26a5 <String[116]: c"* Assertion at /Users/lewing/Source/runtime/src/mono/mono/mini/interp/interp.c:1936, condition `<disabled>' not met\n">,0x378c08203689 <console map = 0x378c08240919>#1#)
fail: 23:03:23.4284010 console.error: RuntimeError: function signature mismatch
fail: 23:03:23.4750130 console.error: RuntimeError: function signature mismatch
fail: 23:03:23.4750680 at xunit_execution_dotnet_DictionaryExtensions_GetOrAdd_TKey_REF_TValue_REF_System_Collections_Generic_IDictionary_2_TKey_REF_TValue_REF_TKey_REF_System_Func_1_TValue_REF (<anonymous>:wasm-function[6280]:0x268acb)
fail: 23:03:23.4750770 at xunit_execution_dotnet_Xunit_Sdk_XunitTestCase_GetCachedTraitAttributes_Xunit_Abstractions_IAssemblyInfo (<anonymous>:wasm-function[13563]:0x6165bc)
@lewing
lewing / out
Created November 13, 2020 23:22
diff --git a/src/mono/wasm/runtime/binding_support.js b/src/mono/wasm/runtime/binding_support.js
index 7c088060e23..6f9133cadc8 100644
--- a/src/mono/wasm/runtime/binding_support.js
+++ b/src/mono/wasm/runtime/binding_support.js
@@ -280,11 +280,11 @@ var BindingSupportLib = {
return interned_instance;
var result = MONO.string_decoder.copy (mono_obj);
- if (interned) {
+ if (result.interned || interned) {
We can't make this file beautiful and searchable because it's too large.
DocId,Namespace,Type,Member,Nesting
M:System.Diagnostics.FileVersionInfo.get_IsPrivateBuild,System.Diagnostics,FileVersionInfo,get_IsPrivateBuild(),0
M:System.Diagnostics.FileVersionInfo.get_FileDescription,System.Diagnostics,FileVersionInfo,get_FileDescription(),0
M:System.Diagnostics.FileVersionInfo.get_PrivateBuild,System.Diagnostics,FileVersionInfo,get_PrivateBuild(),0
M:System.Diagnostics.FileVersionInfo.get_LegalCopyright,System.Diagnostics,FileVersionInfo,get_LegalCopyright(),0
M:System.Diagnostics.FileVersionInfo.get_InternalName,System.Diagnostics,FileVersionInfo,get_InternalName(),0
M:System.Diagnostics.FileVersionInfo.ToString,System.Diagnostics,FileVersionInfo,ToString(),0
M:System.Diagnostics.FileVersionInfo.get_FilePrivatePart,System.Diagnostics,FileVersionInfo,get_FilePrivatePart(),0
M:System.Diagnostics.FileVersionInfo.get_ProductMajorPart,System.Diagnostics,FileVersionInfo,get_ProductMajorPart(),0
M:System.Diagnostics.FileVersionInfo.get_FileMinorPart,System.Diagnostics,FileVersionInfo,get_Fi
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 5 columns, instead of 4 in line 9.
DocId,Namespace,Type,Member,Nesting
M:System.Diagnostics.FileVersionInfo.get_IsPrivateBuild,System.Diagnostics,FileVersionInfo,get_IsPrivateBuild(),0
M:System.Diagnostics.FileVersionInfo.get_FileDescription,System.Diagnostics,FileVersionInfo,get_FileDescription(),0
M:System.Diagnostics.FileVersionInfo.get_PrivateBuild,System.Diagnostics,FileVersionInfo,get_PrivateBuild(),0
M:System.Diagnostics.FileVersionInfo.get_LegalCopyright,System.Diagnostics,FileVersionInfo,get_LegalCopyright(),0
M:System.Diagnostics.FileVersionInfo.get_InternalName,System.Diagnostics,FileVersionInfo,get_InternalName(),0
M:System.Diagnostics.FileVersionInfo.ToString,System.Diagnostics,FileVersionInfo,ToString(),0
M:System.Diagnostics.FileVersionInfo.get_FilePrivatePart,System.Diagnostics,FileVersionInfo,get_FilePrivatePart(),0
M:System.Diagnostics.FileVersionInfo.get_ProductMajorPart,System.Diagnostics,FileVersionInfo,get_ProductMajorPart(),0
M:System.Diagnostics.FileVersionInfo.get_FileMinorPart,System.Diagnostics,FileVersionInfo,get_Fi
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 5 columns, instead of 4 in line 9.
DocId,Namespace,Type,Member,Nesting
M:System.Diagnostics.FileVersionInfo.get_IsPatched,System.Diagnostics,FileVersionInfo,get_IsPatched(),0
M:System.Diagnostics.FileVersionInfo.GetVersionInfo(System.String),System.Diagnostics,FileVersionInfo,GetVersionInfo(String),0
M:System.Diagnostics.FileVersionInfo.ToString,System.Diagnostics,FileVersionInfo,ToString(),0
M:System.Diagnostics.FileVersionInfo.get_IsPreRelease,System.Diagnostics,FileVersionInfo,get_IsPreRelease(),0
M:System.Diagnostics.FileVersionInfo.get_ProductName,System.Diagnostics,FileVersionInfo,get_ProductName(),0
M:System.Diagnostics.FileVersionInfo.get_InternalName,System.Diagnostics,FileVersionInfo,get_InternalName(),0
M:System.Diagnostics.FileVersionInfo.get_FileMajorPart,System.Diagnostics,FileVersionInfo,get_FileMajorPart(),0
M:System.Diagnostics.FileVersionInfo.get_ProductMajorPart,System.Diagnostics,FileVersionInfo,get_ProductMajorPart(),0
M:System.Diagnostics.FileVersionInfo.get_FileDescription,System.Diagnostics,FileVersionInfo,get_FileDescr