Skip to content

VM crashes on spectest #354

@tolauwae

Description

@tolauwae

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions