summaryrefslogtreecommitdiffstats
path: root/results/classifier/zero-shot-user-mode/output/runtime/1953
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-07 17:23:11 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-07-07 17:23:11 +0000
commitc50b0c4da17b6e83640e4ed2380fffb5f507c846 (patch)
treeb4f203fce1380e2ea3578a784bb8ee060fe42cbd /results/classifier/zero-shot-user-mode/output/runtime/1953
parent61361f925d4914a6608a0076e64cc2399311ed5f (diff)
downloademulator-bug-study-c50b0c4da17b6e83640e4ed2380fffb5f507c846.tar.gz
emulator-bug-study-c50b0c4da17b6e83640e4ed2380fffb5f507c846.zip
add zero-shot results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/output/runtime/1953')
-rw-r--r--results/classifier/zero-shot-user-mode/output/runtime/1953152
1 files changed, 152 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/runtime/1953 b/results/classifier/zero-shot-user-mode/output/runtime/1953
new file mode 100644
index 00000000..cbe1085a
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/output/runtime/1953
@@ -0,0 +1,152 @@
+runtime: 0.454
+instruction: 0.321
+syscall: 0.225
+
+
+
+Segmentation fault when compiling elixir app on qemu aarch64 on x86_64 host
+Description of problem:
+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)
+```
+Steps to 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 information:
+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