Skip to content

[browser][coreCLR] Wasm.Console.Node.Sample - undefined symbol: SystemInteropJS_GetManagedStackTrace #129229

Description

@jakobbotsch

Seeing this on multiple PRs:

2026-06-09T19:58:42.0544708Z Compiling generated managed-to-native sources with emcc -O2 ...
2026-06-09T19:58:42.5837769Z [1/3] callhelpers-pinvoke.cpp -> callhelpers-pinvoke.o [took 0.52s]
2026-06-09T19:58:42.6555515Z [2/3] callhelpers-interp-to-managed.cpp -> callhelpers-interp-to-managed.o [took 0.60s]
2026-06-09T19:58:42.7308959Z [3/3] callhelpers-reverse.cpp -> callhelpers-reverse.o [took 0.67s]
2026-06-09T19:58:42.7432963Z Linking CoreCLR WASM with initial memory 33554432 bytes.
2026-06-09T19:58:42.7435788Z Linking with emcc -O2. This may take a while ...
2026-06-09T19:58:44.1657941Z wasm-ld : error : C:\Users\CLOUDT~1\AppData\Local\Temp\tmpqm0a9ffblibemscripten_js_symbols.so: undefined symbol: SystemInteropJS_GetManagedStackTrace. Required by BrowserHost_ExternalAssemblyProbe [D:\a\_work\1\s\src\mono\sample\wasm\console-node\Wasm.Console.Node.Sample.csproj]
2026-06-09T19:58:44.1659111Z wasm-ld : error : C:\Users\CLOUDT~1\AppData\Local\Temp\tmpqm0a9ffblibemscripten_js_symbols.so: undefined symbol: SystemInteropJS_CallDelegate. Required by BrowserHost_ExternalAssemblyProbe [D:\a\_work\1\s\src\mono\sample\wasm\console-node\Wasm.Console.Node.Sample.csproj]
2026-06-09T19:58:44.1660028Z wasm-ld : error : C:\Users\CLOUDT~1\AppData\Local\Temp\tmpqm0a9ffblibemscripten_js_symbols.so: undefined symbol: SystemInteropJS_CompleteTask. Required by BrowserHost_ExternalAssemblyProbe [D:\a\_work\1\s\src\mono\sample\wasm\console-node\Wasm.Console.Node.Sample.csproj]
2026-06-09T19:58:44.1660942Z wasm-ld : error : C:\Users\CLOUDT~1\AppData\Local\Temp\tmpqm0a9ffblibemscripten_js_symbols.so: undefined symbol: SystemInteropJS_ReleaseJSOwnedObjectByGCHandle. Required by BrowserHost_ExternalAssemblyProbe [D:\a\_work\1\s\src\mono\sample\wasm\console-node\Wasm.Console.Node.Sample.csproj]
2026-06-09T19:58:44.1661809Z wasm-ld : error : C:\Users\CLOUDT~1\AppData\Local\Temp\tmpqm0a9ffblibemscripten_js_symbols.so: undefined symbol: SystemInteropJS_BindAssemblyExports. Required by BrowserHost_ExternalAssemblyProbe [D:\a\_work\1\s\src\mono\sample\wasm\console-node\Wasm.Console.Node.Sample.csproj]
2026-06-09T19:58:44.1662677Z wasm-ld : error : C:\Users\CLOUDT~1\AppData\Local\Temp\tmpqm0a9ffblibemscripten_js_symbols.so: undefined symbol: SystemInteropJS_CallJSExport. Required by BrowserHost_ExternalAssemblyProbe [D:\a\_work\1\s\src\mono\sample\wasm\console-node\Wasm.Console.Node.Sample.csproj]
2026-06-09T19:58:44.2031904Z emcc : error : 'D:/a/_work/1/s/src/mono/browser/emsdk/bin\wasm-ld.exe -o D:\a\_work\1\s\artifacts\obj\mono\Wasm.Console.Node.Sample\browser.wasm.Release\wasm\for-publish\dotnet.native.wasm D:\a\_work\1\s\artifacts\obj\mono\Wasm.Console.Node.Sample\browser.wasm.Release\wasm\for-publish\callhelpers-pinvoke.o D:\a\_work\1\s\artifacts\obj\mono\Wasm.Console.Node.Sample\browser.wasm.Release\wasm\for-publish\callhelpers-reverse.o D:\a\_work\1\s\artifacts\obj\mono\Wasm.Console.Node.Sample\browser.wasm.Release\wasm\for-publish\callhelpers-interp-to-managed.o D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libBrowserHost.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libcoreclr_static.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libnativeresourcestring.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libgcinfo_unix_wasm.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libcoreclrminipal.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libcoreclrpal.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libminipal.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libSystem.Native.Browser.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libSystem.Runtime.InteropServices.JavaScript.Native.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libSystem.Native.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libSystem.Globalization.Native.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libicuuc.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libicui18n.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libicudata.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libSystem.IO.Compression.Native.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libz.a D:\a\_work\1\s\artifacts\bin\microsoft.netcore.app.runtime.browser-wasm\Release\runtimes\browser-wasm\native\libSystem.Native.TimeZoneData.a --export=__stack_pointer --error-limit=0 -LD:\a\_work\1\s\src\mono\browser\emsdk\emscripten\cache\sysroot\lib\wasm32-emscripten -lGL-getprocaddr -lal -lhtml5 -lbulkmemory -lstubs -lc -ldlmalloc -lcompiler_rt-wasm-sjlj -lc++-except -lc++abi-except -lunwind-except -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -exception-model=wasm C:\Users\CLOUDT~1\AppData\Local\Temp\tmpqm0a9ffblibemscripten_js_symbols.so --export=free --export=htons --export=malloc --export=sbrk --export=memalign --export=posix_memalign --export=memset --export=ntohs --export=stackAlloc --export=stackRestore --export=stackSave --export=__stack_pointer --export=stackAlloc --export=__funcs_on_exit --export=__trap --export=__wasm_call_ctors --export=BrowserHost_CreateHostContract --export=BrowserHost_InitializeDotnet --export=BrowserHost_ExecuteAssembly --export=BrowserHost_ShutdownDotnet --export=SystemInteropJS_GetManagedStackTrace --export=SystemInteropJS_CallDelegate --export=SystemInteropJS_CompleteTask --export=SystemInteropJS_ReleaseJSOwnedObjectByGCHandle --export=SystemInteropJS_BindAssemblyExports --export=SystemInteropJS_CallJSExport --export=SystemJS_ExecuteTimerCallback --export=SystemJS_ExecuteBackgroundJobCallback --export=SystemJS_ExecuteFinalizationCallback --export=SystemJS_ExecuteDiagnosticServerCallback --export=GetDotNetRuntimeContractDescriptor --export=_exit --export=stackSave --export=stackRestore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=fflush --export-table --growable-table -z stack-size=2097152 --max-memory=2147483648 --initial-memory=33554432 --no-entry --table-base=1 --global-base=1024' failed (returned 1) [D:\a\_work\1\s\src\mono\sample\wasm\console-node\Wasm.Console.Node.Sample.csproj]
2026-06-09T19:58:44.2280521Z D:\a\_work\1\s\src\mono\browser\build\BrowserWasmApp.CoreCLR.targets(643,5): error MSB3073: The command ""D:\a\_work\1\s\src\mono\browser\emsdk\emscripten\emcc" -fwasm-exceptions -msimd128 "@D:\a\_work\1\s\artifacts\obj\mono\Wasm.Console.Node.Sample\browser.wasm.Release\wasm\for-publish\emcc-link.rsp"" exited with code 1. [D:\a\_work\1\s\src\mono\sample\wasm\console-node\Wasm.Console.Node.Sample.csproj]
2026-06-09T19:58:44.3561395Z 2026-06-09T19:58:44.3629303Z Build FAILED.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1456473&view=results
Build error leg or test failing: browser-wasm windows checked CoreCLR_ReleaseLibraries

Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "undefined symbol: SystemInteropJS_GetManagedStackTrace",
"BuildRetry": false,
"ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=1456473
Error message validated:[undefined symbol: SystemInteropJS_GetManagedStackTrace]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/10/2026 11:30:22 AM UTC

Report

BuildRepositoryStep NameConsole logPull Request
1461360dotnet/runtimeBuild productLog#129315
1461350dotnet/runtimeBuild productLog#129299
1461046dotnet/runtimeBuild productLog#129305
1461072dotnet/runtimeBuild productLog#129043
1460856dotnet/runtimeBuild productLog#129316
1460901dotnet/runtimeBuild productLog
1459317dotnet/runtimeBuild productLog#127760
1460819dotnet/runtimeBuild productLog#78746
1460768dotnet/runtimeBuild productLog#129315
1460790dotnet/runtimeBuild productLog#129304
1460701dotnet/runtimeBuild productLog#129034
1460733dotnet/runtimeBuild productLog#129201
1460706dotnet/runtimeBuild productLog#129278
1460667dotnet/runtimeBuild productLog#129314
1460644dotnet/runtimeBuild productLog#129312
1460629dotnet/runtimeBuild productLog#129309
1460625dotnet/runtimeBuild productLog#129140
1460598dotnet/runtimeBuild productLog#129091
1460589dotnet/runtimeBuild productLog#128658
1460411dotnet/runtimeBuild productLog#129083
1460523dotnet/runtimeBuild productLog#129299
1460485dotnet/runtimeBuild productLog#128912
1460462dotnet/runtimeBuild productLog#129019
1460458dotnet/runtimeBuild productLog#129304
1459990dotnet/runtimeBuild productLog#129253
1460431dotnet/runtimeBuild productLog#128795
1460426dotnet/runtimeBuild productLog#129197
1460416dotnet/runtimeBuild productLog#128927
1460390dotnet/runtimeBuild productLog#128420
1460384dotnet/runtimeBuild productLog#129309
1459877dotnet/runtimeBuild productLog#129255
1459525dotnet/runtimeBuild productLog#129285
1460277dotnet/runtimeBuild productLog#129271
1460273dotnet/runtimeBuild productLog
1460236dotnet/runtimeBuild productLog#129200
1460188dotnet/runtimeBuild productLog#129299
1460180dotnet/runtimeBuild productLog#129300
1460155dotnet/runtimeBuild productLog#129248
1458627dotnet/runtimeBuild productLog#126720
1460148dotnet/runtimeBuild productLog#129082
1460142dotnet/runtimeBuild productLog#129297
1460096dotnet/runtimeBuild productLog#129306
1460078dotnet/runtimeBuild productLog#129206
1460058dotnet/runtimeBuild productLog#129141
1460068dotnet/runtimeBuild productLog#129305
1460022dotnet/runtimeBuild productLog#129303
1459999dotnet/runtimeBuild productLog#129304
1458751dotnet/runtimeBuild productLog#129197
1459493dotnet/runtimeBuild productLog#128384
1459800dotnet/runtimeBuild productLog#129145
1459790dotnet/runtimeBuild productLog#129272
1459744dotnet/runtimeBuild productLog#129293
1459736dotnet/runtimeBuild productLog#129292
1458800dotnet/runtimeBuild productLog#129268
1459711dotnet/runtimeBuild productLog#129269
1459377dotnet/runtimeBuild productLog#129249
1459280dotnet/runtimeBuild productLog#123138
1459652dotnet/runtimeBuild productLog#129261
1459554dotnet/runtimeBuild productLog#127520
1459013dotnet/runtimeBuild productLog#128906
1456366dotnet/runtimeBuild productLog#129183
1459033dotnet/runtimeBuild productLog#129278
1458883dotnet/runtimeBuild productLog#129141
1459205dotnet/runtimeBuild productLog
1458757dotnet/runtimeBuild productLog#129267
1458391dotnet/runtimeBuild productLog#129248
1458966dotnet/runtimeBuild productLog#128384
1458413dotnet/runtimeBuild productLog#129080
1458932dotnet/runtimeBuild productLog#129203
1458912dotnet/runtimeBuild productLog#129272
1458859dotnet/runtimeBuild productLog#129271
1458355dotnet/runtimeBuild productLog#129189
1458809dotnet/runtimeBuild productLog#129269
1458690dotnet/runtimeBuild productLog#129201
1458667dotnet/runtimeBuild productLog#129034
1458649dotnet/runtimeBuild productLog#129206
1458073dotnet/runtimeBuild productLog#129058
1458593dotnet/runtimeBuild productLog#125436
1458561dotnet/runtimeBuild productLog#129059
1458536dotnet/runtimeBuild productLog#129261
1458456dotnet/runtimeBuild productLog#129029
1458431dotnet/runtimeBuild productLog
1458378dotnet/runtimeBuild productLog#129256
1458364dotnet/runtimeBuild productLog#129255
1458326dotnet/runtimeBuild productLog#129202
1458308dotnet/runtimeBuild productLog#129253
1458240dotnet/runtimeBuild productLog#129249
1458217dotnet/runtimeBuild productLog#129043
1458179dotnet/runtimeBuild productLog#129205
1457163dotnet/runtimeBuild productLog#129083
1458015dotnet/runtimeBuild productLog#129240
1457995dotnet/runtimeBuild productLog#128384
1457861dotnet/runtimeBuild productLog#128365
1457851dotnet/runtimeBuild productLog#128604
1457573dotnet/runtimeBuild productLog#129157
1457823dotnet/runtimeBuild productLog#129199
1457799dotnet/runtimeBuild productLog#127520
1457784dotnet/runtimeBuild productLog#129221
1457474dotnet/runtimeBuild productLog#128950
1457299dotnet/runtimeBuild productLog
Displaying 100 of 108 results

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
54108108

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions