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

Qemu 7.2.0 usage error #211

Open
Jiawei202010 opened this issue Jan 10, 2025 · 1 comment
Open

Qemu 7.2.0 usage error #211

Jiawei202010 opened this issue Jan 10, 2025 · 1 comment

Comments

@Jiawei202010
Copy link

Architecture: x86_64

Compile environment:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

Docker version

Client: Docker Engine - Community
Version: 27.4.0
API version: 1.47
Go version: go1.22.10
Git commit: bde2b89
Built: Sat Dec 7 10:38:58 2024
OS/Arch: linux/amd64
Context: default

Server: Docker Engine - Community
Engine:
Version: 27.4.0
API version: 1.47 (minimum version 1.24)
Go version: go1.22.10
Git commit: 92a8393
Built: Sat Dec 7 10:38:58 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.24
GitCommit: 88bf19b2105c8b17560993bee28a01ddc2f97182
runc:
Version: 1.2.2
GitCommit: v1.2.2-0-g7cb3632
docker-init:
Version: 0.19.0
GitCommit: de40ad0

qemu information
multiarch/qemu-user-static latest 3539aaa87393 24 months ago 305MB
multiarch/qemu-user-static x86_64-aarch64-7.2.0-1 3436b5d48234 24 months ago 10.4MB

Usage
FROM multiarch/qemu-user-static:x86_64-aarch64-7.2.0-1 as qemu
FROM --platform=linux/arm64 debian:bookworm
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin

Additional information
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v4) and no specific platform was requested

Docker image building apt-get and install got core dumped
... ...
1185.2 Setting up mariadb-common (1:10.5.26-0+deb11u2) ...
1185.3 update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
1185.4 Setting up python3-six (1.16.0-2) ...
1187.6 Setting up libgeronimo-annotation-1.3-spec-java (1.3-1) ...
1187.6 Setting up libgeronimo-interceptor-3.0-spec-java (1.0.1-4) ...
1187.6 Setting up libcommons-collections3-java (3.2.2-2) ...
1187.6 Setting up libasound2-data (1.2.4-1.1) ...
1187.7 Setting up autogen-doc (1:5.18.16-4) ...
1187.7 Setting up libjemalloc-dev (5.2.1-3) ...
1187.7 Setting up libgssrpc4:arm64 (1.18.3-6+deb11u5) ...
1187.7 Setting up python3-roman (2.0.0-5) ...
1188.1 Segmentation fault (core dumped)
1188.1 dpkg: error processing package python3-roman (--configure):
1188.1 installed python3-roman package post-installation script subprocess returned error exit status 139

1188.1 Setting up xtrans-dev (1.4.0-1) ...
1188.1 Setting up zip (3.0-12) ...
1188.1 Setting up libfontenc1:arm64 (1:1.1.4-1) ...
1188.1 Setting up autotools-dev (20180224.1+nmu1) ...
1188.1 Setting up python3-jinja2 (2.11.3-1+deb11u2) ...
1190.8 Setting up python3-pygments (2.7.1+dfsg-2.1) ...
1195.7 Setting up libz3-4:arm64 (4.8.10-1) ...
......

kernel log
dmesg | grep error
... ...
[86890.238464] gcc[921487]: segfault at 3282350 ip 000000000061c4a0 sp 00007ffc3eb8fb58 error 4 in qemu-aarch64-static[401000+462000]
[87004.437160] cc1[924425]: segfault at 4df5350 ip 000000000061c4a0 sp 00007ffeecebb828 error 4 in qemu-aarch64-static[401000+462000]
[87034.109397] collect2[925183]: segfault at 3069350 ip 000000000061c4a0 sp 00007ffeedb08838 error 4 in qemu-aarch64-static[401000+462000]
... ...

@Jiawei202010
Copy link
Author

Detailed log
[11031.551400] veth8e8698f: renamed from eth0
[11031.609613] docker0: port 1(vethbe465af) entered disabled state
[11031.615698] device vethbe465af left promiscuous mode
[11031.615709] docker0: port 1(vethbe465af) entered disabled state
[11035.652085] docker0: port 1(vethb901bbb) entered blocking state
[11035.652090] docker0: port 1(vethb901bbb) entered disabled state
[11035.652267] device vethb901bbb entered promiscuous mode
[11035.981236] eth0: renamed from veth3c3eb6e
[11036.001366] IPv6: ADDRCONF(NETDEV_CHANGE): vethb901bbb: link becomes ready
[11036.001469] docker0: port 1(vethb901bbb) entered blocking state
[11036.001472] docker0: port 1(vethb901bbb) entered forwarding state
[11421.897487] cc1[64965]: segfault at 4b16350 ip 000000000061c4a0 sp 00007ffc09dc9b38 error 4 in qemu-aarch64-static[401000+462000]
[11421.897497] Code: 06 09 18 00 66 0f 1f 44 00 00 64 83 2c 25 50 ff ff ff 01 74 05 c3 0f 1f 40 00 bf e0 86 e0 00 e9 56 16 18 00 66 0f 1f 44 00 00 <64> 8b 04 25 50 ff ff ff 85 c0 0f 9f c0 c3 66 90 48 83 ec 08 64 8b
[11476.457093] cc1[70000]: segfault at 4e65350 ip 000000000061c4a0 sp 00007ffc8d7eda58 error 4 in qemu-aarch64-static[401000+462000]
[11476.457103] Code: 06 09 18 00 66 0f 1f 44 00 00 64 83 2c 25 50 ff ff ff 01 74 05 c3 0f 1f 40 00 bf e0 86 e0 00 e9 56 16 18 00 66 0f 1f 44 00 00 <64> 8b 04 25 50 ff ff ff 85 c0 0f 9f c0 c3 66 90 48 83 ec 08 64 8b
[11812.189509] collect2[108786]: segfault at 2ffa350 ip 000000000061c4a0 sp 00007ffd3ee78538 error 4 in qemu-aarch64-static[401000+462000]
[11812.189513] Code: 06 09 18 00 66 0f 1f 44 00 00 64 83 2c 25 50 ff ff ff 01 74 05 c3 0f 1f 40 00 bf e0 86 e0 00 e9 56 16 18 00 66 0f 1f 44 00 00 <64> 8b 04 25 50 ff ff ff 85 c0 0f 9f c0 c3 66 90 48 83 ec 08 64 8b
[11928.896816] cc1[118309]: segfault at 4d13350 ip 000000000061c4a0 sp 00007ffe6f340328 error 4 in qemu-aarch64-static[401000+462000]
[11928.896827] Code: 06 09 18 00 66 0f 1f 44 00 00 64 83 2c 25 50 ff ff ff 01 74 05 c3 0f 1f 40 00 bf e0 86 e0 00 e9 56 16 18 00 66 0f 1f 44 00 00 <64> 8b 04 25 50 ff ff ff 85 c0 0f 9f c0 c3 66 90 48 83 ec 08 64 8b
[11969.463883] collect2[120444]: segfault at 2fe9350 ip 000000000061c4a0 sp 00007ffd4686d838 error 4 in qemu-aarch64-static[401000+462000]
[11969.463893] Code: 06 09 18 00 66 0f 1f 44 00 00 64 83 2c 25 50 ff ff ff 01 74 05 c3 0f 1f 40 00 bf e0 86 e0 00 e9 56 16 18 00 66 0f 1f 44 00 00 <64> 8b 04 25 50 ff ff ff 85 c0 0f 9f c0 c3 66 90 48 83 ec 08 64 8b
[12271.665647] gcc[124520]: segfault at 314f350 ip 000000000061c4a0 sp 00007ffc406d6898 error 4 in qemu-aarch64-static[401000+462000]
[12271.665658] Code: 06 09 18 00 66 0f 1f 44 00 00 64 83 2c 25 50 ff ff ff 01 74 05 c3 0f 1f 40 00 bf e0 86 e0 00 e9 56 16 18 00 66 0f 1f 44 00 00 <64> 8b 04 25 50 ff ff ff 85 c0 0f 9f c0 c3 66 90 48 83 ec 08 64 8b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant