Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV while running (docker version) #2130

Closed
Teeed opened this issue Apr 16, 2024 · 1 comment
Closed

SIGSEGV while running (docker version) #2130

Teeed opened this issue Apr 16, 2024 · 1 comment
Labels

Comments

@Teeed
Copy link

Teeed commented Apr 16, 2024

Describe the bug
SIGSEGV while running bridging IRC and telegram channels. It needs investigation if it is misconfiguration of library in matterbridge's code or bug in 3rd party library (lrstanley/girc).

To Reproduce
Random. It happened rarely, but today it happened 19 times.

Expected behavior
Well, do not SIGSEGV.

Screenshots/debug logs

time="2024-04-16T13:51:32Z" level=info msg="Running version 1.26.1-dev 56e7bd0" prefix=main

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

goroutine 13269432 [running]:
github.com/lrstanley/girc.(*Client).readLoop(0xc00068a700, {0x26a1d90, 0xc0000d6550})
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/conn.go:440 +0x266
github.com/lrstanley/girc/internal/ctxgroup.(*Group).Go.func1()
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/internal/ctxgroup/ctxgroup.go:58 +0x6e
created by github.com/lrstanley/girc/internal/ctxgroup.(*Group).Go
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/internal/ctxgroup/ctxgroup.go:55 +0x8d
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xb52fa6]

goroutine 8 [running]:
github.com/lrstanley/girc.(*Client).readLoop(0xc000254700, {0x26a1d90, 0xc0002e6140})
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/conn.go:440 +0x266
github.com/lrstanley/girc/internal/ctxgroup.(*Group).Go.func1()
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/internal/ctxgroup/ctxgroup.go:58 +0x6e
created by github.com/lrstanley/girc/internal/ctxgroup.(*Group).Go
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/internal/ctxgroup/ctxgroup.go:55 +0x8d
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xb52fa6]

goroutine 564 [running]:
github.com/lrstanley/girc.(*Client).readLoop(0xc0009381c0, {0x26a1d90, 0xc0000df270})
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/conn.go:440 +0x266
github.com/lrstanley/girc/internal/ctxgroup.(*Group).Go.func1()
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/internal/ctxgroup/ctxgroup.go:58 +0x6e
created by github.com/lrstanley/girc/internal/ctxgroup.(*Group).Go
        /go/src/matterbridge/vendor/github.com/lrstanley/girc/internal/ctxgroup/ctxgroup.go:55 +0x8d
time="2024-04-16T14:13:38Z" level=info msg="Running version 1.26.1-dev 56e7bd0" prefix=main

Environment (please complete the following information):

  • OS: linux
  • Matterbridge version: 1.26.1-dev 56e7bd0, docker image
  • If self compiled: I am using most recent, "official" docker image (6beb4da71858)
@Teeed Teeed added the bug label Apr 16, 2024
@42wim
Copy link
Owner

42wim commented May 23, 2024

The girc library has been updated on master, try running lastest docker image

@42wim 42wim closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants