Skip to content
This repository has been archived by the owner on Sep 8, 2018. It is now read-only.

crash when testing "oklog stream" #59

Closed
newhook opened this issue Apr 6, 2017 · 0 comments
Closed

crash when testing "oklog stream" #59

newhook opened this issue Apr 6, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@newhook
Copy link

newhook commented Apr 6, 2017

This is with oklog 0.2.1. I had run in a seperate window "oklog stream -store log-store-1 -q "JID-" and when I ^C'd I got a crash.

matthew@log-store-1:~$ !okl
oklog store -cluster hostname --ip-address -peer log-store-1 -peer log-store-2 -peer log-store-3 -peer log-ingest-1 -peer log-ingest-2 -peer log-ingest-3 --store.path=/data/logs
ts=2017-04-06T13:14:47.361018209Z level=info cluster=10.240.0.24:7659
ts=2017-04-06T13:14:47.361442714Z level=info API=tcp://0.0.0.0:7650
ts=2017-04-06T13:14:47.361859484Z level=info StoreLog=/data/logs
panic: send on closed channel

goroutine 3632 [running]:
github.com/oklog/oklog/pkg/stream.readOnce(0xc9c3c0, 0xc4252b5540, 0xc4252b76a0, 0xc422a77d20, 0x10, 0xc4252b1e60, 0x0, 0x0)
/Users/peter/src/github.com/oklog/oklog/pkg/stream/stream.go:132 +0x309
github.com/oklog/oklog/pkg/stream.readUntilCanceled(0xc9c3c0, 0xc4252b5540, 0xc4252b76a0, 0xc422a77d20, 0x10, 0xc4252b1e60, 0xa335b0)
/Users/peter/src/github.com/oklog/oklog/pkg/stream/stream.go:115 +0x61
created by github.com/oklog/oklog/pkg/stream.updateActive
/Users/peter/src/github.com/oklog/oklog/pkg/stream/stream.go:94 +0x23c

@peterbourgon peterbourgon self-assigned this Apr 6, 2017
@peterbourgon peterbourgon added this to the v0.3.1 milestone Dec 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants