Workflow command hanging with no output

Hi. I’m trying to get my first Action working. The source is here: https://github.com/dylan-lang/testworks/commits/master/.github/workflows/linux-od-test.yml and an example run is here: https://github.com/dylan-lang/testworks/runs/962932743?check_suite_focus=true

The command that hangs is dylan-tool/bin/dylan-tool new workspace testworks.

Both dylan-compiler and dylan-tool are executables created by dylan-compiler. opendylan-2019.1/bin/dylan-compiler -version runs fine as indicated by the (somewhat hard to see) output “Version 2019.1”. As you can see the ldd output for the dylan-tool binary looks good.

I’ve verified that when I use the exact same curl command to download dylan-tool and run it it works fine, so it’s not a problem with the tarball.

Any ideas what I can try next to debug this?
Thanks!

Update: running the binary under strace shows that it’s calling rt_sigprocmask a lot and then repeating these two lines “forever”:

2020-08-09T17:31:22.9265553Z --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x5e2940} ---
2020-08-09T17:31:22.9265690Z rt_sigreturn({mask=[]})                 = 140067061893936

The strace run is here: https://github.com/dylan-lang/testworks/runs/964133199?check_suite_focus=true

Maybe it doesn’t like my binary calling execve? Maybe it has a problem with libgc?

Thank you for your feedback.
Can you check if you can run these commands successfully in the local environment not using Github Action?

Do you mean you can fully succeed or just install dylan-tool successfully? Please describe it in detail and
share operating steps.

Hi niconbw, thanks for the reply. Yes, all of the commands work properly when not run as a GitHub action. When I run dylan-tool/bin/dylan-tool locally I see this:

$ dylan-tool/bin/dylan-tool new workspace testworks
Wrote workspace file to /home/cgay/workspace/workspace.json.
You may now run 'dylan-tool update' in the new directory.

I couldn’t find documentation listing things that are prohibited in github actions, but dylan-tool does try to run git checkout as a subprocess and I wonder if that could be the problem.

Hi @cgay
Since all of the commands work properly locally, could you please try to use a self-hosted runners instead of ubuntu-latest GitHub-hosted runner to check if it works so that we can narrow down the issue.
Thanks for your cooperation.