Repository navigation
[browser][MT] fix stale memory on suspended thread - #94299
Conversation
|
Tagging subscribers to 'arch-wasm': @lewing Issue Detailstesting alternative to #90771 Problem: when WebWorker is suspended in the browser, the other running threads could We believe that described problem is cause of MT problems with debugger tests, example log
|
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ec0a5ca to
aaed9b6
Compare
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@thaystg I will wait for your feedback/approval |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Hmm, so now all errors are @thaystg does that mean my fix didn't help ? Or it means there is another issue ? Is debugger making the app to download something ? Does suspending thread while fetching break the fetch ? |
|
I also remember to have already tried it and it didn't help. But for me it's okay to try again. :) |
Where is "there" ? More details would help.
Could you please elaborate on what you tried ? |
4cb31ff to
6ebae17
Compare
|
Unfortunately I don't remember details of what I tested, I tried a lot of things before the workaround in that PR. |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
I think that the fix for memory views is good. Solid 10/10 There are problems with #89409 but that's unrelated issue |
|
@pavelsavara thanks a lot and congrats for this fix!!! |





Alternative to #90771
Problem: when WebWorker is suspended in the browser, the other running threads could
growthe linear memory in the meantime. After the thread is un-suspended it may to try to de-reference pointer which is beyond it's known view. This is likely V8 bug.We believe that described problem is cause of MT problems with debugger tests, example log