2017-04-10 01:16:24 |
Michael Hudson-Doyle |
bug |
|
|
added bug |
2017-04-10 01:17:10 |
Michael Hudson-Doyle |
nominated for series |
|
Ubuntu Yakkety |
|
2017-04-10 01:17:10 |
Michael Hudson-Doyle |
bug task added |
|
golang-1.6 (Ubuntu Yakkety) |
|
2017-04-10 01:17:10 |
Michael Hudson-Doyle |
nominated for series |
|
Ubuntu Xenial |
|
2017-04-10 01:17:10 |
Michael Hudson-Doyle |
bug task added |
|
golang-1.6 (Ubuntu Xenial) |
|
2017-04-10 01:30:24 |
Michael Hudson-Doyle |
golang-1.6 (Ubuntu Xenial): assignee |
|
Michael Hudson-Doyle (mwhudson) |
|
2017-04-10 01:30:26 |
Michael Hudson-Doyle |
golang-1.6 (Ubuntu Yakkety): assignee |
|
Michael Hudson-Doyle (mwhudson) |
|
2017-04-10 01:31:12 |
Michael Hudson-Doyle |
bug task added |
|
golang-1.7 (Ubuntu) |
|
2017-04-10 01:31:32 |
Michael Hudson-Doyle |
bug task deleted |
golang-1.7 (Ubuntu Yakkety) |
|
|
2017-04-10 01:31:37 |
Michael Hudson-Doyle |
bug task deleted |
golang-1.7 (Ubuntu Xenial) |
|
|
2017-04-10 01:31:47 |
Michael Hudson-Doyle |
golang-1.6 (Ubuntu): status |
New |
Invalid |
|
2017-04-10 01:46:11 |
Michael Hudson-Doyle |
description |
[Impact]
As reported here: https://lists.ubuntu.com/archives/snapcraft/2017-March/003497.html (and on internal lists), it is possible for a golang executable that calls syscall.Exec to print an ugly "pthread_create failed: Resource temporarily unavailable" message before it starts the new process. There is no functional effect, but snapd runs into this frequently so it interferes with a nice snappy experience.
Luckily for us, the bug was fixed upstream in the 1.8 release (https://github.com/golang/go/issues/18146) so I can just backport the fix to Xenial and Yakkety.
[Test case]
Run this code:
package main
//
import "C"
import (
"syscall"
)
func main() {
syscall.Exec("/bin/true", []string{"/bin/true"}, nil)
}
a few thousand times and check for messages (it prints a message ~2% of the time or so without the fix).
[Regression potential]
The patch is simple, if a bit verbose (it has some per-architecture changes). It has not been the cause of any bug reports in 1.8 as far as I am aware. So I would characterise the regression potential as very low. |
[Impact]
As reported here: https://lists.ubuntu.com/archives/snapcraft/2017-March/003497.html (and on internal lists), it is possible for a golang executable that calls syscall.Exec to print an ugly "pthread_create failed: Resource temporarily unavailable" message before it starts the new process. There is no functional effect, but snapd runs into this frequently so it interferes with a nice snappy experience.
Luckily for us, the bug was fixed upstream in the 1.8 release (https://github.com/golang/go/issues/18146) so I can just backport the fix to Xenial and Yakkety.
It also turns out to be necessary to include two more upstream patches that fix test suite failures with new tzdata packages.
[Test case]
Run this code:
package main
//
import "C"
import (
"syscall"
)
func main() {
syscall.Exec("/bin/true", []string{"/bin/true"}, nil)
}
a few thousand times and check for messages (it prints a message ~2% of the time or so without the fix).
[Regression potential]
The patch is simple, if a bit verbose (it has some per-architecture changes). It has not been the cause of any bug reports in 1.8 as far as I am aware. So I would characterise the regression potential as very low.
The tzdata patches are similarly well exercised as they are backports, and are necessary or the build will fail! |
|
2017-04-10 02:20:35 |
Michael Hudson-Doyle |
golang-1.6 (Ubuntu Xenial): status |
New |
In Progress |
|
2017-04-10 02:20:40 |
Michael Hudson-Doyle |
golang-1.6 (Ubuntu Yakkety): status |
New |
In Progress |
|
2017-04-11 09:05:46 |
Łukasz Zemczak |
golang-1.6 (Ubuntu Yakkety): status |
In Progress |
Fix Committed |
|
2017-04-11 09:05:48 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-04-11 09:05:54 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2017-04-11 09:05:56 |
Łukasz Zemczak |
tags |
|
verification-needed |
|
2017-04-13 15:37:51 |
Łukasz Zemczak |
golang-1.6 (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-04-18 00:26:28 |
Steve Langasek |
golang-1.6 (Ubuntu Yakkety): status |
Fix Committed |
Won't Fix |
|
2017-04-18 01:06:28 |
Michael Hudson-Doyle |
tags |
verification-needed |
verification-done |
|
2017-04-25 13:04:47 |
Launchpad Janitor |
golang-1.6 (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-04-25 13:04:51 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|