blob: 7e6965f30c074fbbfa448186be06cdc0b8351138 (
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
|
id = 601
title = "import tensorflow causes qemu: uncaught target signal 6 (Aborted) - core dumped"
state = "closed"
created_at = "2021-09-06T13:44:19.193Z"
closed_at = "2023-01-31T09:26:15.446Z"
labels = ["Closed::Fixed", "accel: TCG", "linux-user", "target: i386"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/601"
host-os = "Mac OS Big Sur 11.5.2"
host-arch = "ARM (M1)"
qemu-version = "6.1.0"
guest-os = "python:3.9-buster Docker image"
guest-arch = "x86_64"
description = """Crashes when importing tensorflow in Docker container under --platorm linux/amd64 on M1 Mac
```
2021-09-06 13:35:24.435613: F tensorflow/core/lib/monitoring/sampler.cc:42] Check failed: bucket_limits_[i] > bucket_limits_[i - 1] (0 vs. 10)
qemu: uncaught target signal 6 (Aborted) - core dumped
```"""
reproduce = """See https://gitlab.com/ryan-feather/docker-tensorflow-qemu-bug/ for Dockerfile and description of steps repeating here.
1. Using the dockerfile
```
FROM python:3.9-buster
RUN pip install tensorflow==2.6.0
```
2. `docker buildx build --iidfile build.id --platform linux/amd64 . --progress=plain`
3. ``` docker run --platform linux/amd64 `cat build.id` python -c "import tensorflow"```"""
additional = """See
https://github.com/docker/for-mac/issues/5342 where the Docker team suggests this is a qemu bug. I couldn't find where anyone had opened one of these here, so hopefully this isn't a duplicate."""
|