~sircmpwn/aerc2#452: 
panic: SIGSEGV: unexpected signal during runtime execution

sigsegv occurs in notmuch-code, running on git commit 42ce6b4

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x2 addr=0x7faaa40008d0 pc=0x7faaa40008d0]

runtime stack:
runtime.throw(0xace372, 0x2a)
	/usr/local/go/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
	/usr/local/go/src/runtime/signal_unix.go:378 +0x47c

goroutine 11 [syscall]:
runtime.cgocall(0x970cf0, 0xc0003d5a38, 0x200000003)
	/usr/local/go/src/runtime/cgocall.go:128 +0x5b fp=0xc0003d5a08 sp=0xc0003d59d0 pc=0x40993b
github.com/zenhack/go%2enotmuch._Cfunc_notmuch_messages_destroy(0x7faaa114aef0)
	_cgo_gotypes.go:770 +0x41 fp=0xc0003d5a38 sp=0xc0003d5a08 pc=0x8d2571
github.com/zenhack/go%2enotmuch.(*Messages).Close.func1.1(0xc000e899e0)
	/home/elias/go/pkg/mod/github.com/zenhack/go.notmuch@v0.0.0-20190821052706-5a1961965cfb/messages.go:20 +0x5e fp=0xc0003d5a78 sp=0xc0003d5a38 pc=0x8d984e
github.com/zenhack/go%2enotmuch.(*Messages).Close.func1(0xc000e899e0, 0xc0003d5a01)
	/home/elias/go/pkg/mod/github.com/zenhack/go.notmuch@v0.0.0-20190821052706-5a1961965cfb/messages.go:20 +0x2a fp=0xc0003d5a90 sp=0xc0003d5a78 pc=0x8d988a
github.com/zenhack/go%2enotmuch.(*cStruct).doClose(0xc000e899e0, 0xc0003d5b08, 0x0, 0x0)
	/home/elias/go/pkg/mod/github.com/zenhack/go.notmuch@v0.0.0-20190821052706-5a1961965cfb/cstruct.go:76 +0xb7 fp=0xc0003d5ae8 sp=0xc0003d5a90 pc=0x8d0b17
github.com/zenhack/go%2enotmuch.(*Messages).Close(0xc000e899e0, 0xed6fcfbbd, 0xc0003d5bf0)
	/home/elias/go/pkg/mod/github.com/zenhack/go.notmuch@v0.0.0-20190821052706-5a1961965cfb/messages.go:19 +0x4e fp=0xc0003d5b28 sp=0xc0003d5ae8 pc=0x8d5a2e
git.sr.ht/~sircmpwn/aerc/worker/notmuch/lib.(*DB).MsgIDsFromQuery.func1(0xc00068e330, 0x0, 0x0)
	/home/elias/devel/aerc/worker/notmuch/lib/database.go:135 +0x267 fp=0xc0003d5c38 sp=0xc0003d5b28 pc=0x8dc2a7
git.sr.ht/~sircmpwn/aerc/worker/notmuch/lib.(*DB).withConnection(0xc0001fc050, 0xc0005e6000, 0xc0003d5d00, 0x80, 0x3e)
	/home/elias/devel/aerc/worker/notmuch/lib/database.go:76 +0x1a5 fp=0xc0003d5cc0 sp=0xc0003d5c38 pc=0x8db545
git.sr.ht/~sircmpwn/aerc/worker/notmuch/lib.(*DB).MsgIDsFromQuery(0xc0001fc050, 0xc0002400c6, 0x1e, 0x0, 0x0, 0x0, 0xc0000ae4b0, 0x2a)
	/home/elias/devel/aerc/worker/notmuch/lib/database.go:120 +0x97 fp=0xc0003d5d38 sp=0xc0003d5cc0 pc=0x8dba07
git.sr.ht/~sircmpwn/aerc/worker/notmuch.(*worker).uidsFromQuery(0xc0001e39d0, 0xc0002400c6, 0x1e, 0xc0003d5ec0, 0x799169, 0xc000e6c030, 0x0, 0x0)
	/home/elias/devel/aerc/worker/notmuch/worker.go:293 +0x50 fp=0xc0003d5dc0 sp=0xc0003d5d38 pc=0x8e0880
git.sr.ht/~sircmpwn/aerc/worker/notmuch.(*worker).emitDirectoryContents(0xc0001e39d0, 0xb9cc20, 0xc000e6c030, 0xc0003d5f78, 0x0)
	/home/elias/devel/aerc/worker/notmuch/worker.go:514 +0x52 fp=0xc0003d5e68 sp=0xc0003d5dc0 pc=0x8e2d72
git.sr.ht/~sircmpwn/aerc/worker/notmuch.(*worker).handleFetchDirectoryContents(0xc0001e39d0, 0xc000e6c030, 0x0, 0x0)
	/home/elias/devel/aerc/worker/notmuch/worker.go:264 +0x6a fp=0xc0003d5ea0 sp=0xc0003d5e68 pc=0x8e039a
