public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: John Goerzen <jgoerzen@complete•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: SIGSEGV in nncp-daemon
Date: Sat, 08 May 2021 15:07:42 -0500	[thread overview]
Message-ID: <87czu1gfap.fsf@complete.org> (raw)

Hi,

I observed this behavior when, it seems, two processes on a remote 
machine tried to call the daemon at the same time:

May 08 15:01:06 nncp nncp-daemon[14379]: 2021-05-08T20:01:06Z 
ERROR SP nice MAX: waiting for first message: EOF
May 08 15:01:06 nncp nncp-daemon[14379]: panic: runtime error: 
invalid memory address or nil pointer dereference
May 08 15:01:06 nncp nncp-daemon[14379]: [signal SIGSEGV: 
segmentation violation code=0x1 addr=0x0 pc=0x61b195]
May 08 15:01:06 nncp nncp-daemon[14379]: goroutine 130 [running]:
May 08 15:01:06 nncp nncp-daemon[14379]: 
main.performSP.func3(0xc00062a100, 0x2, 0x2, 0x1, 0xc00000e5a0)
May 08 15:01:06 nncp nncp-daemon[14379]: 
/tmp/nncp-6.4.0/src/cmd/nncp-daemon/main.go:121 +0x25
May 08 15:01:06 nncp nncp-daemon[14379]: 
go.cypherpunks.ru/nncp/v6.(*Ctx).LogI(0xc0000dd730, 0x6920e6, 0xc, 
0xc00000e5a0, 0x1, 0x1, 0xc0000c7d98)
May 08 15:01:06 nncp nncp-daemon[14379]: 
/tmp/nncp-6.4.0/src/log.go:108 +0x14f
May 08 15:01:06 nncp nncp-daemon[14379]: 
main.performSP(0xc0000dd730, 0x7fbc8daaf048, 0xc00062c2a0, 0xff, 
0xc00062e360)
May 08 15:01:06 nncp nncp-daemon[14379]: 
/tmp/nncp-6.4.0/src/cmd/nncp-daemon/main.go:118 +0x269
May 08 15:01:06 nncp nncp-daemon[14379]: created by 
main.main.func2
May 08 15:01:06 nncp nncp-daemon[14379]: 
/tmp/nncp-6.4.0/src/cmd/nncp-daemon/main.go:230 +0xaf

This is:

NNCP version 6.4.0 built with go1.14

on amd64.

Thanks,

- John

             reply	other threads:[~2021-05-08 20:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-08 20:07 John Goerzen [this message]
2021-05-11 10:49 ` SIGSEGV in nncp-daemon Sergey Matveev