We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone https://github.com/hajimehoshi/ebiten cd ebiten docker pull tinygo/tinygo:latest docker run --rm -v $(pwd):/src -w /src tinygo/tinygo:latest tinygo build -o wasm.wasm -target=wasm -tags=example ./examples/2048/
$ docker run --rm -v $(pwd):/src -w /src tinygo/tinygo:latest tinygo build -o wasm.wasm -target=wasm -tags=example ./examples/2048/ go: downloading golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d go: downloading golang.org/x/text v0.3.6 runtime: goroutine stack exceeds 1000000000-byte limit runtime: sp=0xc03e738398 stack=[0xc03e738000, 0xc05e738000] fatal error: stack overflow runtime stack: runtime.throw({0x4488e9e, 0x5f0a740}) /usr/local/go/src/runtime/panic.go:1198 +0x71 runtime.newstack() /usr/local/go/src/runtime/stack.go:1088 +0x5ac runtime.morestack() /usr/local/go/src/runtime/asm_amd64.s:461 +0x8b goroutine 24 [running]: runtime.cgoCheckUnknownPointer(0xc01da15400, {0x4497a51, 0x29}) /usr/local/go/src/runtime/cgocall.go:554 +0x272 fp=0xc03e7383a8 sp=0xc03e7383a0 pc=0xa6c3d2 runtime.cgoCheckArg(0x441f6c0, 0xc01da15400, 0x60, 0x1, {0x4497a51, 0x29}) /usr/local/go/src/runtime/cgocall.go:546 +0x1c5 fp=0xc03e738428 sp=0xc03e7383a8 pc=0xa6bd65 runtime.cgoCheckPointer({0x441f6c0, 0xc01da15400}, {0x0, 0x0}) /usr/local/go/src/runtime/cgocall.go:427 +0x156 fp=0xc03e738470 sp=0xc03e738428 pc=0xa6bb36 tinygo.org/x/go-llvm.ConstArray.func1({0xd8ad50}, 0xc03e7384e0, 0x3e7384e0) /go/pkg/mod/tinygo.org/x/[email protected]/ir.go:889 +0x53 fp=0xc03e7384b8 sp=0xc03e738470 pc=0xc5b1b3 tinygo.org/x/go-llvm.ConstArray({0x7f2311aa4858}, {0xc01da15400, 0x0, 0x7f2319683440}) /go/pkg/mod/tinygo.org/x/[email protected]/ir.go:889 +0x2e fp=0xc03e7384e0 sp=0xc03e7384b8 pc=0xc5b10e github.com/tinygo-org/tinygo/interp.rawValue.rawLLVMValue.func1() /home/circleci/project/interp/memory.go:793 +0xbb fp=0xc03e738548 sp=0xc03e7384e0 pc=0xd28c1b github.com/tinygo-org/tinygo/interp.rawValue.rawLLVMValue({{0xc014007c00, 0x2b1, 0xc03e7386c8}}, 0xc0036fb740) /home/circleci/project/interp/memory.go:801 +0x1b7 fp=0xc03e738638 sp=0xc03e738548 pc=0xd28937 github.com/tinygo-org/tinygo/interp.pointerValue.toLLVMValue({0x0}, {0xc01da1c600}, 0xc0036fb740) /home/circleci/project/interp/memory.go:535 +0x1c5 fp=0xc03e7387f8 sp=0xc03e738638 pc=0xd278c5 github.com/tinygo-org/tinygo/interp.rawValue.rawLLVMValue({{0xc014007c00, 0x2b1, 0xc03e738978}}, 0xc0036fb740) /home/circleci/project/interp/memory.go:802 +0x1d9 fp=0xc03e7388e8 sp=0xc03e7387f8 pc=0xd28959 github.com/tinygo-org/tinygo/interp.pointerValue.toLLVMValue({0x0}, {0xc01da1c400}, 0xc0036fb740) /home/circleci/project/interp/memory.go:535 +0x1c5 fp=0xc03e738aa8 sp=0xc03e7388e8 pc=0xd278c5 github.com/tinygo-org/tinygo/interp.rawValue.rawLLVMValue({{0xc014007c00, 0x2b1, 0xc03e738c28}}, 0xc0036fb740) /home/circleci/project/interp/memory.go:802 +0x1d9 fp=0xc03e738b98 sp=0xc03e738aa8 pc=0xd28959 github.com/tinygo-org/tinygo/interp.pointerValue.toLLVMValue({0x0}, {0xc01da1c200}, 0xc0036fb740) /home/circleci/project/interp/memory.go:535 +0x1c5 fp=0xc03e738d58 sp=0xc03e738b98 pc=0xd278c5 github.com/tinygo-org/tinygo/interp.rawValue.rawLLVMValue({{0xc014007c00, 0x2b1, 0xc03e738ed8}}, 0xc0036fb740) /home/circleci/project/interp/memory.go:802 +0x1d9 fp=0xc03e738e48 sp=0xc03e738d58 pc=0xd28959 github.com/tinygo-org/tinygo/interp.pointerValue.toLLVMValue({0x0}, {0xc01da1c000}, 0xc0036fb740) /home/circleci/project/interp/memory.go:535 +0x1c5 fp=0xc03e739008 sp=0xc03e738e48 pc=0xd278c5 github.com/tinygo-org/tinygo/interp.rawValue.rawLLVMValue({{0xc014007c00, 0x2b1, 0xc03e739188}}, 0xc0036fb740) /home/circleci/project/interp/memory.go:802 +0x1d9 fp=0xc03e7390f8 sp=0xc03e739008 pc=0xd28959 github.com/tinygo-org/tinygo/interp.pointerValue.toLLVMValue({0x0}, {0xc01da0fe00}, 0xc0036fb740) /home/circleci/project/interp/memory.go:535 +0x1c5 fp=0xc03e7392b8 sp=0xc03e7390f8 pc=0xd278c5 github.com/tinygo-org/tinygo/interp.rawValue.rawLLVMValue({{0xc014007c00, 0x2b1, 0xc03e739438}}, 0xc0036fb740) /home/circleci/project/interp/memory.go:802 +0x1d9 fp=0xc03e7393a8 sp=0xc03e7392b8 pc=0xd28959 github.com/tinygo-org/tinygo/interp.pointerValue.toLLVMValue({0x0}, {0xc01da0fc00}, 0xc0036fb740) /home/circleci/project/interp/memory.go:535 +0x1c5 fp=0xc03e739568 sp=0xc03e7393a8 pc=0xd278c5 github.com/tinygo-org/tinygo/interp.rawValue.rawLLVMValue({{0xc014007c00, 0x2b1, 0xc03e7396e8}}, 0xc0036fb740) /home/circleci/project/interp/memory.go:802 +0x1d9 fp=0xc03e739658 sp=0xc03e739568 pc=0xd28959 github.com/tinygo-org/tinygo/interp.pointerValue.toLLVMValue({0x0}, {0xc01da0fa00}, 0xc0036fb740) /home/circleci/project/interp/memory.go:535 +0x1c5 fp=0xc03e739818 sp=0xc03e739658 pc=0xd278c5 [...] ...additional frames elided... created by github.com/tinygo-org/tinygo/builder.runJobs /home/circleci/project/builder/jobs.go:101 +0x1a5 goroutine 1 [chan receive, 2 minutes]: github.com/tinygo-org/tinygo/builder.runJobs(0x4430300) /home/circleci/project/builder/jobs.go:133 +0x285 github.com/tinygo-org/tinygo/builder.Build({0x7ffd1d085f17, 0x10}, {0x7ffd1d085ef2, 0x4483770}, 0xc0001f69f0, 0xc00c077ad0) /home/circleci/project/builder/build.go:639 +0x2870 main.Build({0x7ffd1d085f17, 0x10}, {0x7ffd1d085ef2, 0x9}, 0x1) /home/circleci/project/main.go:132 +0x8f main.main() /home/circleci/project/main.go:1211 +0x2e6d goroutine 21 [chan receive, 3 minutes]: github.com/tinygo-org/tinygo/builder.jobWorker(0x0, 0x0) /home/circleci/project/builder/jobs.go:179 +0x5e created by github.com/tinygo-org/tinygo/builder.runJobs /home/circleci/project/builder/jobs.go:101 +0x1a5 goroutine 22 [chan receive, 2 minutes]: github.com/tinygo-org/tinygo/builder.jobWorker(0x0, 0x0) /home/circleci/project/builder/jobs.go:179 +0x5e created by github.com/tinygo-org/tinygo/builder.runJobs /home/circleci/project/builder/jobs.go:101 +0x1a5 goroutine 23 [chan receive, 3 minutes]: github.com/tinygo-org/tinygo/builder.jobWorker(0x0, 0x0) /home/circleci/project/builder/jobs.go:179 +0x5e created by github.com/tinygo-org/tinygo/builder.runJobs /home/circleci/project/builder/jobs.go:101 +0x1a5
The text was updated successfully, but these errors were encountered:
This is most likely #1848, which should be fixed with #2001.
Sorry, something went wrong.
Now that #2001 has been merged into the dev branch, any way to try this again @hajimehoshi? Thank you!
dev
Is this in the latest Docker image?
Latest dev image, yes. docker pull tinygo/tinygo-dev:latest should work.
docker pull tinygo/tinygo-dev:latest
Looks like the issue I reported fixed. Thanks!
No branches or pull requests
The text was updated successfully, but these errors were encountered: