Spectest now fails because latch loses connection with the VM. I suspect the VM crashes for the first suite unwind.wast because of a segmentation fault in Debugger::dumpLocals, leading to the failed connection and timeout.
|
int firstFunFramePtr = m->csp; |
|
while (m->callstack[firstFunFramePtr].block->block_type != 0) { |
Here m->csp = -1 leading to a segmentation fault when it is used as an array index on line 582.
Originally posted by @tolauwae in #339 (comment)
Spectest now fails because latch loses connection with the VM. I suspect the VM crashes for the first suite
unwind.wastbecause of a segmentation fault inDebugger::dumpLocals, leading to the failed connection and timeout.WARDuino/src/Debug/debugger.cpp
Lines 581 to 582 in 050bdc5
Here
m->csp = -1leading to a segmentation fault when it is used as an array index on line 582.Originally posted by @tolauwae in #339 (comment)