Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account 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

The app will sometimes crash when changes Spaces or exploring rooms in a Space. #6547

Closed
pixlwave opened this issue Aug 10, 2022 · 3 comments
Labels
A-Spaces Spaces, groups, communities crash O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@pixlwave
Copy link
Member

Steps to reproduce

  1. Open the side bar
  2. Tap the button next to a Space.
  3. Tap the Explore rooms option.

Outcome

What did you expect?

To be able to explore the rooms in the Space.

What happened instead?

For some Spaces, the app crashes as follows:

MatrixSDK/MXSpaceService.swift:379: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value

It seems that some of the state events are missing the roomId property causing the crash here.

Your phone model

iPhone 12 & Simulator

Operating system version

iOS 15.6

Application version

1.8.25

Homeserver

No response

Will you send logs?

No

@pixlwave pixlwave added T-Defect Something isn't working: bugs, crashes, hangs and other reported problems crash A-Spaces Spaces, groups, communities S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely labels Aug 10, 2022
@pixlwave pixlwave changed the title The app will sometimes crash when exploring rooms in a Space. The app will sometimes crash when changes Spaces or exploring rooms in a Space. Aug 10, 2022
@pixlwave
Copy link
Member Author

Seems related to matrix-org/synapse#13365

@pixlwave
Copy link
Member Author

Fixed by matrix-org/matrix-ios-sdk#1547

@clokep
Copy link

clokep commented Aug 15, 2022

To cross-reference, this was missed from #5144.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Spaces Spaces, groups, communities crash O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

2 participants