Skip to content

/reject -> crash #77

@taschenlampe

Description

@taschenlampe

Hi!

I see in gomuks some empty rooms (that I do not see in the other matrix clients), I try to delete these rooms, by entering the "room" then "/reject"

What I did:

  • selected an empty room (called "empty room")
  • within the empty room I enter the command /reject (I guess this is what I should do to delete the room)
  • gomuks crashes see logs below

gomuks --version
gomuks 0.3.1+dev.unknown (unknown with go1.21.12)

runtime error: invalid memory address or nil pointer dereference
goroutine 209 [running]:
runtime/debug.Stack()
/usr/lib64/go/1.21/src/runtime/debug/stack.go:24 +0x5e
maunium.net/go/gomuks/debug.PrettyPanic({0x56529797fc00?, 0x56529806e5a0})
/home/abuild/rpmbuild/BUILD/gomuks-0.3.1/debug/debug.go:161 +0x190
maunium.net/go/gomuks/debug.Recover()
/home/abuild/rpmbuild/BUILD/gomuks-0.3.1/debug/debug.go:135 +0x50
panic({0x56529797fc00?, 0x56529806e5a0?})
/usr/lib64/go/1.21/src/runtime/panic.go:914 +0x21f
maunium.net/go/gomuks/ui.cmdReject(0x565297976060?)
/home/abuild/rpmbuild/BUILD/gomuks-0.3.1/ui/commands.go:147 +0x1e
maunium.net/go/gomuks/ui.(*CommandProcessor).HandleCommand(0xc000099e50, 0xc00013c5a0)
/home/abuild/rpmbuild/BUILD/gomuks-0.3.1/ui/command-processor.go:286 +0xcb
created by maunium.net/go/gomuks/ui.(*RoomView).InputSubmit in goroutine 1
/home/abuild/rpmbuild/BUILD/gomuks-0.3.1/ui/room-view.go:701 +0xc5

Is there anything I could provide to debug this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions