Crash when joining MUC #17
Collaborator
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0xb7fbe5]
goroutine 31 [running]:
internal/sync.(*Mutex).Lock(...)
/home/linuxbrew/.linuxbrew/Cellar/go/1.25.0/libexec/src/internal/sync/mutex.go:63
sync.(*Mutex).Lock(...)
/home/linuxbrew/.linuxbrew/Cellar/go/1.25.0/libexec/src/sync/mutex.go:46
mellium.im/xmpp.(*Session).sendResp(0x0, {0xf1f110, 0xc005d04690}, {0xc005e03510, 0x10}, {0xf17de0, 0xc005e04e70}, {{{0x0, 0x0}, {0xdf2575, ...}}, ...})
/home/nyx/go/pkg/mod/mellium.im/xmpp@v0.22.0/session.go:994 +0xa5
mellium.im/xmpp.(*Session).SendPresence(0x0, {0xf1f110, 0xc005d04690}, {0xf17d20, 0xc005de3878})
/home/nyx/go/pkg/mod/mellium.im/xmpp@v0.22.0/session_presence.go:64 +0x708
mellium.im/xmpp.(*Session).SendPresenceElement(0x0, {0xf1f110, 0xc005d04690}, {0xf17d20?, 0xc005de3860?}, {{{0x0, 0x0}, {0x0, 0x0}}, {0xc005e03510, ...}, ...})
/home/nyx/go/pkg/mod/mellium.im/xmpp@v0.22.0/session_presence.go:73 +0x9e
mellium.im/xmpp/muc.(*Channel).JoinPresence.func1(0xc004fb87e0)
/home/nyx/go/pkg/mod/mellium.im/xmpp@v0.22.0/muc/room.go:214 +0xf1
created by mellium.im/xmpp/muc.(*Channel).JoinPresence in goroutine 72
/home/nyx/go/pkg/mod/mellium.im/xmpp@v0.22.0/muc/room.go:213 +0x485
```
bug
label
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?