Expected result: the test passes or fails with 'expression unavailable'.
error: Execution was interrupted, reason: Exception 0xc0000005 encountered at address 0x7ff6fcf15f90: Access violation reading location 0x1ae198763ec.
The process has been returned to the state before expression evaluation.
* thread #1, name = 'main', stop reason = breakpoint 1.1
frame #0: 0x0000028d720c15b8 JIT(0x28d72210080)`DerivedType::InstanceMethod(__this=(__ptr = <read memory from 0x28de65f5f0c failed (0 of 4 bytes read)>)) at generic.cpp:26:5
23 long long DerivedValue = 2;
24
25 int InstanceMethod() {
-> 26 debug_break();
27 return BaseValue + DerivedValue;
28 }
29
(lldb) v
(WasmtimeVMContext *) __vmctx = 0x0000028d72165f00
(WebAssemblyPtrWrapper<DerivedType>) __this = (__ptr = <read memory from 0x28de65f5f0c failed (0 of 4 bytes read)>)
Reproduction steps:
__thisparameter #9898.-Oopt-level=0to wasmtime.Expected result: the test passes or fails with 'expression unavailable'.
Actual result:
It means the location descriptor for
__thisis incorrect.