atuin
atuin copied to clipboard
`atuin history list | head` crashes
Running atuin history list | head
will fail with the back-trace below.
atuin history list | head
2015-09-08 14:18:20 ping google.com 0s
2015-09-08 14:18:20 ping google.com 0s
2015-09-08 14:22:28 ass ftpfs 0s
2015-09-08 14:22:28 ass ftpfs 0s
2015-09-08 14:22:55 mkdir tmp-ftp 0s
2015-09-08 14:22:55 mkdir tmp-ftp 0s
2015-09-08 14:23:29 # curlftpfs google.at ./tmp-ftp/ -o user=google:password,allow_other 0s
2015-09-08 14:23:29 # curlftpfs google.at ./tmp-ftp/ -o user=google:password,allow_other 0s
2015-09-08 14:23:32 curlftpfs google.at ./tmp-ftp/ -o user=google:password,allow_other 0s
2015-09-08 14:23:32 curlftpfs google.at ./tmp-ftp/ -o user=google:password,allow_other 0s
thread 'main' panicked at 'failed to write history: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }', src/command/client/history.rs:115:50
stack backtrace:
0: 0x55e797bbe1c3 - <unknown>
1: 0x55e797be23ac - <unknown>
2: 0x55e797bb8765 - <unknown>
3: 0x55e797bbfa21 - <unknown>
4: 0x55e797bbf6f3 - <unknown>
5: 0x55e797bc00c3 - <unknown>
6: 0x55e797bbffb7 - <unknown>
7: 0x55e797bbe674 - <unknown>
8: 0x55e797bbfce2 - <unknown>
9: 0x55e7972d3f13 - <unknown>
10: 0x55e7972d4063 - <unknown>
11: 0x55e797319560 - <unknown>
12: 0x55e797411c6c - <unknown>
13: 0x55e79734ee68 - <unknown>
14: 0x55e7973b9335 - <unknown>
15: 0x55e79735e399 - <unknown>
16: 0x55e7973b8fff - <unknown>
17: 0x55e7973364d3 - <unknown>
18: 0x55e7973ddf7b - <unknown>
19: 0x55e79733a246 - <unknown>
20: 0x55e7973bfe03 - <unknown>
21: 0x55e79743fbc9 - <unknown>
22: 0x55e797bb1db2 - <unknown>
23: 0x55e79733d068 - <unknown>
24: 0x7fa485a7d290 - <unknown>
25: 0x7fa485a7d34a - __libc_start_main
26: 0x55e7972d4245 - <unknown>
27: 0x0 - <unknown>
Will dig into it later, but related: https://github.com/rust-lang/rust/issues/46016
Came here to report the same. Surprised rust doesn't have a solution to this. Low priority but an annoyance nonetheless :)
I can probably fix this pretty quickly, given the fix suggested in the issue (using fallible write apis)
Will dig into it later, but related: rust-lang/rust#46016
I guess I got distracted, sorry 😭
I can probably fix this pretty quickly
I guess I got distracted, sorry
lol don't give yourself a hard time please :) Though I've never been distracted by anything before in my life, so I guess it's oh look over there! a squirrel