Skip to content

bug: leftover temporary directories (/tmp/go-build*, /tmp/vscode-go*) #152

Closed
@bukshee

Description

@bukshee

Version

ms-vscode.go v0.14.3

Describe the bug

/tmp dir is littered with orphaned go-build* and vscode* dirs/files:

vscode@c8e059c8e6a0:/tmp$ ls -d vscode-* |wc -l
103
vscode@c8e059c8e6a0:/tmp$ ls -d go-build* |wc -l
819

It might be related to issue #2442, but I have editor.formatOnPaste off.

My settings

vscode@c8e059c8e6a0:/tmp$ go version
go version go1.14.2 linux/amd64
vscode@c8e059c8e6a0:/tmp$ code -v
1.45.1
5763d909d5f12fe19f215cbfdd29a91c0fa9208a
x64
vscode@c8e059c8e6a0:/tmp$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/vscode/.cache/go-build"
GOENV="/home/vscode/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build965369343=/tmp/go-build -gno-record-gcc-switches

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.upstream-goIssues that are caused by bugs in the Go toolchain.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions