Skip to content

Websocket issue #28

Description

@santichu95

2020/07/13 02:49:34 [DG0] voice.go:107:Speaking() Speaking() write json error, websocket: close sent
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xc8 pc=0x6b16a6]

goroutine 5748 [running]:
github.com/gorilla/websocket.(*Conn).NextReader(0x0, 0x57ff9b, 0xc000063401, 0xc0003d9fa8, 0x57ff9b, 0xc0005933e0)
/home/santiago/work/src/github.com/gorilla/websocket/conn.go:971 +0x26
github.com/gorilla/websocket.(*Conn).ReadMessage(0x0, 0x100000001, 0x0, 0x0, 0xc000593440, 0x0, 0x1)
/home/santiago/work/src/github.com/gorilla/websocket/conn.go:1064 +0x2f
github.com/bwmarrin/discordgo.(*VoiceConnection).wsListen(0xc0000ada20, 0xc0000ac160, 0xc000194360)
/home/santiago/work/src/github.com/bwmarrin/discordgo/voice.go:347 +0x9b
created by github.com/bwmarrin/discordgo.(*VoiceConnection).open
/home/santiago/work/src/github.com/bwmarrin/discordgo/voice.go:331 +0x743

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions