Skip to content

Instantly share code, notes, and snippets.

@dicej
Created June 26, 2024 16:19
Show Gist options
  • Save dicej/0708b9ec9e6478288fac65c815cf3382 to your computer and use it in GitHub Desktop.
Save dicej/0708b9ec9e6478288fac65c815cf3382 to your computer and use it in GitHub Desktop.
System.Net.Http.Functional.Tests.wasm output
$ WASMTIME_BACKTRACE_DETAILS=1 wasmtime run -S http /home/dicej/p/runtimelab/artifacts/bin/System.Net.Http.Functional.Tests/Release/net9.0-wasi/publish/System.Net.Http.Functional.Tests.wasm
Using threadless Xunit runner
Unhandled exception. System.IO.FileNotFoundException: Cannot load assembly 'System.Net.Http.Functional, Version=0.0.0.0'. No metadata found for this assembly.
Error: failed to run main module `/home/dicej/p/runtimelab/artifacts/bin/System.Net.Http.Functional.Tests/Release/net9.0-wasi/publish/System.Net.Http.Functional.Tests.wasm`
Caused by:
0: failed to invoke `run` function
1: error while executing at wasm backtrace:
0: 0x2389e53 - abort
at wasisdk://v20.54g9c1e194eb228/src/wasi-libc/libc-bottom-half/sources/abort.c:5:5
1: 0x2382abc - .tmppNn0HN!SystemNative_Abort
2: 0x277f22 - S_P_CoreLib_System_RuntimeExceptionHelpers__FailFast
at /home/dicej/p/runtimelab/src/coreclr/nativeaot/System.Private.CoreLib/src/System/RuntimeExceptionHelpers.cs:308
3: 0x1edf8a1 - S_P_CoreLib_System_RuntimeExceptionHelpers__RuntimeFailFast
at /home/dicej/p/runtimelab/src/coreclr/nativeaot/System.Private.CoreLib/src/System/RuntimeExceptionHelpers.cs:149
4: 0x1edd7da - S_P_CoreLib_System_Runtime_EH__HandleUnhandledException
at /home/dicej/p/runtimelab/src/coreclr/nativeaot/Runtime.Base/src/System/Runtime/ExceptionHandling.wasm.cs:325
5: 0x1ee0033 - .tmppNn0HN!System_Net_Http_Functional_Tests__Module___StartupCodeMain$F0_Filter
6: 0x2111cbb - S_P_CoreLib_System_Runtime_EH__CallFilterFunclet
at /home/dicej/p/runtimelab/src/coreclr/nativeaot/Runtime.Base/src/System/Runtime/ExceptionHandling.wasm.cs:136
7: 0x278d78 - S_P_CoreLib_System_Runtime_EH__DispatchException
at /home/dicej/p/runtimelab/src/coreclr/nativeaot/Runtime.Base/src/System/Runtime/ExceptionHandling.wasm.cs:75
8: 0x1b0fa67 - S_P_CoreLib_System_Runtime_EH__RhpThrowEx
at /home/dicej/p/runtimelab/src/coreclr/nativeaot/Runtime.Base/src/System/Runtime/ExceptionHandling.wasm.cs:32
9: 0x1b596e2 - S_P_CoreLib_System_Runtime_ExceptionServices_ExceptionDispatchInfo__Throw
at /home/dicej/p/runtimelab/src/libraries/System.Private.CoreLib/src/System/Runtime/ExceptionServices/ExceptionDispatchInfo.cs:53
10: 0x4073be - S_P_CoreLib_System_Runtime_CompilerServices_TaskAwaiter__ThrowForNonSuccess
at /home/dicej/p/runtimelab/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs:154
11: 0x1b0f7d3 - S_P_CoreLib_System_Runtime_CompilerServices_TaskAwaiter__HandleNonSuccessAndDebuggerNotification
at /home/dicej/p/runtimelab/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs:118
12: 0x132bd89 - .tmppNn0HN!System_Net_Http_Functional_Tests_WasmTestRunner___Main_
13: 0x2776df - .tmppNn0HN!System_Net_Http_Functional_Tests__Module___MainMethodWrapper
14: 0x1edfedf - .tmppNn0HN!System_Net_Http_Functional_Tests__Module___StartupCodeMain
15: 0x7a4db - .tmppNn0HN!main
16: 0x2389984 - .tmppNn0HN!__main_void
17: 0x7a471 - _start
at wasisdk://v20.54g9c1e194eb228/src/wasi-libc/libc-bottom-half/crt/crt1-command.c:43:13
18: 0x750649e - wit-component:adapter:wasi_snapshot_preview1!wasi:cli/[email protected]#run
2: wasm trap: wasm `unreachable` instruction executed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment