Skip to content

Test failure with incorrect stack state #634

Description

@titzer

The following test fails on all targets:

sup06.zip

bin/wizeng --trace-stack 

sup06.bin.wast 
##>1
##+/tmp/sup06.bin.wast
Batch allocating 8 stacks
Requested fresh x86_stack @ 0x08424578
!X86_64StackError: resume() requires state == RESUMABLE, got SUSPENDED
	in X86_64Stack.fatal() [src/engine/x86-64/X86_64Stack.v3 @ 591:29]
	in X86_64Stack.checkState() [src/engine/x86-64/X86_64Stack.v3 @ 325:46]
	in X86_64Stack.resume() [src/engine/x86-64/X86_64Stack.v3 @ 72:27]
	in X86_64StackManager.runOnFreshStack() [src/engine/x86-64/X86_64Stack.v3 @ 961:62]
	in X86_64InterpreterOnlyStrategy.call() [src/engine/x86-64/X86_64Target.v3 @ 209:58]
	in Execute.call() [src/engine/Execute.v3 @ 18:36]
	in SpecTestInterpreter.doInvoke() [test/wasm-spec/SpecTestInterpreter.v3 @ 248:42]
	in SpecTestInterpreter.doAction() [test/wasm-spec/SpecTestInterpreter.v3 @ 223:48]
	in SpecTestInterpreter.doCommand() [test/wasm-spec/SpecTestInterpreter.v3 @ 80:49]
	in SpecTestInterpreter.run() [test/wasm-spec/SpecTestInterpreter.v3 @ 60:34]
	in SpectestMode.runTest() [src/SpectestMode.v3 @ 68:35]
	in SpectestMode.run() [src/SpectestMode.v3 @ 26:51]
	in main() [src/wizeng.main.v3 @ 96:48]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions