Skip to content

panic: runtime error: invalid memory address or nil pointer dereference #145

Closed
@hn0pw

Description

At the moment we have a lot f restarts of the centrifugo ssl service (~every 5mins)
Version: 1.6.3 on Ubuntu 16.04.1 LTS

In the syslog i got the following messages:

Jan 29 11:27:23 ws centrifugo[4223]: panic: runtime error: invalid memory address or nil pointer dereference
Jan 29 11:27:23 ws centrifugo[4223]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5cb4a5]
Jan 29 11:27:23 ws centrifugo[4223]: goroutine 36161527 [running]:
Jan 29 11:27:23 ws centrifugo[4223]: panic(0x904a00, 0xc420010070)
Jan 29 11:27:23 ws centrifugo[4223]: #011/home/travis/.gimme/versions/go1.7.4.linux.amd64/src/runtime/panic.go:500 +0x1a1
Jan 29 11:27:23 ws centrifugo[4223]: net/http.(*http2responseWriter).CloseNotify.func1(0xc4546dd180, 0xc51dffb5e0)
Jan 29 11:27:23 ws centrifugo[4223]: #011/home/travis/.gimme/versions/go1.7.4.linux.amd64/src/net/http/h2_bundle.go:4700 +0x25
Jan 29 11:27:23 ws centrifugo[4223]: created by net/http.(*http2responseWriter).CloseNotify
Jan 29 11:27:23 ws centrifugo[4223]: #011/home/travis/.gimme/versions/go1.7.4.linux.amd64/src/net/http/h2_bundle.go:4702 +0xda

Because of the repeating restarts, the client connection count is going up:
image
The first spike to 0 connections was the start i think..

Do you have an idea if it's a problem of centrifugo or system configuration?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions