Skip to content

os/exec: subprocesses on ios failing frequently with SIGTERM since CL 459176 #57577

New issue

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

Closed
bcmills opened this issue Jan 4, 2023 · 4 comments
Closed
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Darwin release-blocker
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Jan 4, 2023

#!watchflakes
post <- goos == "ios" && (`signal: segmentation fault` || `fork/exec .*: cannot allocate memory`)

The ios-arm64-corellium builder started failing frequently as of CL 459176, which attempted another fix for #56784 in light of #57263.

(CC @golang/ios, @rsc, @cherrymui)

@bcmills bcmills added OS-Darwin NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. mobile Android, iOS, and x/mobile labels Jan 4, 2023
@bcmills bcmills added this to the Go1.20 milestone Jan 4, 2023
@heschi
Copy link
Contributor

heschi commented Jan 4, 2023

Let's track this as a potential release blocker; this might be an iOS problem in which case perhaps we can skip __fork there, or maybe something's wrong with Darwin overall in which case we want to know that.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/460476 mentions this issue: cmd/link, runtime: Apple libc atfork workaround take 3

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "ios" && (`signal: segmentation fault` || `fork/exec .*: cannot allocate memory`)
2023-01-09 21:50 ios-arm64-corellium go@64519baf runtime/internal/atomic.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: signal: segmentation fault
2023-01-09 22:50 ios-arm64-corellium go@0202ad0b testing/quick.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: signal: segmentation fault
2023-01-10 17:59 ios-arm64-corellium go@82f09b75 compress/zlib.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: signal: segmentation fault

watchflakes

@gopherbot gopherbot reopened this Jan 16, 2023
@bcmills
Copy link
Contributor Author

bcmills commented Jan 17, 2023

The above failures predate the fix CL (see #57632).

@bcmills bcmills closed this as completed Jan 17, 2023
@golang golang locked and limited conversation to collaborators Jan 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Darwin release-blocker
Projects
Archived in project
Development

No branches or pull requests

3 participants