-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm] Assertion failure in DebuggerTests.HotReloadTests
on main
- src/mono/mono/component/debugger-engine.c:176
#88528
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsBuild InformationBuild: Error MessageFill the error message using step by step known issues guidance. {
"ErrorMessage": "",
"ErrorPattern": "console.warning:.* /__w/1/s/src/mono/mono/component/debugger-engine.c:176",
"BuildRetry": false,
"ExcludeConsoleLog": false
} cc @lambdageek
|
DebuggerTests.HotReloadTests
failing on main
DebuggerTests.HotReloadTests
on main
- src/mono/mono/component/debugger-engine.c:176
Changes since the last failing build: cd9d541...609b863 |
None of the changes seem related. I wonder if it's some kind of race condition between applying the update and the chrome devtools |
Noticed this in the proxy log: {
"id" : 100,
"result" : {
"exceptionDetails" : {
"columnNumber" : 21914,
"exceptionId" : 2,
"lineNumber" : 2,
"scriptId" : "8",
"stackTrace" : {
"callFrames" : [
{
"columnNumber" : 21914,
"functionName" : "Ft",
"lineNumber" : 2,
"scriptId" : "8",
"url" : "http://localhost:9400/_framework/dotnet.runtime.js"
},
{
"columnNumber" : 29,
"functionName" : "",
"lineNumber" : 0,
"scriptId" : "103",
"url" : ""
},
{
"columnNumber" : 20961,
"functionName" : "mono_wasm_fire_debugger_agent_message_with_data_to_pause",
"lineNumber" : 2,
"scriptId" : "8",
"url" : "http://localhost:9400/_framework/dotnet.runtime.js"
},
{
"columnNumber" : 21032,
"functionName" : "mono_wasm_fire_debugger_agent_message_with_data",
"lineNumber" : 2,
"scriptId" : "8",
"url" : "http://localhost:9400/_framework/dotnet.runtime.js"
},
{
"columnNumber" : 457628,
"functionName" : "$func1608",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 487646,
"functionName" : "$func1716",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 486081,
"functionName" : "$func1715",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 466849,
"functionName" : "$func1641",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 457235,
"functionName" : "$func1605",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 112544,
"functionName" : "$func236",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 101851,
"functionName" : "$func233",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 118256,
"functionName" : "$func267",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 950720,
"functionName" : "$func3408",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 781957,
"functionName" : "$func2737",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 781845,
"functionName" : "$func2736",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 635819,
"functionName" : "$func2115",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 128364,
"functionName" : "$func343",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 113811,
"functionName" : "$func240",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 61275,
"functionName" : "$func233",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 118256,
"functionName" : "$func267",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 950720,
"functionName" : "$func3408",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 781957,
"functionName" : "$func2737",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 783940,
"functionName" : "$func2743",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 793765,
"functionName" : "$func2767",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 41846,
"functionName" : "$mono_wasm_invoke_method_ref",
"lineNumber" : 0,
"scriptId" : "10",
"url" : "http://localhost:9400/_framework/dotnet.native.wasm"
},
{
"columnNumber" : 122834,
"functionName" : "Module._mono_wasm_invoke_method_ref",
"lineNumber" : 7,
"scriptId" : "9",
"url" : "http://localhost:9400/_framework/dotnet.native.js"
},
{
"columnNumber" : 4,
"functionName" : "_debugger_test__TestHotReloadUsingSDB_RunMethod",
"lineNumber" : 26,
"scriptId" : "102",
"url" : "https://dotnet.generated.invalid/_debugger_test__TestHotReloadUsingSDB_RunMethod"
},
{
"columnNumber" : 10,
"functionName" : "invoke_static_method",
"lineNumber" : 27,
"scriptId" : "3",
"url" : "http://localhost:9400/debugger-driver.html"
},
{
"columnNumber" : 31,
"functionName" : "",
"lineNumber" : 0,
"scriptId" : "101",
"url" : ""
}
],
"exception" : {
"className" : "TypeError",
"description" : "TypeError: Cannot destructure property 'res_ok' of 'jt.remove(...)' as it is undefined.\n at Object.Ft [as mono_wasm_get_dbg_command_info] (http://localhost:9400/_framework/dotnet.runtime.js:3:21915)\n at <anonymous>:1:30\n at mono_wasm_fire_debugger_agent_message_with_data_to_pause (http://localhost:9400/_framework/dotnet.runtime.js:3:20962)\n at mono_wasm_fire_debugger_agent_message_with_data (http://localhost:9400/_framework/dotnet.runtime.js:3:21033)\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1608]:0x6fb9c\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1716]:0x770de\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1715]:0x76ac1\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1641]:0x71fa1\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1605]:0x6fa13\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[236]:0x1b7a0",
"objectId" : "7846654860270616121.1.109",
"subtype" : "error",
"type" : "object"
},
"parent" : {
"callFrames" : [
{
"columnNumber" : 7,
"functionName" : "",
"lineNumber" : 0,
"scriptId" : "101",
"url" : ""
}
],
"description" : "setTimeout"
}
},
"text" : "Uncaught"
},
"result" : {
"className" : "TypeError",
"description" : "TypeError: Cannot destructure property 'res_ok' of 'jt.remove(...)' as it is undefined.\n at Object.Ft [as mono_wasm_get_dbg_command_info] (http://localhost:9400/_framework/dotnet.runtime.js:3:21915)\n at <anonymous>:1:30\n at mono_wasm_fire_debugger_agent_message_with_data_to_pause (http://localhost:9400/_framework/dotnet.runtime.js:3:20962)\n at mono_wasm_fire_debugger_agent_message_with_data (http://localhost:9400/_framework/dotnet.runtime.js:3:21033)\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1608]:0x6fb9c\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1716]:0x770de\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1715]:0x76ac1\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1641]:0x71fa1\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1605]:0x6fa13\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[236]:0x1b7a0",
"objectId" : "7846654860270616121.1.108",
"subtype" : "error",
"type" : "object"
}
}
}
|
IIUC, this uncaught exception should have been caught by the test harness. |
symbolicated:
|
This is because of runtime/src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs Lines 1153 to 1154 in 17a5d43
IIUC, this is needed, and correct only for the firefox case. If so, then command should be sent only in case of mono. |
The other issue is the exception
This is being called with the assembly bytes for EnC . Should it be throwing like this, or did we get some corrupted data? |
this should be trapped with the hotreload pr |
This is fixed in this PR: We were trying to set a breakpoint in an invalid IL because the symbols weren't update on browserdebugproxy side because of that exception while reading custom attributes. |
True. But I was asking about the underlying exception. |
I understood, I will answer you tomorrow morning. :) |
Answer: #88685 |
Build Information
Build error leg or test failing: chrome-DebuggerTests.HotReloadTests.WorkItemExecution
Hit on rolling build, and log.
Error Message
Fill the error message using step by step known issues guidance.
cc @lambdageek
Update: changes since last passing build: cd9d541...4285e43
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=331668
Error message validated:
console.warning:.* /__w/1/s/src/mono/mono/component/debugger-engine.c:176
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/7/2023 4:55:55 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: