summaryrefslogtreecommitdiffstats
path: root/gitlab/issues/target_arm/host_missing/accel_TCG/1953.toml
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
commit4b927bc37359dec23f67d3427fc982945f24f404 (patch)
tree245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_arm/host_missing/accel_TCG/1953.toml
parentaa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff)
downloademulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz
emulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.zip
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_arm/host_missing/accel_TCG/1953.toml')
-rw-r--r--gitlab/issues/target_arm/host_missing/accel_TCG/1953.toml154
1 files changed, 154 insertions, 0 deletions
diff --git a/gitlab/issues/target_arm/host_missing/accel_TCG/1953.toml b/gitlab/issues/target_arm/host_missing/accel_TCG/1953.toml
new file mode 100644
index 00000000..cbd074ce
--- /dev/null
+++ b/gitlab/issues/target_arm/host_missing/accel_TCG/1953.toml
@@ -0,0 +1,154 @@
+id = 1953
+title = "Segmentation fault when compiling elixir app on qemu aarch64 on x86_64 host"
+state = "opened"
+created_at = "2023-10-22T06:22:15.759Z"
+closed_at = "n/a"
+labels = ["accel: TCG", "linux-user", "target: arm", "workflow::Needs Info"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1953"
+host-os = "Linux"
+host-arch = "x86_64"
+qemu-version = "8.1.2"
+guest-os = "Linux"
+guest-arch = "aarch64"
+description = """When I try to install an elixir escript using
+
+```
+mix escript.install github upmaru/pakman --force
+```
+
+I run into a segfault with the following output
+
+```
+
+
+Build and Deploy
+failed Oct 22, 2023 in 1m 27s
+2s
+2s
+22s
+56s
+remote: Compressing objects: 86% (144/167)
+remote: Compressing objects: 87% (146/167)
+remote: Compressing objects: 88% (147/167)
+remote: Compressing objects: 89% (149/167)
+remote: Compressing objects: 90% (151/167)
+remote: Compressing objects: 91% (152/167)
+remote: Compressing objects: 92% (154/167)
+remote: Compressing objects: 93% (156/167)
+remote: Compressing objects: 94% (157/167)
+remote: Compressing objects: 95% (159/167)
+remote: Compressing objects: 96% (161/167)
+remote: Compressing objects: 97% (162/167)
+remote: Compressing objects: 98% (164/167)
+remote: Compressing objects: 99% (166/167)
+remote: Compressing objects: 100% (167/167)
+remote: Compressing objects: 100% (167/167), done.
+remote: Total 2568 (delta 86), reused 188 (delta 58), pack-reused 2341
+origin/HEAD set to develop
+Resolving Hex dependencies...
+Resolution completed in 0.872s
+New:
+ castore 1.0.4
+ finch 0.16.0
+ hpax 0.1.2
+ jason 1.4.1
+ mime 2.0.5
+ mint 1.5.1
+ nimble_options 1.0.2
+ nimble_pool 1.0.0
+ slugger 0.3.0
+ telemetry 1.2.1
+ tesla 1.7.0
+ yamerl 0.10.0
+ yaml_elixir 2.8.0
+* Getting tesla (Hex package)
+* Getting jason (Hex package)
+* Getting yaml_elixir (Hex package)
+* Getting slugger (Hex package)
+* Getting finch (Hex package)
+* Getting mint (Hex package)
+* Getting castore (Hex package)
+* Getting hpax (Hex package)
+* Getting mime (Hex package)
+* Getting nimble_options (Hex package)
+* Getting nimble_pool (Hex package)
+* Getting telemetry (Hex package)
+* Getting yamerl (Hex package)
+Resolving Hex dependencies...
+Resolution completed in 0.413s
+Unchanged:
+ castore 1.0.4
+ finch 0.16.0
+ hpax 0.1.2
+ jason 1.4.1
+ mime 2.0.5
+ mint 1.5.1
+ nimble_options 1.0.2
+ nimble_pool 1.0.0
+ slugger 0.3.0
+ telemetry 1.2.1
+ tesla 1.7.0
+ yamerl 0.10.0
+ yaml_elixir 2.8.0
+All dependencies are up to date
+==> mime
+Compiling 1 file (.ex)
+Generated mime app
+==> nimble_options
+Compiling 3 files (.ex)
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+Segmentation fault (core dumped)
+```"""
+reproduce = """1. Create a repo using the github action zacksiri/setup-alpine
+2. Install elixir
+3. run `mix escript.install github upmaru/pakman --force`"""
+additional = """You can use the following github action config as an example / starting point.
+
+
+```yml
+name: 'Deployment'
+
+on:
+ push:
+ branches:
+ - main
+ - master
+ - develop
+
+jobs:
+ build_and_deploy:
+ name: Build and Deploy
+ runs-on: ubuntu-latest
+ steps:
+ - name: 'Checkout'
+ uses: actions/checkout@v3
+ with:
+ ref: ${{ github.event.workflow_run.head_branch }}
+ fetch-depth: 0
+
+ - name: 'Setup Alpine'
+ uses: zacksiri/setup-alpine@master
+ with:
+ branch: v3.18
+ arch: aarch64
+ qemu-repo: edge
+ packages: |
+ zip
+ tar
+ sudo
+ alpine-sdk
+ coreutils
+ cmake
+ elixir
+
+ - name: 'Setup PAKman'
+ run: |
+ export MIX_ENV=prod
+
+ mix local.rebar --force
+ mix local.hex --force
+ mix escript.install github upmaru/pakman --force
+ shell: alpine.sh {0}
+```
+
+I'm using alpine 3.18 which has otp25 with jit enabled so I suspect this is something to do with https://gitlab.com/qemu-project/qemu/-/issues/1034"""