-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
uilive version 0.0.4 causes hangs on exit on Apple silicon macs with Go version >=1.21
This was discovered in ncbi/datasets#490
When I downgrade the indirect dependency uilive to version 0.0.3, there's no hang on exit.
Repro: https://github.com/corneliusroemer/gohang
// go.main
package main
import (
"fmt"
"os"
"github.com/gosuri/uiprogress"
)
var (
progress *uiprogress.Progress
)
func main() {
fmt.Fprintln(os.Stderr, "DEBUG: Exiting the program immediately")
os.Exit(0) // Hangs here on Apple silicon macOS >=12 on go>=1.21 with gosuri/uilive v0.0.4
}
// go.mod
module github.com/corneliusroemer/gohang
go 1.21
require github.com/gosuri/uiprogress v0.0.1
require (
github.com/gosuri/uilive v0.0.4 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
golang.org/x/sys v0.28.0 // indirect
)
Downstream report: gosuri/uiprogress#53
Metadata
Metadata
Assignees
Labels
No labels