summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/performance/2529
blob: 372ea388df8efe3f01d458152b386e76d6f1235f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
`stack smashing detected` running arm64 image from amd64 machine
Description of problem:
When running a linux/arm64 `ubuntu:20.04` docker image on a linux/amd64 machine, an single command `apt-get update` will through below error
```sh
root@189bd36b9ae7:/# apt-get update
0% [Working]*** stack smashing detected ***: terminated
Reading package lists... Done
E: Method http has died unexpectedly!
E: Sub-process http received signal 6.

```

Tested this is happening for ubuntu:18.04, ubuntu:20.04, ubuntu:22.04 so far

If running same image directly from an ARM64 host, issue is gone
Steps to reproduce:
1. install QEMU on an AMD64 host machine (Ubuntu20)
   ```sh
   docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
   ```
2. run linux/arm64 docker image of ubuntu:20.04
   ```sh
   docker run --platform linux/arm64 -it --entrypoint /bin/bash ubuntu:20.04
   ``` 
3. from within the container, run `apt-get update`, it will through below error
   ```sh
   root@189bd36b9ae7:/# apt-get update
   0% [Working]*** stack smashing detected ***: terminated
   Reading package lists... Done
   E: Method http has died unexpectedly!
   E: Sub-process http received signal 6.
   ```