git.sr.ht/~sircmpwn/aerc/worker/notmuch.(*worker).handleMessage(0xc0001e39d0, 0xb9cc20, 0xc000e6c030, 0xb9cc20, 0xc000e6c030)
	/home/elias/devel/aerc/worker/notmuch/worker.go:109 +0x171 fp=0xc0003d5ed0 sp=0xc0003d5ea0 pc=0x8df031
git.sr.ht/~sircmpwn/aerc/worker/notmuch.(*worker).Run(0xc0001e39d0)
	/home/elias/devel/aerc/worker/notmuch/worker.go:57 +0x1e9 fp=0xc0003d5fd8 sp=0xc0003d5ed0 pc=0x8deba9
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0003d5fe0 sp=0xc0003d5fd8 pc=0x461921
created by git.sr.ht/~sircmpwn/aerc/widgets.NewAccountView
	/home/elias/devel/aerc/widgets/account.go:85 +0x4ed

goroutine 1 [sleep]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
time.Sleep(0xf42400)
	/usr/local/go/src/runtime/time.go:105 +0x157
main.main()
	/home/elias/devel/aerc/aerc.go:196 +0x713

goroutine 6 [syscall, 48 minutes]:
os/signal.signal_recv(0x0)
	/usr/local/go/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/usr/local/go/src/os/signal/signal_unix.go:29 +0x41

goroutine 50 [sleep, 1 minutes]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
time.Sleep(0xdf8475800)
	/usr/local/go/src/runtime/time.go:105 +0x157
git.sr.ht/~sircmpwn/aerc/worker/notmuch.(*worker).handleConnect.func1(0xc0001e39d0)
	/home/elias/devel/aerc/worker/notmuch/worker.go:180 +0x64
created by git.sr.ht/~sircmpwn/aerc/worker/notmuch.(*worker).handleConnect
	/home/elias/devel/aerc/worker/notmuch/worker.go:177 +0xe0

goroutine 16 [select, 16 minutes]:
github.com/gdamore/tcell.(*tScreen).mainLoop(0xc000194380)
	/home/elias/go/pkg/mod/git.sr.ht/~sircmpwn/tcell@v0.0.0-20190807054800-3fdb6bc01a50/tscreen.go:1299 +0x138
created by github.com/gdamore/tcell.(*tScreen).Init
	/home/elias/go/pkg/mod/git.sr.ht/~sircmpwn/tcell@v0.0.0-20190807054800-3fdb6bc01a50/tscreen.go:181 +0x61c

goroutine 66 [IO wait, 16 minutes]:
internal/poll.runtime_pollWait(0x7faade30ff08, 0x72, 0xffffffffffffffff)
	/usr/local/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc0001add58, 0x72, 0x1, 0x80, 0xffffffffffffffff)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0001add40, 0xc000c97000, 0x80, 0x80, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf
os.(*File).read(...)
	/usr/local/go/src/os/file_unix.go:259
os.(*File).Read(0xc0000106c8, 0xc000c97000, 0x80, 0x80, 0x3, 0x0, 0x0)
	/usr/local/go/src/os/file.go:116 +0x71
github.com/gdamore/tcell.(*tScreen).inputLoop(0xc000194380)
	/home/elias/go/pkg/mod/git.sr.ht/~sircmpwn/tcell@v0.0.0-20190807054800-3fdb6bc01a50/tscreen.go:1353 +0xc6
created by github.com/gdamore/tcell.(*tScreen).Init
	/home/elias/go/pkg/mod/git.sr.ht/~sircmpwn/tcell@v0.0.0-20190807054800-3fdb6bc01a50/tscreen.go:182 +0x641

goroutine 52 [select, 16 minutes]:
github.com/gdamore/tcell.(*tScreen).PollEvent(0xc000194380, 0xc0003cefa8, 0xc000365c80)
	/home/elias/go/pkg/mod/git.sr.ht/~sircmpwn/tcell@v0.0.0-20190807054800-3fdb6bc01a50/tscreen.go:791 +0xb5
git.sr.ht/~sircmpwn/aerc/lib/ui.Initialize.func1(0xc0005a8000, 0xba70e0, 0xc000194380)
	/home/elias/devel/aerc/lib/ui/ui.go:47 +0x3f
created by git.sr.ht/~sircmpwn/aerc/lib/ui.Initialize
	/home/elias/devel/aerc/lib/ui/ui.go:45 +0x270

goroutine 26 [chan receive, 47 minutes]:
git.sr.ht/~sircmpwn/aerc/widgets.NewTerminal.func1(0xc000296c60, 0xc0000ae3c0)
	/home/elias/devel/aerc/widgets/terminal.go:125 +0x3c
created by git.sr.ht/~sircmpwn/aerc/widgets.NewTerminal
	/home/elias/devel/aerc/widgets/terminal.go:124 +0xf7
Status
REPORTED
Submitter
~yzzyx
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
bug