Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic send on closed channel crash #151

Open
robbyki opened this issue Feb 17, 2022 · 1 comment
Open

Panic send on closed channel crash #151

robbyki opened this issue Feb 17, 2022 · 1 comment

Comments

@robbyki
Copy link

robbyki commented Feb 17, 2022

Getting a crash when running against podman. Works on the rare occasion. Seems to be correctly pointing to the right socket. Installed this with go and also getting same result with sh install method. I'm on go 1.17.6 and a linux amd64 on a fedora 5.16 kernel.

image

@linickx
Copy link

linickx commented Aug 23, 2024

Still an issue (for me at least)

  Dry Version: 0.11.2
  Docker Host: unix:///var/run/docker.sock                                                                made with 💙 (and go) by moncho  panic: send on closed channel

                             goroutine 45 [running]:
                                                    github.com/moncho/dry/docker.(*DockerDaemon).Events.func1.streamEvents.1({0x103637300?, 0x14000092190?}, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...})
                                                                                /opt/code/go/dry/docker/events.go:17 +0x98
                                                                                                                          created by github.com/moncho/dry/docker.handleEvent in goroutine 40
                                                        /opt/code/go/dry/docker/events.go:41 +0x48

docker.sock is a symbolic link:

ls -l /var/run/docker.sock
lrwxr-xr-x@ - root 23 Aug 14:48 /var/run/docker.sock -> /Users/linickx/.local/share/containers/podman/machine/podman.sock
  • Podman v5.2.1
  • MacOS: 13.6.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants