Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

AzuraBot hits invalid memory address or nil pointer dereference on !play {ID} #9

Open
ItsMitchh opened this issue Jun 24, 2020 · 0 comments

Comments

@ItsMitchh
Copy link
Member

I've been testing around with the bot and I've done some debugging work to see why it doesn't play after numerous complaints from users.

I've pulled these logs, hopefully it might assist in resolving the issue once and for all.

bot_1                      | 2020/06/24 19:51:21 INFO: Mitchhh sent command 'play'
bot_1                      | 2020/06/24 19:51:22 INFO: Playing URL  https://crosshost.ml/radio/8010/radio.mp3?1593028277
bot_1                      | panic: runtime error: invalid memory address or nil pointer dereference
bot_1                      | [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x6ca295]
bot_1                      |
bot_1                      | goroutine 100 [running]:
bot_1                      | github.com/bwmarrin/discordgo.(*VoiceConnection).log(...)
bot_1                      |    /go/src/github.com/bwmarrin/discordgo/logging.go:86
bot_1                      | github.com/bwmarrin/discordgo.(*VoiceConnection).Speaking(0x0, 0x1, 0x0, 0x0)
bot_1                      |    /go/src/github.com/bwmarrin/discordgo/voice.go:82 +0x85
bot_1                      | main.(*Bot).Radio(0xc0000b22c0, 0xc000377800, 0x34, 0xc0001e9ef0)
bot_1                      |    /go/src/app/audio.go:32 +0xfb
bot_1                      | created by main.(*Bot).GlobalRadio
bot_1                      |    /go/src/app/audio.go:16 +0x70
azuracast_bot_1 exited with code 2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant