Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

panic: runtime error: slice bounds out of range #169

Closed
4 of 7 tasks
Caindrac opened this issue Jul 11, 2016 · 10 comments
Closed
4 of 7 tasks

panic: runtime error: slice bounds out of range #169

Caindrac opened this issue Jul 11, 2016 · 10 comments
Labels

Comments

@Caindrac
Copy link

Caindrac commented Jul 11, 2016

Before submitting this issue, please acknowledge that you have done the following:

  • I've at least skimmed through the README
  • I have checked that I am running the latest version of MumbleDJ (use mumbledj --version when starting the bot or use the MumbleDJ version command in Mumble)
  • I have searched through the existing issues to see if my issue has been answered already

What type of issue is this?

  • Bug report (encountered problems with MumbleDJ)
  • Feature request (request for a new functionality)
  • Question
  • Other:

Log output of bot with --debug flag (likely only for bug reports):

panic: runtime error: slice bounds out of range

goroutine 14 [running]:
panic(0xa09860, 0xc82000e080)
        /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/matthieugrieger/mumbledj/vendor/github.com/layeh/gumble/gumble.(*Client).handleUDPTunnel(0xc82050c600, 0xc820484e60, 0x6d, 0x95, 0x0, 0x0)
        /home/caindrac/work/src/github.com/matthieugrieger/mumbledj/vendor/github.com/layeh/gumble/gumble/handlers.go:138 +0xb7f
github.com/matthieugrieger/mumbledj/vendor/github.com/layeh/gumble/gumble.(*Client).readRoutine(0xc82050c600)
        /home/caindrac/work/src/github.com/matthieugrieger/mumbledj/vendor/github.com/layeh/gumble/gumble/client.go:225 +0x1de
created by github.com/matthieugrieger/mumbledj/vendor/github.com/layeh/gumble/gumble.DialWithDialer
        /home/caindrac/work/src/github.com/matthieugrieger/mumbledj/vendor/github.com/layeh/gumble/gumble/client.go:113 +0x3e4

Description of your issue:

Just crashes with this panic after a few min of playing.

@matthieugrieger
Copy link
Owner

@bontibon: Looks like this might be an issue related to gumble.

@ghost
Copy link

ghost commented Jul 11, 2016

Just crashes with this panic after a few min of playing.

Do you have any specifics about this issue? Can you reproduce it successfully? The crash is happening from inside of the incoming audio handler, meaning it's triggered by other users talking in the channel.

@Caindrac
Copy link
Author

It is a not a problem to reproduce it happens every time I turn on the bot. It has happened both after starting a song as well as just sitting afk for a 1-2 minutes.

@ghost
Copy link

ghost commented Jul 11, 2016

It has happened both after starting a song as well as just sitting afk for a 1-2 minutes.

But were any users on the server talking? What versions of Mumble are the talking users using?

@Caindrac
Copy link
Author

Yes there where people talking I don't have the information on my on what version they are using.

@matthieugrieger
Copy link
Owner

You can check what version they are using by right-clicking on them and selecting "Information". They do have to be online, however.

@ghost
Copy link

ghost commented Jul 11, 2016

@matthieugrieger Just pushed layeh/gumble@f0a4a299 which may fix the issue.

@matthieugrieger
Copy link
Owner

@bontibon: Thanks, I'll update the vendored dependencies.

@matthieugrieger
Copy link
Owner

@Caindrac: Could you try out the newest release and let us know if you still experience this issue?

@matthieugrieger
Copy link
Owner

Closing this issue as the latest update most likely fixed it. @Caindrac, if you continue to have problems, please let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants