~zaneschaffer

Western Coast, US

https://zane.wiki

Currently traveling, somewhat nomadically, trying to build better software for cool people.

Find me on:


#527 MacOS: aerc binary crashes on launch with SIGTRAP 21 days ago

Ticket created by ~zaneschaffer on ~sircmpwn/aerc2

I recieve a warning during the makefile build:

~/t/aerc master ⋮ make
Makefile:5: invalid `override' directive
go build  \
		-ldflags "-X main.Prefix=/usr/local \
		-X main.ShareDir=/usr/local/share/aerc \
		-X main.Version=0.5.2.r50.g0b19b5e" \
		-o aerc
sed -e 's:@SHAREDIR@:/usr/local/share/aerc:g' > aerc.conf < config/aerc.conf.in
scdoc < doc/aerc.1.scd > aerc.1
scdoc < doc/aerc-search.1.scd > aerc-search.1
scdoc < doc/aerc-config.5.scd > aerc-config.5
scdoc < doc/aerc-imap.5.scd > aerc-imap.5
scdoc < doc/aerc-maildir.5.scd > aerc-maildir.5
scdoc < doc/aerc-sendmail.5.scd > aerc-sendmail.5
scdoc < doc/aerc-notmuch.5.scd > aerc-notmuch.5
scdoc < doc/aerc-smtp.5.scd > aerc-smtp.5
scdoc < doc/aerc-tutorial.7.scd > aerc-tutorial.7
scdoc < doc/aerc-templates.7.scd > aerc-templates.7
scdoc < doc/aerc-stylesets.7.scd > aerc-stylesets.7

Then when i try to run the binary it crashes with this response:

SIGTRAP: trace trap
PC=0x7fff20340ca4 m=0 sigcode=1

goroutine 0 [idle]:
syscall.syscall(0x40f4600, 0x1, 0x40487413, 0xc0002d1cd0)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x3b fp=0xc0002d1c40 sp=0xc0002d1c20 pc=0x4062c9b
syscall.syscall(0x101000000000000, 0x4bb2638, 0x0, 0x60)
	<autogenerated>:1 +0x26 fp=0xc0002d1c88 sp=0xc0002d1c40 pc=0x40689e6
golang.org/x/sys/unix.ioctl(0x49f55a0, 0xc000201260, 0x0)
	/Users/zane/go/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:746 +0x39 fp=0xc0002d1cb8 sp=0xc0002d1c88 pc=0x40f3ef9
golang.org/x/sys/unix.IoctlGetTermios(...)
	/Users/zane/go/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/ioctl.go:63
github.com/mattn/go-isatty.IsTerminal(0xc000020200)
	/Users/zane/go/pkg/mod/github.com/mattn/go-isatty@v0.0.12/isatty_bsd.go:10 +0x50 fp=0xc0002d1d28 sp=0xc0002d1cb8 pc=0x40f4710
main.main()
	/Users/zane/temp/aerc/aerc.go:137 +0x2dd fp=0xc0002d1f80 sp=0xc0002d1d28 pc=0x44616dd
runtime.main()
	/usr/local/go/src/runtime/proc.go:255 +0x227 fp=0xc0002d1fe0 sp=0xc0002d1f80 pc=0x4038187
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0002d1fe8 sp=0xc0002d1fe0 pc=0x4066341

goroutine 1 [syscall]:
syscall.syscall(0x40f4600, 0x1, 0x40487413, 0xc0002d1cd0)
	/usr/local/go/src/runtime/sys_darwin.go:22 +0x3b fp=0xc0002d1c40 sp=0xc0002d1c20 pc=0x4062c9b
syscall.syscall(0x101000000000000, 0x4bb2638, 0x0, 0x60)
	<autogenerated>:1 +0x26 fp=0xc0002d1c88 sp=0xc0002d1c40 pc=0x40689e6
golang.org/x/sys/unix.ioctl(0x49f55a0, 0xc000201260, 0x0)
	/Users/zane/go/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:746 +0x39 fp=0xc0002d1cb8 sp=0xc0002d1c88 pc=0x40f3ef9
golang.org/x/sys/unix.IoctlGetTermios(...)
	/Users/zane/go/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/ioctl.go:63
github.com/mattn/go-isatty.IsTerminal(0xc000020200)
	/Users/zane/go/pkg/mod/github.com/mattn/go-isatty@v0.0.12/isatty_bsd.go:10 +0x50 fp=0xc0002d1d28 sp=0xc0002d1cb8 pc=0x40f4710
main.main()
	/Users/zane/temp/aerc/aerc.go:137 +0x2dd fp=0xc0002d1f80 sp=0xc0002d1d28 pc=0x44616dd
runtime.main()
	/usr/local/go/src/runtime/proc.go:255 +0x227 fp=0xc0002d1fe0 sp=0xc0002d1f80 pc=0x4038187
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0002d1fe8 sp=0xc0002d1fe0 pc=0x4066341

rax    0x0
rbx    0xc0002d1c40
rcx    0x40f4600
rdx    0xc0002d1cd0
rdi    0x1
rsi    0x40487413
rbp    0x208dde8d0
rsp    0x208dde898
r8     0x49f55a0
r9     0x0
r10    0x4bb2638
r11    0x48f4000
r12    0xc000201260
r13    0x1
r14    0xc0000001a0
r15    0xffffffffffffffff
rip    0x7fff20340ca4
rflags 0x202
cs     0x2b
fs     0x0
gs     0x0