~rucikir


#397 SEGFAULT in aerc/widgets.(*MessageList).Draw 4 months ago

bug added by ~rucikir on ~sircmpwn/aerc2

#397 SEGFAULT in aerc/widgets.(*MessageList).Draw 4 months ago

Ticket created by ~rucikir on ~sircmpwn/aerc2

Hi!

I encountered this crash with aerc 0.3.0.r183.g61e9940. I don’t know how to reproduce it, I’ll add more information if I get this bug again.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x562f10e3326b]

goroutine 1 [running]:
git.sr.ht/~sircmpwn/aerc/widgets.(*MessageList).Draw(0xc000033440, 0xc0009084e0)
	git.sr.ht/~sircmpwn/aerc/widgets/msglist.go:112 +0x2cb
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc000136580, 0xc0009081b0)
	git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:142 +0x257
git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).Draw(0xc000209a40, 0xc0009081b0)
	git.sr.ht/~sircmpwn/aerc/widgets/account.go:142 +0x3b
git.sr.ht/~sircmpwn/aerc/lib/ui.(*TabContent).Draw(0xc000209960, 0xc0009081b0)
	git.sr.ht/~sircmpwn/aerc/lib/ui/tab.go:393 +0x61
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc000136420, 0xc00010abd0)
	git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:142 +0x257
git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Draw(0xc0001364d0, 0xc00010abd0)
	git.sr.ht/~sircmpwn/aerc/widgets/aerc.go:172 +0x3f
git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc00007e0f0, 0xc0001ee000)
	git.sr.ht/~sircmpwn/aerc/lib/ui/ui.go:113 +0xf8
main.main()
	git.sr.ht/~sircmpwn/aerc/aerc.go:192 +0x674

#369 Unable to select text with mouse-enabled 6 months ago

Comment by ~rucikir on ~sircmpwn/aerc2

Oh. Thanks.

#369 Unable to select text with mouse-enabled 6 months ago

bug added by ~rucikir on ~sircmpwn/aerc2

#369 Unable to select text with mouse-enabled 6 months ago

Ticket created by ~rucikir on ~sircmpwn/aerc2

Hi! I’m using aerc-git from the AUR. I noticed that when I set mouse-enabled=true in the config file, I can’t select text in the terminal. When mouse-enabled is set to false, I can select text as usual, and copy from the terminal. If it’s impossible to have the best of both worlds (mouse events and text selection), then I think a warning in the configuration would be appreciated. I reproduced this bug with termite and alacritty.

Thanks!