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

Crash: Index number beyond bounds for empty array #4605

Closed
ismailgulek opened this issue Jul 26, 2021 · 0 comments · Fixed by matrix-org/matrix-ios-kit#864
Closed

Crash: Index number beyond bounds for empty array #4605

ismailgulek opened this issue Jul 26, 2021 · 0 comments · Fixed by matrix-org/matrix-ios-kit#864
Assignees
Labels
crash T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@ismailgulek
Copy link
Contributor

App crashes with some stack trace like below:

*** -[__NSArrayM objectAtIndexedSubscript:]: index 80 beyond bounds for empty array
Application: Riot Application version: 1.0 (r1.13) Matrix SDK version: 0.19.1
Build: develop #1.13
iPhone 14.6

Main thread: YES
(
	0   CoreFoundation                      0x000000018c4ee768 4FBDF167-161A-324C-A233-D516922C67E5 + 1218408
	1   libobjc.A.dylib                     0x00000001a0fb57a8 objc_exception_throw + 60
	2   CoreFoundation                      0x000000018c560a18 4FBDF167-161A-324C-A233-D516922C67E5 + 1686040
	3   CoreFoundation                      0x000000018c3d8eb8 4FBDF167-161A-324C-A233-D516922C67E5 + 81592
	4   MatrixKit                           0x000000010223d1a4 -[MXKRoomDataSource paginateToFillRect:direction:withMinRequestMessagesCount:success:failure:] + 452
	5   libdispatch.dylib                   0x000000018c0d9a84 DAF30062-4C85-3B92-B159-50602A0C9D97 + 10884
	6   libdispatch.dylib                   0x000000018c0db81c DAF30062-4C85-3B92-B159-50602A0C9D97 + 18460
	7   libdispatch.dylib                   0x000000018c0e9c70 _dispatch_main_queue_callback_4CF + 884
	8   CoreFoundation                      0x000000018c468398 4FBDF167-161A-324C-A233-D516922C67E5 + 668568
	9   CoreFoundation                      0x000000018c462270 4FBDF167-161A-324C-A233-D516922C67E5 + 643696
	10  CoreFoundation                      0x000000018c461360 CFRunLoopRunSpecific + 600
	11  GraphicsServices                    0x00000001a3a9f734 GSEventRunModal + 164
	12  UIKitCore                           0x000000018eedc584 33B02AB5-5DAF-3249-8DC6-5872DF830EC5 + 12363140
	13  UIKitCore                           0x000000018eee1df4 UIApplicationMain + 168
	14  Riot                                0x000000010078bcd4 Riot + 1621204
	15  libdyld.dylib                       0x000000018c11dcf8 E574A365-9878-348A-8E84-91E163CFC128 + 7416
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant