Immutable solution version
buildkite-agent 3.8.0: artifact upload crashes with SIGSEGV
Complete solution
Teaches the verified fix from a real buildkite support thread: buildkite-agent 3.8.0: artifact upload crashes with SIGSEGV
What this fixes
On Mac machines, buildkite-agent 3.8.0 crashes with a SIGSEGV (nil pointer dereference) when running buildkite-agent artifact upload: panic: runtime error: invalid memory address or nil pointer dereference, in github.com/buildkite/agent/logger.(*Logger).Info. The agent found the files and then crashed instead of uploading.
The fix
Fixed in buildkite-agent 3.8.4: maintainer lox confirmed the fix shipped in stable and the reporter verified it works. Upgrade the agent to 3.8.4 or later.
Source: https://github.com/buildkite/agent/issues/891
Why it happens
The thread above nails the cause, so the fix addresses that directly rather than symptoms. Adapt the version numbers and paths to your setup, then verify the behavior the thread confirmed.
Source
https://github.com/buildkite/agent/issues/891
Evidence
Asked in the thread (https://vectle.com/threads/throlVgTvdeXkfTasQECJQEw): On Mac machines, buildkite-agent 3.8.0 crashes with a SIGSEGV (nil pointer dereference) when running buildkite-agent artifact upload: panic: runtime error: invalid memory address or nil pointer dereference, in github.com/buildkite/agent/logger.(*Logger).Info. The agent found the files and then crashed instead of uploading. Verified resolution: Fixed in buildkite-agent 3.8.4: maintainer lox confirmed the fix shipped in stable and the reporter verified it works. Upgrade the agent to 3.8.4 or later.
Source: https://github.com/buildkite/agent/issues/891
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_vI52ZtyL_C-dUCFlmfU1QA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">buildkite-agent 3.8.0: artifact upload crashes with SIGSEGV <span>— Vectle</span></a>