-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-OpenBSDarch-mipscompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.help wanted
Milestone
Description
Noticed this on Go 1.19.5, after updating a few dependencies to support Go 1.20.
% docker run -it --rm golang:1.19.5
root@d0d4ee0380ce:/go# go version
go version go1.19.5 linux/arm64
(issue also happens on linux/amd64)
root@d0d4ee0380ce:/go# git clone -b linkercrash https://github.com/calmh/syncthing.git
(repo clones)
root@d0d4ee0380ce:/go# cd syncthing/
root@d0d4ee0380ce:/go/syncthing# GOOS=openbsd GOARCH=mips64 go build ./cmd/stdiscosrv/
(build happens)
# github.com/syncthing/syncthing/cmd/stdiscosrv
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x15447c]
goroutine 1 [running]:
cmd/link/internal/ld.dynrelocsym(0x40000bc000, 0x2510c?)
/usr/local/go/src/cmd/link/internal/ld/data.go:853 +0x28c
cmd/link/internal/ld.(*dodataState).dynreloc(0x40006b1b00, 0x40000bc000)
/usr/local/go/src/cmd/link/internal/ld/data.go:871 +0x8c
cmd/link/internal/ld.(*Link).dodata(0x40000bc000, {0x4002380000, 0x4b89f, 0x4b89f})
/usr/local/go/src/cmd/link/internal/ld/data.go:1498 +0x384
cmd/link/internal/ld.Main(_, {0x8, 0x20, 0x1, 0x1d, 0x1f, 0x0, {0x0, 0x0}, {0x271699, ...}, ...})
/usr/local/go/src/cmd/link/internal/ld/main.go:336 +0x12f8
main.main()
/usr/local/go/src/cmd/link/main.go:72 +0xe98
root@d0d4ee0380ce:/go/syncthing#
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-OpenBSDarch-mipscompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.help wanted