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

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

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
54 108 108

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions