Segmentation fault with version 3.0.2
eiabea opened this issue · comments
Steps to reproduce:
docker run -it cirrusci/flutter:3.0.2 bash
flutter info
../../runtime/bin/eventhandler_linux.cc: 416: error: Failed to start event handler thread 1
===== CRASH =====
si_signo=Segmentation fault(11), si_code=1, si_addr=0x10
Aborting re-entrant request for stack trace.
Aborted (core dumped)
Docker version:
Client: Docker Engine - Community
Version: 20.10.10
API version: 1.41
Go version: go1.16.9
Git commit: b485636
Built: Mon Oct 25 07:42:59 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.6
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: 8728dd2
Built: Fri Apr 9 22:45:28 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.11
GitCommit: 5b46e404f6b9f661a205e28d59c982d3634148f8
runc:
Version: 1.0.2
GitCommit: v1.0.2-0-g52b36a2
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Host machine:
OS: Ubuntu 20.04.3 LTS
CPU: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
Version 3.0.1
works as expected
We recently bumped the base image to use Ubuntu 22.04 instead of 20.04 via cirruslabs/docker-images-android#45.
My only guess is that since Docker passes Linux kernel of the host to the container there might be something about how Flutter is doing syscalls. It's a very vague theory though...
I don't have a linux host but I tried to reproduce on my Intel Mac Mini and your repro did work without a crash.
I would try to update Docker to a newer version that was released after Ubuntu 22.04 release.
@fkorotkov thank you for your feedback, updating our build server fixed the issue