Skip to content

goroutine stack exceeds 1000000000-byte limit #529

@joeshow79

Description

@joeshow79

Describe the bug

When follow the tutorial of json-c (https://qmstr.org/documentation/introduction/getting-started/json-c_tutorial/), always failed to run "qmstr run ./build.sh",the output is like the below

‘‘’
configure: error: C compiler cannot create executables
See `config.log' for more details
’‘’

check the config.log, there is error message,

‘‘’
configure:3561: /tmp/qmstr-bin-559810982/bin/gcc conftest.c >&5
120 2020/09/10 14:26:15 could not greet: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 0.0.0.0:6788: connect: connection refused"
‘‘’

“docker ps” to find that the master container has been quit, and "docker logs -f container_id_of_master" when run "qmstr run ./build.sh" again, the logs print something like below when the error happened again

‘‘’
runtime: goroutine stack exceeds 1000000000-byte limit
fatal error: stack overflow

runtime stack:
runtime.throw(0xaa0971, 0xe)
/opt/go/src/runtime/panic.go:617 +0x72
runtime.newstack()
/opt/go/src/runtime/stack.go:1041 +0x6f0
runtime.morestack()
/opt/go/src/runtime/asm_amd64.s:429 +0x8f
‘‘’

Any suggestion how to fix or bypass this issue, many thanks!

To Reproduce

Steps to reproduce the behavior:
follow the same steps as the tutorial (https://qmstr.org/documentation/introduction/getting-started/json-c_tutorial/)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions