-
Notifications
You must be signed in to change notification settings - Fork 584
Description
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
- Prepare a Dockerfile having a command that would fail during the build (could not resolve
github.com, see [Bug]: Could not resolve github.com in ubuntu container #283)
FROM ubuntu
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
unzip curl gnupg libgfortran5 libgbm1 tzdata netcat \
libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 \
libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 \
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 \
libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release \
xdg-utils git build-essential ffmpeg && \
mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
# Install node and yarn
apt-get install -yq --no-install-recommends nodejs && \
curl -LO https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn_1.22.19_all.deb \
&& dpkg -i yarn_1.22.19_all.deb \
&& rm yarn_1.22.19_all.deb
# ...container build --file Dockerfile .container builder stop(hang)
Notice: It did not always happen on my side.
Current behavior
After the failed build, I could not stop the builder container. The command container builder stop or container system stop got stuck and not responding.
ID IMAGE OS ARCH STATE ADDR
buildkit ghcr.io/apple/container-builder-shim/builder:0.2.1 linux arm64 running 192.168.79.2➜ container system stop
2025-07-01T17:16:11+0800 info com.apple.container.cli : stopTimeoutSeconds=5 [container] stopping containers
# ... hang or freeze, not responding for minutes➜ container builder stop
# ... hang or freeze, simply not responding for minutesExpected behavior
After a failed container build, buildkitd should not crash and can be stopped normally with container builder stop.
Environment
- OS: macOS 15.5
- Container: 0.2.0 (build: release, commit: 3b5c253)
- Machine: M1 Macbook AirRelevant log output
container logs buildkit
time="2025-07-01T08:58:44Z" level=debug msg="debug handlers listening at tcp://0.0.0.0:10001"
time="2025-07-01T08:58:44Z" level=info msg="auto snapshotter: using overlayfs"
time="2025-07-01T08:58:44Z" level=warning msg="CDI setup error /var/run/cdi: failed to monitor for changes: no such file or directory"
time="2025-07-01T08:58:44Z" level=warning msg="using host network as the default"
time="2025-07-01T08:58:44Z" level=warning msg="git source cannot be enabled: failed to find git binary: exec: \"git\": executable file not found in $PATH"
time="2025-07-01T08:58:44Z" level=info msg="found worker \"3yeqnngukffvse80736qrtsdi\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:buildkit org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/arm64]"
time="2025-07-01T08:58:44Z" level=warning msg="skipping containerd worker, as \"/run/containerd/containerd.sock\" does not exist"
time="2025-07-01T08:58:44Z" level=info msg="found 1 workers, default=\"3yeqnngukffvse80736qrtsdi\""
time="2025-07-01T08:58:44Z" level=warning msg="currently, only the default worker can be used."
time="2025-07-01T08:58:44Z" level=info msg="running server on /run/buildkit/buildkitd.sock"
timestamp="2025-07-01T08:58:49Z" level=debug message=/com.apple.container.build.v1.Builder/Info
timestamp="2025-07-01T08:58:49Z" level=debug message="dropped unhandled packet" build_id=
time="2025-07-01T08:58:49Z" level=debug msg="session started" spanID=dc6ceebcf0e35551 traceID=b7c73bb791aa927c2383f16b4efc0971
time="2025-07-01T08:58:49Z" level=debug msg="resolve exporter oci with map[annotation-index-descriptor.com.apple.containerization.image.name:anythingllm:latest name:anythingllm:latest output:/var/lib/container-builder-shim/CA79299B-BD94-4170-814E-A47321666146/out.tar]" spanID=b33ac75109bc2d43 traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
timestamp="2025-07-01T08:58:49Z" level=debug message="serving grpc connection"
timestamp="2025-07-01T08:58:49Z" level=debug message="reference object empty: reference.Spec{Locator:\"docker.io/library/base\", Object:\"\"}"
timestamp="2025-07-01T08:58:49Z" level=debug message="reference object empty: reference.Spec{Locator:\"docker.io/library/backend-build\", Object:\"\"}"
timestamp="2025-07-01T08:58:49Z" level=debug message="reference object empty: reference.Spec{Locator:\"docker.io/library/base\", Object:\"\"}"
timestamp="2025-07-01T08:58:49Z" level=debug message="reference object empty: reference.Spec{Locator:\"docker.io/library/build\", Object:\"\"}"
timestamp="2025-07-01T08:58:49Z" level=debug message="reference object empty: reference.Spec{Locator:\"docker.io/library/build-arm64\", Object:\"\"}"
timestamp="2025-07-01T08:58:49Z" level=debug message="reference object empty: reference.Spec{Locator:\"docker.io/library/build\", Object:\"\"}"
timestamp="2025-07-01T08:58:53Z" level=info message="creating llb" ref="docker.io/library/ubuntu:jammy-20240627.1@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221"
time="2025-07-01T08:58:53Z" level=debug msg="new ref for local: glvcbqkz71vpelltfxi72t8x0" span="[internal] load .dockerignore" spanID=38d248f1edf4b26c traceID=41ed0f6fd4d3520285d95094cf31fe36
time="2025-07-01T08:58:53Z" level=debug msg="diffcopy took: 159.087625ms" span="[internal] load .dockerignore" spanID=e16898a222a9bfab traceID=41ed0f6fd4d3520285d95094cf31fe36
time="2025-07-01T08:58:53Z" level=debug msg="saved glvcbqkz71vpelltfxi72t8x0 as context:context-.dockerignore:" span="[internal] load .dockerignore" spanID=38d248f1edf4b26c traceID=41ed0f6fd4d3520285d95094cf31fe36
time="2025-07-01T08:58:53Z" level=debug msg=fetch digest="sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221" mediatype=application/vnd.oci.image.index.v1+json size=1133 spanID=b33ac75109bc2d43 traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:53Z" level=debug msg=fetch digest="sha256:1d19c776e76cdb32dcc72cbd44a689c9be9518b9c4ed7f9a92b38f46176b931b" mediatype=application/vnd.oci.image.manifest.v1+json size=424 spanID=b33ac75109bc2d43 traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:53Z" level=debug msg=fetch digest="sha256:d04dcc2ab57b0d5d6e9d3d9c65f899d400d14114dace7a30acc84f36bb609cdd" mediatype=application/vnd.oci.image.config.v1+json size=2314 spanID=b33ac75109bc2d43 traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:53Z" level=debug msg=fetch digest="sha256:4ce000a43472e4a2527834764b5044674760f1e2a766480798d03a93b51a0b39" mediatype=application/vnd.oci.image.layer.v1.tar+gzip size=27360025 spanID=91c6eb6580c654f7 traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:53Z" level=debug msg="new ref for local: azcptz0h3ngfe5icu40ll2lla" span="[internal] load build context" spanID=5926ecbfffe691df traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:54Z" level=debug msg=" not found" error="exec: \"igzip\": executable file not found in $PATH"
time="2025-07-01T08:58:54Z" level=debug msg=" not found" error="exec: \"unpigz\": executable file not found in $PATH"
time="2025-07-01T08:58:54Z" level=debug msg="diffcopy took: 1.002302667s" span="[internal] load build context" spanID=cfb2ec97d1857bdf traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:54Z" level=debug msg="saved azcptz0h3ngfe5icu40ll2lla as context:context:" span="[internal] load build context" spanID=5926ecbfffe691df traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:54Z" level=debug msg="diff applied" d=594.003376ms digest="sha256:4ce000a43472e4a2527834764b5044674760f1e2a766480798d03a93b51a0b39" media=application/vnd.oci.image.layer.v1.tar+gzip size=27360025 span=extract spanID=6c084d67553f6aa6 traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:54Z" level=debug msg="> creating jumz6eby9lpf8inwaq7u8jfma [/bin/sh -c echo \"Preparing build of AnythingLLM image for arm64 architecture\"]" span="[linux/arm64 build-arm64 1/10] RUN echo \"Preparing build of AnythingLLM image for arm64 architecture\"" spanID=fdbc0e797cb0bd90 traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T08:58:55Z" level=debug msg="> creating tr9nelyqx3wlxjxurqjmmw0c3 [/bin/bash -o pipefail -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends unzip curl gnupg libgfortran5 libgbm1 tzdata netcat libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils git build-essential ffmpeg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo \"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main\" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -yq --no-install-recommends nodejs && curl -LO https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn_1.22.19_all.deb && dpkg -i yarn_1.22.19_all.deb && rm yarn_1.22.19_all.deb && curl -LsSf https://astral.sh/uv/0.6.10/install.sh | sh && mv /root/.local/bin/uv /usr/local/bin/uv && mv /root/.local/bin/uvx /usr/local/bin/uvx && echo \"Installed uvx! $(uv --version)\" && apt-get clean && rm -rf /var/lib/apt/lists/*]" span="[linux/arm64 build-arm64 2/10] RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends unzip curl gnupg libgfortran5 libgbm1 tzdata netcat libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils git build-essential ffmpeg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo \"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main\" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -yq --no-install-recommends nodejs && curl -LO https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn_1.22.19_all.deb && dpkg -i yarn_1.22.19_all.deb && rm yarn_1.22.19_all.deb && curl -LsSf https://astral.sh/uv/0.6.10/install.sh | sh && mv /root/.local/bin/uv /usr/local/bin/uv && mv /root/.local/bin/uvx /usr/local/bin/uvx && echo \"Installed uvx! $(uv --version)\" && apt-get clean && rm -rf /var/lib/apt/lists/*" spanID=ea025fd120a58e9a traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
time="2025-07-01T09:00:09Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = process \"/bin/bash -o pipefail -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends unzip curl gnupg libgfortran5 libgbm1 tzdata netcat libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils git build-essential ffmpeg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo \\\"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main\\\" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -yq --no-install-recommends nodejs && curl -LO https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn_1.22.19_all.deb && dpkg -i yarn_1.22.19_all.deb && rm yarn_1.22.19_all.deb && curl -LsSf https://astral.sh/uv/0.6.10/install.sh | sh && mv /root/.local/bin/uv /usr/local/bin/uv && mv /root/.local/bin/uvx /usr/local/bin/uvx && echo \\\"Installed uvx! $(uv --version)\\\" && apt-get clean && rm -rf /var/lib/apt/lists/*\" did not complete successfully: exit code: 6" spanID=b33ac75109bc2d43 traceID=a0d16fd2ab9d2fc5cf5c4f9748ee914b
process "/bin/bash -o pipefail -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends unzip curl gnupg libgfortran5 libgbm1 tzdata netcat libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils git build-essential ffmpeg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo \"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main\" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -yq --no-install-recommends nodejs && curl -LO https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn_1.22.19_all.deb && dpkg -i yarn_1.22.19_all.deb && rm yarn_1.22.19_all.deb && curl -LsSf https://astral.sh/uv/0.6.10/install.sh | sh && mv /root/.local/bin/uv /usr/local/bin/uv && mv /root/.local/bin/uvx /usr/local/bin/uvx && echo \"Installed uvx! $(uv --version)\" && apt-get clean && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 6
8 v0.21.1 /usr/bin/buildkitd
github.com/moby/buildkit/executor/runcexecutor.exitError
/src/executor/runcexecutor/executor.go:391
github.com/moby/buildkit/executor/runcexecutor.(*runcExecutor).Run
/src/executor/runcexecutor/executor.go:339
github.com/moby/buildkit/solver/llbsolver/ops.(*ExecOp).Exec
/src/solver/llbsolver/ops/exec.go:489
github.com/moby/buildkit/solver.(*sharedOp).Exec.func2
/src/solver/jobs.go:1106
github.com/moby/buildkit/util/flightcontrol.(*call[...]).run
/src/util/flightcontrol/flightcontrol.go:123
sync.(*Once).doSlow
/usr/local/go/src/sync/once.go:76
sync.(*Once).Do
/usr/local/go/src/sync/once.go:67
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
8 v0.21.1 /usr/bin/buildkitd
main.unaryInterceptor
/src/cmd/buildkitd/main.go:728
google.golang.org/grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1
/src/vendor/google.golang.org/grpc/server.go:1203
github.com/moby/buildkit/api/services/control._Control_Solve_Handler
/src/api/services/control/control_grpc.pb.go:289
google.golang.org/grpc.(*Server).processUnaryRPC
/src/vendor/google.golang.org/grpc/server.go:1392
google.golang.org/grpc.(*Server).handleStream
/src/vendor/google.golang.org/grpc/server.go:1802
google.golang.org/grpc.(*Server).serveStreams.func2.1
/src/vendor/google.golang.org/grpc/server.go:1030
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
8 v0.21.1 /usr/bin/buildkitd
github.com/moby/buildkit/solver.(*edge).execOp
/src/solver/edge.go:963
github.com/moby/buildkit/solver/internal/pipe.NewWithFunction[...].func2
/src/solver/internal/pipe/pipe.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
8 v0.21.1 /usr/bin/buildkitd
github.com/moby/buildkit/solver/llbsolver/ops.(*ExecOp).Exec
/src/solver/llbsolver/ops/exec.go:510
github.com/moby/buildkit/solver.(*sharedOp).Exec.func2
/src/solver/jobs.go:1106
time="2025-07-01T09:00:09Z" level=debug msg="session finished: <nil>" spanID=dc6ceebcf0e35551 traceID=b7c73bb791aa927c2383f16b4efc0971
timestamp="2025-07-01T09:00:09Z" level=debug message="stopping session"
timestamp="2025-07-01T09:00:09Z" level=error message="Recv error" error="rpc error: code = Canceled desc = context canceled"
time="2025-07-01T09:00:10Z" level=debug msg="remove snapshot" key=hibocsxa93vccbltjndl3096x snapshotter=overlayfs
time="2025-07-01T09:00:10Z" level=debug msg="schedule snapshotter cleanup" snapshotter=overlayfs
time="2025-07-01T09:00:10Z" level=debug msg="removed snapshot" key=buildkit/7/hibocsxa93vccbltjndl3096x snapshotter=overlayfs
s.state = 0
fatal error: non in-use span found with specials bit set
runtime stack:
runtime.throw({0xbb860a?, 0x8?})
/usr/local/go/src/runtime/panic.go:1073 +0x38 fp=0x4000079dc0 sp=0x4000079d90 pc=0x84c28
runtime.markrootSpans(0x400004b250, 0x5305c?)
/usr/local/go/src/runtime/mgcmark.go:370 +0x2e8 fp=0x4000079e50 sp=0x4000079dc0 pc=0x2ded8
runtime.markroot(0x400004b250, 0x29, 0x1)
/usr/local/go/src/runtime/mgcmark.go:191 +0x118 fp=0x4000079f00 sp=0x4000079e50 pc=0x2d5c8
runtime.gcDrain(0x400004b250, 0x7)
/usr/local/go/src/runtime/mgcmark.go:1188 +0x434 fp=0x4000079f70 sp=0x4000079f00 pc=0x2f944
runtime.gcDrainMarkWorkerIdle(...)
/usr/local/go/src/runtime/mgcmark.go:1102
runtime.gcBgMarkWorker.func2()
/usr/local/go/src/runtime/mgc.go:1508 +0x68 fp=0x4000079fc0 sp=0x4000079f70 pc=0x2b838
runtime.systemstack(0x4000076000)
/usr/local/go/src/runtime/asm_arm64.s:244 +0x6c fp=0x4000079fd0 sp=0x4000079fc0 pc=0x8accc
goroutine 27 gp=0x4000089500 m=3 mp=0x4000062e08 [GC worker (active)]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_arm64.s:201 +0x8 fp=0x400005bf10 sp=0x400005bf00 pc=0x8ac48
runtime.gcBgMarkWorker(0x40000cc460)
/usr/local/go/src/runtime/mgc.go:1472 +0x200 fp=0x400005bfb0 sp=0x400005bf10 pc=0x2b500
runtime.gcBgMarkStartWorkers.gowrap1()
/usr/local/go/src/runtime/mgc.go:1328 +0x28 fp=0x400005bfd0 sp=0x400005bfb0 pc=0x2b2c8
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400005bfd0 sp=0x400005bfd0 pc=0x8d014
created by runtime.gcBgMarkStartWorkers in goroutine 6
/usr/local/go/src/runtime/mgc.go:1328 +0x140
goroutine 1 gp=0x40000021c0 m=nil [chan receive, 2 minutes]:
runtime.gopark(0xffff690fd788?, 0x70?, 0x88?, 0xe6?, 0x20?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x400118d9e0 sp=0x400118d9c0 pc=0x84d48
runtime.chanrecv(0x40000cc070, 0x400022fb20, 0x1)
/usr/local/go/src/runtime/chan.go:639 +0x414 fp=0x400118da60 sp=0x400118d9e0 pc=0x185b4
runtime.chanrecv1(0xd17f80?, 0x0?)
/usr/local/go/src/runtime/chan.go:489 +0x14 fp=0x400118da90 sp=0x400118da60 pc=0x18164
main.init.func2(0x4000129200?, {0xb917a0?, 0x7?, 0xb8ecce?})
/src/main.go:137 +0x124 fp=0x400118db40 sp=0x400118da90 pc=0x92de14
github.com/spf13/cobra.(*Command).execute(0x1428ec0, {0x400003a130, 0x2, 0x2})
/src/vendor/github.com/spf13/cobra/command.go:1015 +0x82c fp=0x400118dcd0 sp=0x400118db40 pc=0x22b09c
github.com/spf13/cobra.(*Command).ExecuteC(0x1428ec0)
/src/vendor/github.com/spf13/cobra/command.go:1148 +0x350 fp=0x400118ddb0 sp=0x400118dcd0 pc=0x22b860
github.com/spf13/cobra.(*Command).Execute(...)
/src/vendor/github.com/spf13/cobra/command.go:1071
github.com/spf13/cobra.(*Command).ExecuteContext(...)
/src/vendor/github.com/spf13/cobra/command.go:1064
main.main()
/src/main.go:183 +0x514 fp=0x400118df40 sp=0x400118ddb0 pc=0x92ea44
runtime.main()
/usr/local/go/src/runtime/proc.go:272 +0x288 fp=0x400118dfd0 sp=0x400118df40 pc=0x4d188
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400118dfd0 sp=0x400118dfd0 pc=0x8d014
goroutine 17 gp=0x4000088000 m=nil [force gc (idle)]:
runtime.gopark(0x228c56de03?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x4000058790 sp=0x4000058770 pc=0x84d48
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:430
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:337 +0xb8 fp=0x40000587d0 sp=0x4000058790 pc=0x4d4e8
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x40000587d0 sp=0x40000587d0 pc=0x8d014
created by runtime.init.7 in goroutine 1
/usr/local/go/src/runtime/proc.go:325 +0x24
goroutine 18 gp=0x40000881c0 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x4000058f60 sp=0x4000058f40 pc=0x84d48
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:430
runtime.bgsweep(0x400008c000)
/usr/local/go/src/runtime/mgcsweep.go:317 +0x108 fp=0x4000058fb0 sp=0x4000058f60 pc=0x35128
runtime.gcenable.gowrap1()
/usr/local/go/src/runtime/mgc.go:204 +0x28 fp=0x4000058fd0 sp=0x4000058fb0 pc=0x29048
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x4000058fd0 sp=0x4000058fd0 pc=0x8d014
created by runtime.gcenable in goroutine 1
/usr/local/go/src/runtime/mgc.go:204 +0x6c
goroutine 19 gp=0x4000088380 m=nil [GC scavenge wait]:
runtime.gopark(0x330dea7?, 0x3b9aca00?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x4000059760 sp=0x4000059740 pc=0x84d48
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:430
runtime.(*scavengerState).park(0x1437800)
/usr/local/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000059790 sp=0x4000059760 pc=0x32aec
runtime.bgscavenge(0x400008c000)
/usr/local/go/src/runtime/mgcscavenge.go:658 +0xac fp=0x40000597b0 sp=0x4000059790 pc=0x3307c
runtime.gcenable.gowrap2()
/usr/local/go/src/runtime/mgc.go:205 +0x28 fp=0x40000597d0 sp=0x40000597b0 pc=0x28fe8
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x40000597d0 sp=0x40000597d0 pc=0x8d014
created by runtime.gcenable in goroutine 1
/usr/local/go/src/runtime/mgc.go:205 +0xac
goroutine 2 gp=0x4000002e00 m=nil [finalizer wait, 2 minutes]:
runtime.gopark(0xa1a840?, 0x24be4?, 0x0?, 0x0?, 0x12?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x400005c580 sp=0x400005c560 pc=0x84d48
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:193 +0x108 fp=0x400005c7d0 sp=0x400005c580 pc=0x28148
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400005c7d0 sp=0x400005c7d0 pc=0x8d014
created by runtime.createfing in goroutine 1
/usr/local/go/src/runtime/mfinal.go:163 +0x80
goroutine 3 gp=0x40002a4380 m=nil [chan receive]:
runtime.gopark(0x400005cf48?, 0x17e9ec?, 0xf0?, 0xec?, 0xd29a20?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x400005cef0 sp=0x400005ced0 pc=0x84d48
runtime.chanrecv(0x4000100230, 0x0, 0x1)
/usr/local/go/src/runtime/chan.go:639 +0x414 fp=0x400005cf70 sp=0x400005cef0 pc=0x185b4
runtime.chanrecv1(0x0?, 0x0?)
/usr/local/go/src/runtime/chan.go:489 +0x14 fp=0x400005cfa0 sp=0x400005cf70 pc=0x18164
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
/usr/local/go/src/runtime/mgc.go:1781
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
/usr/local/go/src/runtime/mgc.go:1784 +0x3c fp=0x400005cfd0 sp=0x400005cfa0 pc=0x2c16c
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400005cfd0 sp=0x400005cfd0 pc=0x8d014
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
/usr/local/go/src/runtime/mgc.go:1779 +0xa0
goroutine 4 gp=0x40002a4540 m=nil [select, 2 minutes, locked to thread]:
runtime.gopark(0x400005d7a0?, 0x2?, 0x48?, 0xd6?, 0x400005d78c?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x400005d610 sp=0x400005d5f0 pc=0x84d48
runtime.selectgo(0x400005d7a0, 0x400005d788, 0x0?, 0x0, 0x0?, 0x1)
/usr/local/go/src/runtime/select.go:335 +0x67c fp=0x400005d740 sp=0x400005d610 pc=0x608fc
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal_unix.go:1077 +0x198 fp=0x400005d7d0 sp=0x400005d740 pc=0x7bf58
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400005d7d0 sp=0x400005d7d0 pc=0x8d014
created by runtime.ensureSigM in goroutine 1
/usr/local/go/src/runtime/signal_unix.go:1060 +0xd8
goroutine 20 gp=0x40000888c0 m=4 mp=0x4000092008 [syscall, 2 minutes]:
runtime.notetsleepg(0x1461660, 0xffffffffffffffff)
/usr/local/go/src/runtime/lock_futex.go:246 +0x34 fp=0x4000059f90 sp=0x4000059f60 pc=0x1dd24
os/signal.signal_recv()
/usr/local/go/src/runtime/sigqueue.go:152 +0x30 fp=0x4000059fb0 sp=0x4000059f90 pc=0x86e00
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x1c fp=0x4000059fd0 sp=0x4000059fb0 pc=0x13ba3c
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x4000059fd0 sp=0x4000059fd0 pc=0x8d014
created by os/signal.Notify.func1.1 in goroutine 1
/usr/local/go/src/os/signal/signal.go:151 +0x28
goroutine 21 gp=0x4000088a80 m=nil [chan receive, 2 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x400005a6b0 sp=0x400005a690 pc=0x84d48
runtime.chanrecv(0x4000328c40, 0x400005a7a8, 0x1)
/usr/local/go/src/runtime/chan.go:639 +0x414 fp=0x400005a730 sp=0x400005a6b0 pc=0x185b4
runtime.chanrecv1(0x0?, 0x0?)
/usr/local/go/src/runtime/chan.go:489 +0x14 fp=0x400005a760 sp=0x400005a730 pc=0x18164
main.main.func1()
/src/main.go:176 +0x30 fp=0x400005a7d0 sp=0x400005a760 pc=0x92eaf0
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400005a7d0 sp=0x400005a7d0 pc=0x8d014
created by main.main in goroutine 1
/src/main.go:175 +0x4d0
goroutine 22 gp=0x4000088c40 m=nil [IO wait, 2 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x4000106b50 sp=0x4000106b30 pc=0x84d48
runtime.netpollblock(0x7000000000?, 0x82a24?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:575 +0x158 fp=0x4000106b90 sp=0x4000106b50 pc=0x45c98
internal/poll.runtime_pollWait(0xffff691435d8, 0x72)
/usr/local/go/src/runtime/netpoll.go:351 +0xa0 fp=0x4000106bc0 sp=0x4000106b90 pc=0x83ff0
internal/poll.(*pollDesc).wait(0x40002aca80?, 0x238c4?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x4000106bf0 sp=0x4000106bc0 pc=0x103968
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0x40002aca80)
/usr/local/go/src/internal/poll/fd_unix.go:620 +0x24c fp=0x4000106ca0 sp=0x4000106bf0 pc=0x10842c
net.(*netFD).accept(0x40002aca80)
/usr/local/go/src/net/fd_unix.go:172 +0x28 fp=0x4000106d60 sp=0x4000106ca0 pc=0x1a1978
net.(*TCPListener).accept(0x40002bcf00)
/usr/local/go/src/net/tcpsock_posix.go:159 +0x28 fp=0x4000106db0 sp=0x4000106d60 pc=0x1b7b18
net.(*TCPListener).Accept(0x40002bcf00)
/usr/local/go/src/net/tcpsock.go:372 +0x2c fp=0x4000106df0 sp=0x4000106db0 pc=0x1b6d1c
net/http.(*onceCloseListener).Accept(0xd17f10?)
<autogenerated>:1 +0x30 fp=0x4000106e10 sp=0x4000106df0 pc=0x3adde0
net/http.(*Server).Serve(0x40001673b0, {0xd166a0, 0x40002bcf00})
/usr/local/go/src/net/http/server.go:3330 +0x294 fp=0x4000106f40 sp=0x4000106e10 pc=0x387584
net/http.(*Server).ListenAndServe(0x40001673b0)
/usr/local/go/src/net/http/server.go:3259 +0x84 fp=0x4000106f70 sp=0x4000106f40 pc=0x3872b4
net/http.ListenAndServe(...)
/usr/local/go/src/net/http/server.go:3514
main.init.func1.1()
/src/main.go:79 +0x40 fp=0x4000106fd0 sp=0x4000106f70 pc=0x92dc90
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x4000106fd0 sp=0x4000106fd0 pc=0x8d014
created by main.init.func1 in goroutine 1
/src/main.go:77 +0x64
goroutine 23 gp=0x4000088e00 m=nil [select, 2 minutes]:
runtime.gopark(0x4000159e00?, 0x2?, 0x18?, 0x9c?, 0x4000159d7c?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x4000107bd0 sp=0x4000107bb0 pc=0x84d48
runtime.selectgo(0x4000107e00, 0x4000159d78, 0x40002cea50?, 0x0, 0x1?, 0x1)
/usr/local/go/src/runtime/select.go:335 +0x67c fp=0x4000107d00 sp=0x4000107bd0 pc=0x608fc
github.com/apple/container-builder-shim/pkg/buildkit.Start({0xd17f80, 0x40000a8050}, {0x1, 0x0, 0x14096e0, 0x40001ab5c0, 0x1433f50}, {0x40002cea50, 0x1, 0x1})
/src/pkg/buildkit/buildkit.go:83 +0x4ec fp=0x4000107eb0 sp=0x4000107d00 pc=0x3eb14c
main.init.func2.1()
/src/main.go:122 +0x334 fp=0x4000107fd0 sp=0x4000107eb0 pc=0x92e304
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x4000107fd0 sp=0x4000107fd0 pc=0x8d014
created by main.init.func2 in goroutine 1
/src/main.go:92 +0xbc
goroutine 24 gp=0x4000088fc0 m=nil [select, 2 minutes]:
runtime.gopark(0x4000155e30?, 0x2?, 0x20?, 0x1?, 0x4000155d74?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x4000108bf0 sp=0x4000108bd0 pc=0x84d48
runtime.selectgo(0x4000108e30, 0x4000155d70, 0xa79460?, 0x0, 0x0?, 0x1)
/usr/local/go/src/runtime/select.go:335 +0x67c fp=0x4000108d20 sp=0x4000108bf0 pc=0x608fc
github.com/apple/container-builder-shim/pkg/server.Run({0xd17f80, 0x40000a8050}, {0xbaa7c6, 0x1f}, {0x1f98, {0x0, 0x0}, {0xb8f532, 0x5}})
/src/pkg/server/server.go:156 +0x618 fp=0x4000108f30 sp=0x4000108d20 pc=0x92d5a8
main.init.func2.2()
/src/main.go:134 +0xbc fp=0x4000108fd0 sp=0x4000108f30 pc=0x92df9c
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x4000108fd0 sp=0x4000108fd0 pc=0x8d014
created by main.init.func2 in goroutine 1
/src/main.go:125 +0x114
goroutine 25 gp=0x4000089180 m=nil [IO wait, 2 minutes]:
runtime.gopark(0x4000157998?, 0x58dc40?, 0xc8?, 0x79?, 0x40001005b0?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x4000157950 sp=0x4000157930 pc=0x84d48
runtime.netpollblock(0x40001579e8?, 0x1090b4?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:575 +0x158 fp=0x4000157990 sp=0x4000157950 pc=0x45c98
internal/poll.runtime_pollWait(0xffff691436f0, 0x72)
/usr/local/go/src/runtime/netpoll.go:351 +0xa0 fp=0x40001579c0 sp=0x4000157990 pc=0x83ff0
internal/poll.(*pollDesc).wait(0x4000090180?, 0x70?, 0x1)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x40001579f0 sp=0x40001579c0 pc=0x103968
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).RawRead(0x4000090180, 0x4000147cc0)
/usr/local/go/src/internal/poll/fd_unix.go:717 +0x12c fp=0x4000157a50 sp=0x40001579f0 pc=0x1090cc
os.(*rawConn).Read(0x40000be070, 0x58d6e8?)
/usr/local/go/src/os/rawconn.go:31 +0x64 fp=0x4000157a80 sp=0x4000157a50 pc=0x1145a4
syscall.RawConn.Read-fm(0x4000157ae8?)
<autogenerated>:1 +0x38 fp=0x4000157aa0 sp=0x4000157a80 pc=0x58e0b8
github.com/mdlayher/socket.rwT[...](0x40000ca080, {{0xd17f10, 0x14603e0}, 0x0, {0xb919d7, 0x7}, 0x400021fa60})
/src/vendor/github.com/mdlayher/socket/conn.go:795 +0x494 fp=0x4000157c70 sp=0x4000157aa0 pc=0x58d7b4
github.com/mdlayher/socket.readT[...](0x0?, {0xd17f10?, 0x14603e0?}, {0xb919d7?, 0x1ec6c?}, 0x18?)
/src/vendor/github.com/mdlayher/socket/conn.go:666 +0x64 fp=0x4000157cf0 sp=0x4000157c70 pc=0x58d2c4
github.com/mdlayher/socket.(*Conn).Accept(0x40000ca080, {0xd17f10, 0x14603e0}, 0x0)
/src/vendor/github.com/mdlayher/socket/conn.go:421 +0x70 fp=0x4000157d50 sp=0x4000157cf0 pc=0x585df0
github.com/mdlayher/vsock.(*listener).Accept(0x400008a1f0)
/src/vendor/github.com/mdlayher/vsock/listener_linux.go:33 +0x3c fp=0x4000157da0 sp=0x4000157d50 pc=0x58e9ec
github.com/mdlayher/vsock.(*Listener).Accept(0x40000be078)
/src/vendor/github.com/mdlayher/vsock/vsock.go:133 +0x28 fp=0x4000157df0 sp=0x4000157da0 pc=0x58f088
google.golang.org/grpc.(*Server).Serve(0x40000d2000, {0xd15f50, 0x40000be078})
/src/vendor/google.golang.org/grpc/server.go:890 +0x42c fp=0x4000157f60 sp=0x4000157df0 pc=0x5695ec
github.com/apple/container-builder-shim/pkg/server.Run.func1()
/src/pkg/server/server.go:153 +0x60 fp=0x4000157fd0 sp=0x4000157f60 pc=0x92d780
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x4000157fd0 sp=0x4000157fd0 pc=0x8d014
created by github.com/apple/container-builder-shim/pkg/server.Run in goroutine 24
/src/pkg/server/server.go:151 +0x5cc
goroutine 5 gp=0x40002a4c40 m=2 mp=0x4000062708 [syscall, 2 minutes]:
syscall.Syscall6(0x5f, 0x3, 0xb, 0x400005b650, 0x4, 0x400020a120, 0x0)
/usr/local/go/src/syscall/syscall_linux.go:95 +0x2c fp=0x400005b600 sp=0x400005b5a0 pc=0xa973c
os.(*Process).pidfdWait(0x4000261480)
/usr/local/go/src/os/pidfd_linux.go:110 +0x1d8 fp=0x400005b730 sp=0x400005b600 pc=0x113b68
os.(*Process).wait(0x1?)
/usr/local/go/src/os/exec_unix.go:27 +0x2c fp=0x400005b750 sp=0x400005b730 pc=0x10edbc
os.(*Process).Wait(...)
/usr/local/go/src/os/exec.go:358
github.com/apple/container-builder-shim/pkg/buildkit.Start.func1()
/src/pkg/buildkit/buildkit.go:79 +0x30 fp=0x400005b7d0 sp=0x400005b750 pc=0x3eb2a0
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400005b7d0 sp=0x400005b7d0 pc=0x8d014
created by github.com/apple/container-builder-shim/pkg/buildkit.Start in goroutine 23
/src/pkg/buildkit/buildkit.go:78 +0x4a0
goroutine 7 gp=0x40002a5500 m=nil [select, 2 minutes]:
runtime.gopark(0x400005af88?, 0x2?, 0x0?, 0x0?, 0x400005af74?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x400005ae00 sp=0x400005ade0 pc=0x84d48
runtime.selectgo(0x400005af88, 0x400005af70, 0xb8e90a?, 0x0, 0xb9038d?, 0x1)
/usr/local/go/src/runtime/select.go:335 +0x67c fp=0x400005af30 sp=0x400005ae00 pc=0x608fc
github.com/mdlayher/socket.rwT[...].func2()
/src/vendor/github.com/mdlayher/socket/conn.go:778 +0xa0 fp=0x400005afd0 sp=0x400005af30 pc=0x58dd80
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400005afd0 sp=0x400005afd0 pc=0x8d014
created by github.com/mdlayher/socket.rwT[...] in goroutine 25
/src/vendor/github.com/mdlayher/socket/conn.go:775 +0x3c8
goroutine 28 gp=0x4000089a40 m=nil [GC worker (idle)]:
runtime.gopark(0x228ca4cb8e?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:424 +0xc8 fp=0x40000ec710 sp=0x40000ec6f0 pc=0x84d48
runtime.gcBgMarkWorker(0x40000cc460)
/usr/local/go/src/runtime/mgc.go:1412 +0xdc fp=0x40000ec7b0 sp=0x40000ec710 pc=0x2b3dc
runtime.gcBgMarkStartWorkers.gowrap1()
/usr/local/go/src/runtime/mgc.go:1328 +0x28 fp=0x40000ec7d0 sp=0x40000ec7b0 pc=0x2b2c8
runtime.goexit({})
/usr/local/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x40000ec7d0 sp=0x40000ec7d0 pc=0x8d014
created by runtime.gcBgMarkStartWorkers in goroutine 6
/usr/local/go/src/runtime/mgc.go:1328 +0x140Code of Conduct
- I agree to follow this project's Code of Conduct