Pavel Savara

Results 74 comments of Pavel Savara

CI test with multiple workitems on Helix is https://github.com/dotnet/runtime/pull/73629

/azp run runtime-wasm

Please also update `src\mono\sample\wasm\browser-eventpipe\main.js` to use the env variable Ideally also replacing `BINDING.bind_static_method` with `[JSExport]` or is @maraf already looking at that ?

/azp run runtime-wasm

``` warn: MAIN1: Probably deadlock during read_response with lock_state=0 at LibraryChannel.wait_for_state (http://127.0.0.1:60672/dotnet.js:3674:103) at LibraryChannel.read_response (http://127.0.0.1:60672/dotnet.js:3638:36) at LibraryChannel.send_msg (http://127.0.0.1:60672/dotnet.js:3562:29) at _send_msg_worker (http://127.0.0.1:60672/dotnet.js:3499:55) at Object.dotnet_browser_encrypt_decrypt (http://127.0.0.1:60672/dotnet.js:3438:24) at _dotnet_browser_encrypt_decrypt (http://127.0.0.1:60672/dotnet.js:15377:75) at SystemCryptoNativeBrowser_EncryptDecrypt (SystemCryptoNativeBrowser_EncryptDecrypt...

/azp run runtime-wasm

/azp run runtime-wasm

I added tracing to `wait_for_state` in main thread ``` MAIN1: Probably deadlock during read_response with state=1 at LibraryChannel.wait_for_state (http://127.0.0.1:52184/dotnet.js:3684:103) at LibraryChannel.read_response (http://127.0.0.1:52184/dotnet.js:3641:36) at LibraryChannel.send_msg (http://127.0.0.1:52184/dotnet.js:3565:29) at _send_msg_worker (http://127.0.0.1:52184/dotnet.js:3502:55) at Object.dotnet_browser_encrypt_decrypt...

Repro: 1) `dotnet build /p:TargetOS=Browser /p:TargetArchitecture=wasm /p:Configuration=Debug /t:Test src\libraries\System.Security.Cryptography\tests /p:Scenario=WasmTestOnBrowser /p:UseSubtleCryptoForTests=true /p:WasmTestAppArgs="-class System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests"` 2) `a.cmd` runs the test in `c:\Dev\runtime\artifacts\bin\System.Security.Cryptography.Tests\Debug\net7.0-browser\browser-wasm\AppBundle` in a loop run `a.cmd 1` in console 1 run...

/azp run runtime-wasm