Caleb Spare

Results 82 comments of Caleb Spare

@jehiah Here's the IRC conversation I had with @mreiferson: https://gist.github.com/cespare/a353b739e4511842aeb1 I would prefer to bound disk space by bytes, rather than by number of messages, since I know how much...

See also #549.

It's possible this is the same. I filed a new bug because my issue was different in two ways: - It doesn't trip the deadlock detector (the program doesn't crash,...

> How is the stack of terminal.go ? Maybe it will be more useful. I'm sorry, I deleted the stack trace, but I'll try to make the problem happen again...

Hi @chzyer, I updated the original report to include all of the readline goroutine stacks. I'm trying to make a small repro case now.

I found another, different deadlock on `(*Instance).Close()`: ``` goroutine 1 [semacquire]: sync.runtime_Semacquire(0xc82022def4) /home/caleb/apps/go/src/runtime/sema.go:47 +0x26 sync.(*WaitGroup).Wait(0xc82022dee8) /home/caleb/apps/go/src/sync/waitgroup.go:127 +0xb4 xxx/vendor/github.com/chzyer/readline.(*Terminal).Close(0xc82022dec0, 0x0, 0x0) /gopath/src/xxx/vendor/github.com/chzyer/readline/terminal.go:165 +0xa7 xxx/vendor/github.com/chzyer/readline.(*Instance).Close(0xc82030cda0, 0x0, 0x0) /gopath/src/xxx/vendor/github.com/chzyer/readline/readline.go:230 +0x31 main.main() /gopath/src/xxx/tool/tool.go:166 +0x1fd6...

I'm not sure how to trigger the first deadlock, but I made a repro for the second one: 1. `go get -u github.com/cespare/misc/rldemo` 2. Run `rldemo` 3. Hold down enter...

This would be great.