8000 Reproducible crash on switch to a specific room · Issue #181 · tulir/gomuks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reproducible crash on switch to a specific room #181

New issue

Have a question about this project? Sign up for a free GitHub account A472 to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pstn opened this issue Jun 24, 2020 · 0 comments
Closed

Reproducible crash on switch to a specific room #181

pstn opened this issue Jun 24, 2020 · 0 comments

Comments

@pstn
Copy link
pstn commented Jun 24, 2020

When I switch to a specific (private) room, gomuks-0.1.1 crashes immediately with this log:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x7719e6]

goroutine 194 [running]:
maunium.net/go/gomuks/debug.Recover()
	/build/source/debug/debug.go:109 +0x94
panic(0xbc4620, 0x13dcec0)
	/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14.4/share/go/src/runtime/panic.go:969 +0x166
maunium.net/go/mautrix/event.(*Content).ParseRaw(0x0, 0xc00442b340, 0x16, 0x1, 0x1, 0xc00449ca80)
	/build/source/vendor/maunium.net/go/mautrix/event/content.go:128 +0xc6
maunium.net/go/gomuks/ui/messages.ParseStateEvent(0xc003f7ce10, 0xc00208e040, 0x7, 0xc0008b2300)
	/build/source/ui/messages/parser.go:159 +0x214
maunium.net/go/gomuks/ui/messages.directParseEvent(0xf26720, 0xc00018e000, 0xc00209e000, 0xc003f7ce10, 0xc0045ca5a0)
	/build/source/ui/messages/parser.go:89 +0x39b
maunium.net/go/gomuks/ui/messages.ParseEvent(0xf26720, 0xc00018e000, 0xf21ea0, 0xc00013c2c0, 0xc00209e000, 0xc003f7ce10, 0xc0045ca5a0)
	/build/source/ui/messages/parser.go:48 +0x50
maunium.net/go/gomuks/ui.(*RoomView).parseEvent(...)
	/build/source/ui/room-view.go:783
maunium.net/go/gomuks/ui.(*RoomView).AddHistoryEvent(0xc006eebe00, 0xc003f7ce10)
	/build/source/ui/room-view.go:787 +0x6d
maunium.net/go/gomuks/ui.(*MainView).LoadHistory(0xc00013c2c0, 0xc002db3d00, 0x1b)
	/build/source/ui/view-main.go:474 +0x1ad
created by maunium.net/go/gomuks/ui.(*MainView).switchRoom
	/build/source/ui/view-main.go:280 +0x21b

I'm able to view that same room with gomuks-0.1.0 without issues.

@tulir tulir closed this as completed in 68956c4 Jun 24, 2020
Repository owner locked and limited conversation to collaborators Nov 10, 2024
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
0