Skip to content

cannot stop debugger: "could not deliver signal: operation not permitted" #2064

Open
@bald2b

Description

@bald2b

on OS X go application cannot be completely stopped in debug mode by "stop" button
Yes, app is "stopped" in idea, but i see running go processes in memory

Idea console output:
/Users/bald/.gvm/gos/go1.5.2/bin/go build -o /private/var/folders/ys/pz3b29x14_zbzj9s39422pg80000gn/T/run14go -gcflags "-N -l" /Users/bald/projects/indriver.git/go-server/server/src/Main.go "/Users/bald/Library/Application Support/IntelliJIdea15/Go/lib/dlv/mac/dlv" --listen=localhost:64506 --headless=true exec /private/var/folders/ys/pz3b29x14_zbzj9s39422pg80000gn/T/run14go -- conf/bald.config.json could not deliver signal: operation not permitted

Result of ps ax|egrep '\(run14go)$' before start app (already 8 unused go processes)
1909 ?? Z 0:00.00 (run14go)
4801 ?? Z 0:00.00 (run14go)
4944 ?? Z 0:00.00 (run14go)
4992 ?? Z 0:00.00 (run14go)
5012 ?? Z 0:00.00 (run14go)
5086 ?? Z 0:00.00 (run14go)
5109 ?? Z 0:00.00 (run14go)
5137 ?? Z 0:00.00 (run14go)

after start and stop debug session there are 9 processes
1909 ?? Z 0:00.00 (run14go)
4801 ?? Z 0:00.00 (run14go)
4944 ?? Z 0:00.00 (run14go)
4992 ?? Z 0:00.00 (run14go)
5012 ?? Z 0:00.00 (run14go)
5086 ?? Z 0:00.00 (run14go)
5109 ?? Z 0:00.00 (run14go)
5137 ?? Z 0:00.00 (run14go)
5184 ?? Z 0:00.00 (run14go)

Idea 15.01
go plugin 0.10.749
go 1.5.2
java 1.8.
os x 10.11.1

app is simple web server like http.ListenAndServe("8080", router)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions