Skip to content

[OSX] Hangs when showing Message Dialog  #79

@sqweek

Description

@sqweek

The goroutine is hanging with this trace:

1 @ 0x104fa9be8 0x105432b08 0x105433084 0x105432fb8 0x105432fb9 0x106faecc8 0x106faec91 0x106faec15 0x106facbc4 0x106fb1600 0x104fe09ec 0x105017a74
#	0x105432b07	github.com/sqweek/dialog/cocoa._Cfunc_alertDlg+0x47			_cgo_gotypes.go:148
#	0x105433083	github.com/sqweek/dialog/cocoa.YesNoDlg.(*AlertParams).run.func1+0x53	/Users/anacrolix/go/pkg/mod/github.com/sqweek/dialog@v0.0.0-20220809060634-e981b270ebbf/cocoa/dlg_darwin.go:28
#	0x105432fb7	github.com/sqweek/dialog/cocoa.(*AlertParams).run+0x87			/Users/anacrolix/go/pkg/mod/github.com/sqweek/dialog@v0.0.0-20220809060634-e981b270ebbf/cocoa/dlg_darwin.go:28
#	0x105432fb8	github.com/sqweek/dialog/cocoa.YesNoDlg+0x88				/Users/anacrolix/go/pkg/mod/github.com/sqweek/dialog@v0.0.0-20220809060634-e981b270ebbf/cocoa/dlg_darwin.go:45
#	0x106faecc7	github.com/sqweek/dialog.(*MsgBuilder).yesNo+0x1f17			/Users/anacrolix/go/pkg/mod/github.com/sqweek/dialog@v0.0.0-20220809060634-e981b270ebbf/dlgs_darwin.go:8
#	0x106faec90	github.com/sqweek/dialog.(*MsgBuilder).YesNo+0x1ee0			/Users/anacrolix/go/pkg/mod/github.com/sqweek/dialog@v0.0.0-20220809060634-e981b270ebbf/dlgs.go:51

I don't see any dialog.

Originally posted by @anacrolix in #64 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugosxspecific to the OSX implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions