snapd 2.51.1+21.10 autotest segfault on ppc64

Bug #1938897 reported by Andrea Righi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang (Ubuntu)
Fix Released
Undecided
Unassigned
Impish
Fix Released
Undecided
Unassigned
snapd (Ubuntu)
Won't Fix
Undecided
Unassigned
Impish
Won't Fix
Undecided
Unassigned

Bug Description

I'm getting this error on impish, running the snapd autotest on a ppc64:

+ export SNAP_REEXEC=0
+ mkdir -p /etc/systemd/system/snapd.service.d
+ cat
+ systemctl daemon-reload
+ systemctl restart snapd
+ snap install --classic go
2021-08-04T06:19:21Z INFO Waiting for automatic snapd restart...
go 1.16.6 from Michael Hudson-Doyle (mwhudson) installed
+ export GOPATH=/tmp/go
+ /snap/bin/go get -u github.com/snapcore/spread/cmd/spread
go: downloading github.com/snapcore/spread v0.0.0-20210727105403-087e1bd33f07
go: downloading github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e
go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
go: downloading golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985
go: downloading golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
go: downloading gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/kr/text v0.1.0
go: downloading github.com/kr/text v0.2.0
go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
go: downloading golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b
go: downloading cloud.google.com/go v0.65.0
go: downloading cloud.google.com/go v0.90.0
go: downloading google.golang.org/appengine v1.6.6
go: downloading google.golang.org/appengine v1.6.7
go: downloading golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
go: downloading golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/golang/protobuf v1.5.2
go: downloading google.golang.org/protobuf v1.25.0
go: downloading google.golang.org/protobuf v1.27.1
# golang.org/x/crypto/ssh
note: module requires Go 1.17
go build golang.org/x/crypto/ssh: /snap/go/7941/pkg/tool/linux_ppc64le/compile: signal: segmentation fault (core dumped)

This doesn't seem to happen on the other architectures and interesting fact, it looks like the module crypto/ssh isn't required.

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

segfault happens in `go tool compile` process

Changed in snapd (Ubuntu Impish):
status: New → Won't Fix
Changed in snapd (Ubuntu):
status: New → Won't Fix
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

This is fixed in the current go snap, current golang-1.16 and golang-1.17 packages and (separately) in the kernel in impish-proposed. So I think this is in hand :)

Changed in golang (Ubuntu Impish):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.