#541 aerc recently started crashing on quit a lot 4 months ago

Comment by ~goto-engineering on ~sircmpwn/aerc2

So it happened about a dozen times today, and I noticed that it doesn't seem strictly on quitting aerc as much as on leaving an email. I'll open an email, write a reply, send it. I typically wait until it says in the status line that the email has been sent. Then, when I hit the button to go back to the main inbox screen, aerc crashes. I have to start it again to read the next email.

#541 aerc recently started crashing on quit a lot 5 months ago

Comment by ~goto-engineering on ~sircmpwn/aerc2

Just got it again. Happened after sending an email and then quitting. Here's the crash log:

aerc has encountered a critical error and has terminated. Please help us fix this by sending this log and the steps to reproduce the crash to: ~rjarry/aerc-devel@lists.sr.ht

Thank you

This error was also written to: /tmp/aerc-crash-20220825-151756.log panic: runtime error: index out of range [3] with length 3 [recovered] panic: runtime error: index out of range [3] with length 3

goroutine 1 [running]: git.sr.ht/~rjarry/aerc/logging.PanicHandler() git.sr.ht/~rjarry/aerc/logging/panic-logger.go:47 +0x6de panic({0x56353df61320, 0xc001822600}) runtime/panic.go:844 +0x258 git.sr.ht/~rjarry/aerc/widgets.(*Aerc).focus(0xc0003a4000, {0x0?, 0x0}) git.sr.ht/~rjarry/aerc/widgets/aerc.go:466 +0x139 git.sr.ht/~rjarry/aerc/widgets.(*Aerc).BeginExCommand.func2() git.sr.ht/~rjarry/aerc/widgets/aerc.go:497 +0x4c git.sr.ht/~rjarry/aerc/widgets.(*ExLine).Event(0xc001bbce10, {0x56353df9eeb8?, 0xc001216840?}) git.sr.ht/~rjarry/aerc/widgets/exline.go:82 +0xd1 git.sr.ht/~rjarry/aerc/widgets.(*Aerc).Event(0x3a4000?, {0x56353df9eeb8?, 0xc001216840?}) git.sr.ht/~rjarry/aerc/widgets/aerc.go:241 +0x39c git.sr.ht/~rjarry/aerc/widgets.(*Aerc).simulate(0xc0003a4000, {0xc00038ab40, 0x7, 0xc00039c288?}) git.sr.ht/~rjarry/aerc/widgets/aerc.go:230 +0x8d git.sr.ht/~rjarry/aerc/widgets.(*Aerc).Event(0xc0003a4000, {0x56353df9eeb8?, 0xc000a3a1a0?}) git.sr.ht/~rjarry/aerc/widgets/aerc.go:258 +0x378 git.sr.ht/~rjarry/aerc/lib/ui.(*UI).Tick(0xc000384000) git.sr.ht/~rjarry/aerc/lib/ui/ui.go:101 +0x195 main.main() git.sr.ht/~rjarry/aerc/aerc.go:227 +0xb14

#541 aerc recently started crashing on quit a lot 5 months ago

Ticket created by ~goto-engineering on ~sircmpwn/aerc2

Not sure when it started, but recently aerc started crashing A LOT on quitting. Feels like it happens after I sent an email. I keep waiting a few seconds after finishing an email until the "Message sent" status line appears, but it still crashes a lot.

#667 Convert io::handle into bufstream 8 months ago

Comment by ~goto-engineering on ~sircmpwn/hare

On Thu May 5, 2022 at 1:18 PM CEST, ~sircmpwn wrote:

Ticket resolved: FIXED

-- View on the web: https://todo.sr.ht/~sircmpwn/hare/667#event-174567


#667 Convert io::handle into bufstream 8 months ago

Ticket created by ~goto-engineering on ~sircmpwn/hare

When trying to flush os::stdout after printing w/ fmt::print, I'm trying to use bufio::flush. But it expects a *bufstream, not an io::handle like os::stdout. Would be good to convert it so I can flush stdout.

#666 Run/build silently 8 months ago

Ticket created by ~goto-engineering on ~sircmpwn/hare

Would be nice to add a silent flag that suppresses the ####### status bar during build for use in scripts. In non-interactive environments (e.g. CI/logs/scripts) this gets a bit spammy.

#662 haredoc aborts when lexing invalid argument 8 months ago

Ticket created by ~goto-engineering on ~sircmpwn/hare

When I give an invalid argument to haredoc, the lexer aborts on an assertion instead of returning an error:

$ haredoc io:copy
Abort: Assertion failed: ~/hare/hare/lex/token.ha:341:2
Aborted (core dumped)

Looks like that line of the lexer, when something is a LABEL, aborts on purpose. There's a TODO comment in the line, maybe this is known?

#410 Crash as I was pasting 1 year, 1 month ago

Comment by ~goto-engineering on ~sircmpwn/aerc2

I'm seeing this as well. aerc 0.6.0 on Manjaro Gnome w/ Alacritty and nvim.

Got it to crash eventually with nano, but took much more text.

Anyone got a clue? My Go isn't great but I could try to look into it if somebody has a pointer.