-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Description
Steps to Reproduce
- https://github.com/jeromelaban/Wasm.Samples/tree/master/HttpClientRepro
msbuild /r /bl /p:Configuration=Release- Browse using the
server.pyin thebin/Release/netstandard2.0/distfolder.
Current Behavior
The first call fails with RuntimeError: index out of bounds
The second call works, but raises a native assert.
Loaded: aot-dummy.dll mono.js:6838:16
initializing mono runtime mono.js:6844:17
>>mono_wasm_runtime_ready mono.js:6759:14
/mnt/jenkins/workspace/test-mono-mainline-wasm/label/ubuntu-1804-amd64/mono/metadata/icall.c:1632: mono.js:2181:13
WebAssembly.JSException: RuntimeError: index out of bounds mono.js:2181:13
mono.js:2181:13
/mnt/jenkins/workspace/test-mono-mainline-wasm/label/ubuntu-1804-amd64/mono/metadata/icall.c:1632: mono.js:2181:13
[{"CountryCode":"USA","CountryName":"United States","CurrencyCode":"USD","CurrencyName":"Dollar","CurrencySymbol":"$"},…
Expected Behavior
Both calls to the GetStringAsync work, without raisong runtime errors.
On which platforms did you notice this
[ ] macOS
[ ] Linux
[ ] Windows
[X] WebAssembly
Version Used:
Stacktrace
Please paste the stack trace here if available.