~egtann

Santa Monica, CA

https://www.egt.run

Trackers

~egtann/shh

Last active a month ago

~egtann/up

Last active 3 months ago

#388 Panic nil pointer dereference a month ago

Ticket created by ~egtann on ~sircmpwn/aerc2

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

goroutine 1 [running]:
git.sr.ht/~sircmpwn/aerc/lib/format.ParseMessageFormat(0xc000022b21, 0x1c, 0xc000024c30, 0xe, 0xc000022540, 0x13, 0x0, 0x0, 0x441d, 0xc00008e2d0, ...)
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/lib/format/format.go:144 +0x26ad
git.sr.ht/~sircmpwn/aerc/widgets.(*MessageList).Draw(0xc00006ad20, 0xc0006a4210)
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/widgets/msglist.go:109 +0x1ea
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc0000b26e0, 0xc0006a4180)
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:142 +0x28e
git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).Draw(0xc00008e4b0, 0xc0006a4180)
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/widgets/account.go:128 +0x39
git.sr.ht/~sircmpwn/aerc/lib/ui.(*TabContent).Draw(0xc00014cee0, 0xc0006a4180)
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/tab.go:290 +0x5f
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc0000b2580, 0xc00013e000)
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:142 +0x28e
git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Draw(0xc0001501e0, 0xc00013e000)
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/widgets/aerc.go:161 +0x39
git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc00008e550, 0xc000021e00)
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui/ui.go:91 +0x11d
main.main()
        /home/user/go/src/git.sr.ht/~sircmpwn/aerc/aerc.go:185 +0x5da

#380 make fails to compile on OpenBSD a month ago

Ticket created by ~egtann on ~sircmpwn/aerc2

Running make fails due to the protonmail/crypto rand package on OpenBSD.

$ make
go build   -ldflags "-X main.Prefix=/usr/local  -X main.ShareDir=/usr/local/share/aerc  -X main.Version=0.3.0"  -o aerc
../pkg/mod/github.com/!proton!mail/crypto@v1.0.1-0.20191122234321-e77a1f03baa0/rand/rand_openbsd.go:8:2: use of internal package internal/syscall/unix not allowed
*** Error 1 in git.sr.ht/~sircmpwn/aerc (Makefile:24 'aerc')

I know the ultimate problem isn't with this package, but this is the outcome of depending on this protonmail fork.