Last active 3 months ago

#505 Race condition in textinput.go 29 days ago

Ticket created by ~wgr on ~sircmpwn/aerc2

Currently there is an innocent use of time.AfterFunc in lib/ui/textinput.go (https://git.sr.ht/~sircmpwn/aerc/tree/548facab/item/lib/ui/textinput.go#L275-277) which is the biggest offender in my logs of Go race detector because AfterFunc runs ti.showCompletions() in a new goroutine, but none of TextInput state is thread-safe, unfortunately i didnt managed to work around an easy fix while preserving the functionality that introduced it (https://git.sr.ht/~sircmpwn/aerc/commit/7160f98a), leting you guys know so if someone with more understading of overall aerc code base can spot an easy fix or work on it. there's another race going on more rarely with pty spawning, but i couldn't figure it out yet.


#1 FUSE interface 3 months ago

~wgr assigned ~wgr to #1 on ~wgr/spaste

#1 FUSE interface 3 months ago

Ticket created by ~wgr on ~wgr/spaste

implement a fuse interface instead of relying on plain files/pipes