runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[wasm][debugger][tests] Possible race condition seen in `DebuggerTests.BreakpointTests.JSConditionalBreakpoint`

Open radical opened this issue 3 years ago • 1 comments

Log:

  Failed DebuggerTests.BreakpointTests.JSConditionalBreakpoint(condition: "0.0", line_bp: 79, column_bp: 3, line_expected: 80, column_expected: 11) [52 ms]
  Error Message:
   System.IndexOutOfRangeException : Index was outside the bounds of the array.
  Stack Trace:
     at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
   at DebuggerTests.Inspector.WaitFor(String what) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 82
   at DebuggerTests.DebuggerTestBase.WaitFor(String what) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 222
   at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn, String waitForEvent) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 549
   at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 533
   at DebuggerTests.BreakpointTests.JSConditionalBreakpoint(String condition, Int32 line_bp, Int32 column_bp, Int32 line_expected, Int32 column_expected) in /_/src/mono/wasm/debugger/DebuggerTestSuite/BreakpointTests.cs:line 232
--- End of stack trace from previous location ---

radical avatar May 10 '22 17:05 radical

Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.

Issue Details

Log:

  Failed DebuggerTests.BreakpointTests.JSConditionalBreakpoint(condition: "0.0", line_bp: 79, column_bp: 3, line_expected: 80, column_expected: 11) [52 ms]
  Error Message:
   System.IndexOutOfRangeException : Index was outside the bounds of the array.
  Stack Trace:
     at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
   at DebuggerTests.Inspector.WaitFor(String what) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 82
   at DebuggerTests.DebuggerTestBase.WaitFor(String what) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 222
   at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn, String waitForEvent) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 549
   at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 533
   at DebuggerTests.BreakpointTests.JSConditionalBreakpoint(String condition, Int32 line_bp, Int32 column_bp, Int32 line_expected, Int32 column_expected) in /_/src/mono/wasm/debugger/DebuggerTestSuite/BreakpointTests.cs:line 232
--- End of stack trace from previous location ---
Author: radical
Assignees: radical
Labels:

arch-wasm, area-Debugger-mono

Milestone: -

msftbot[bot] avatar May 10 '22 17:05 msftbot[bot]