Hi,
I want to try aerc on Linux (Ubuntu 20.04), but when I set up aerc the
application crash. Perhaps I miss something, here is the log:
```
################################################################################
PANIC CAUGHT!
2022-04-13T13:36:07.734783-0400
################################################################################
aerc has encountered a critical error and has terminated. Please help us
fixing
this by sending this log and the steps to reproduce the crash to:
~rjarry/aerc-devel@lists.sr.ht
Thank you
Error: Attempted to draw outside of context
goroutine 1 [running]:
runtime/debug.Stack(0xbd2600, 0xc000010018, 0xae8bc9)
/usr/lib/go-1.13/src/runtime/debug/stack.go:24 +0x9d
git.sr.ht/~rjarry/aerc/logging.PanicHandler()
/home/antoine/aerc/logging/panic-logger.go:45 +0x610
panic(0xa20760, 0xc0004d12c0)
/usr/lib/go-1.13/src/runtime/panic.go:679 +0x1b2
git.sr.ht/~rjarry/aerc/lib/ui.(*Context).Printf(0xc0003d44e0, 0x2, 0x1,
0x0, 0x0, 0x0, 0xae2d05, 0x4, 0xc0001b5358, 0x1, ...)
/home/antoine/aerc/lib/ui/context.go:70 +0x35f
git.sr.ht/~rjarry/aerc/widgets.(*Selector).Draw(0xc0001cca80, 0xc0003d44e0)
/home/antoine/aerc/widgets/selector.go:52 +0x338
git.sr.ht/~rjarry/aerc/lib/ui.(*Grid).Draw(0xc0000e2790, 0xc0003d4180)
/home/antoine/aerc/lib/ui/grid.go:144 +0x28e
git.sr.ht/~rjarry/aerc/widgets.(*AccountWizard).Draw(0xc000218fc0,
0xc0003d4180)
/home/antoine/aerc/widgets/account-wizard.go:655 +0x4a
git.sr.ht/~rjarry/aerc/lib/ui.(*TabContent).Draw(0xc0002093b0, 0xc0003d4180)
/home/antoine/aerc/lib/ui/tab.go:394 +0x7a
git.sr.ht/~rjarry/aerc/lib/ui.(*Grid).Draw(0xc0000e24d0, 0xc0002b2540)
/home/antoine/aerc/lib/ui/grid.go:144 +0x28e
git.sr.ht/~rjarry/aerc/widgets.(*Aerc).Draw(0xc0000e2580, 0xc0002b2540)
/home/antoine/aerc/widgets/aerc.go:177 +0x3d
git.sr.ht/~rjarry/aerc/lib/ui.(*UI).Tick(0xc0002ac000, 0xc0002b0000)
/home/antoine/aerc/lib/ui/ui.go:116 +0xf6
main.main()
/home/antoine/aerc/aerc.go:226 +0x75b
```
Any help is welcome.
--
Antoine
antoine@quaternum.net
www.quaternum.net
On Wed Apr 13, 2022 at 7:44 PM CEST, Antoine Fauchié wrote:
> Hi,
> I want to try aerc on Linux (Ubuntu 20.04), but when I set up aerc the
> application crash.
steps to reproduce?
Yes of course:
1. git clone aerc repository
2. cd aerc
3. sudo make
4. sudo make install
5. aerc
6. first page of setup: no problem
7. second page of setup (server adress, etc.): "aerc has encountered a
critical error and has terminated. Please help us fixing
this by sending this log and the steps to reproduce the crash to:
~rjarry/aerc-devel@lists.sr.ht"
Do you need more information?
--
Antoine