Skip to content
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

runtime: memory corruption on android-arm-corellium #64938

Open
bcmills opened this issue Jan 2, 2024 · 0 comments
Open

runtime: memory corruption on android-arm-corellium #64938

bcmills opened this issue Jan 2, 2024 · 0 comments
Assignees
Labels
arch-arm Issues solely affecting the 32-bit arm architecture. Builders x/build issues (builders, bots, dashboards) compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Android
Milestone

Comments

@bcmills
Copy link
Member

bcmills commented Jan 2, 2024

#!watchflakes
default <- builder == "android-arm-corellium"

Go version

b25f555

What operating system and processor architecture are you using (go env)?

:: Running /data/data/com.termux/files/usr/bin/bash with args ["bash" "/data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/go/src/make.bash" "-force"] and env ["SHELL=/data/data/com.termux/files/usr/bin/bash" "COLORTERM=truecolor" "TERM_PROGRAM_VERSION=next-3.4" "TMUX=/data/data/com.termux/files/usr/var/run/tmux-10066/default,2426,0" "PREFIX=/data/data/com.termux/files/usr" "TERMUX_IS_DEBUGGABLE_BUILD=0" "TERMUX_MAIN_PACKAGE_FORMAT=debian" "TERMUX_VERSION=0.118.0" "EXTERNAL_STORAGE=/sdcard" "HOME=/data/data/com.termux/files/home" "LANG=en_US.UTF-8" "TMUX_TMPDIR=/data/data/com.termux/files/usr/var/run" "TERMUX_APK_RELEASE=F_DROID" "GO_BUILDER_ENV=host-android-arm64-corellium-android" "ANDROID_DATA=/data" "TERM=screen-256color" "TMUX_PANE=%0" "SHLVL=0" "ANDROID_ROOT=/system" "BOOTCLASSPATH=/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/bouncycastle.jar:/system/framework/apache-xml.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/android.hidl.base-V1.0-java.jar:/system/framework/android.hidl.manager-V1.0-java.jar:/system/framework/framework-oahl-backward-compatibility.jar:/system/framework/android.test.base.jar" "TERMUX_APP_PID=2377" "PATH=/data/data/com.termux/files/home/go/bin:/data/data/com.termux/files/usr/bin" "CC=/data/data/com.termux/files/home/clangwrap" "TERM_PROGRAM=tmux" "_=/data/data/com.termux/files/home/go/bin/buildlet" "WORKDIR=/data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android" "GO_BUILDER_NAME=android-arm-corellium" "GOROOT_BOOTSTRAP=/data/data/com.termux/files/home/go-android-arm64-bootstrap" "GOMAXPROCS=1" "CGO_ENABLED=1" "GOARCH=arm" "GO_TEST_TIMEOUT_SCALE=2" "GOBIN=" "TMPDIR=/data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/tmp" "GOCACHE=/data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/gocache" "GOPLSCACHE=/data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/goplscache" "PWD=/data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/go/src"] in dir /data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/go/src

What did you do?

Check builder status on https://build.golang.org/.

What did you expect to see?

All tests consistently passing.

What did you see instead?

The android-arm-corellium builder is failing essentially every run, but not in a consistent place. The failure symptoms are consistent with memory corruption, although it's not obvious to me whether the corruption is a hardware or platform issue or a bug somewhere in the Go runtime or compiler.

(attn @golang/android)

@bcmills bcmills added Builders x/build issues (builders, bots, dashboards) OS-Android arch-arm Issues solely affecting the 32-bit arm architecture. compiler/runtime Issues related to the Go compiler and/or runtime. labels Jan 2, 2024
@bcmills bcmills added this to the Backlog milestone Jan 2, 2024
@dmitshur dmitshur added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jan 9, 2024
@mknyszek mknyszek self-assigned this Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm Issues solely affecting the 32-bit arm architecture. Builders x/build issues (builders, bots, dashboards) compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Android
Projects
Status: No status
Development

No branches or pull requests

3 participants