You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to locate or select the object "Wallraf-Richartz-Museum & Foundation Corboud" (Cologne, Germany), OsmAnd (4.5.5) for iOS (17.1.1) crashes.
The issue can be reliably reproduced every time, with every map style.
The exception is recorded in the log, which I'll provide soon (substring ToIndex: Index 168465135768268664 out of bounds, string length 23 being the main culprit).
Steps to reproduce
Download the Cologne region (North Rhine-Westphallia map)
Search for "Wallraf-Richartz"
Select "Wallraf-Richartz-Museum & Foundation Corboud"
The application crashes
OsmAnd also crashes when you locate the museum manually (e.g. by finding "Wallraf-Richartz Cafe") and tap the building.
Actual result
Crash
Expected result
No crash
Your Environment (required)
OsmAnd Version: 4.5.5
Android/iOS version: iOS 17.1.1
Device model: iPhone 13 mini
Crash-Logs: 2023-11-27 10:09:30.779 OsmAnd Maps[19560:3207740] >> Search phrase wallraf 29 *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSCFString substringToIndex:]: Index 18446744073709551615 out of bounds; string length 23' *** First throw call stack: (0x196cdc870 0x18effbc00 0x195bb9804 0x1015aa494 0x1015ab124 0x197cce7b4 0x197cec6d0 0x19ebab6a8 0x19ebad300 0x19ebb4894 0x19ebb53f8 0x19ebc0004 0x19ebbf878 0x20064d964 0x20064da04) libc++abi: terminating due to uncaught exception of type NSException
The text was updated successfully, but these errors were encountered:
Description
Whenever I try to locate or select the object "Wallraf-Richartz-Museum & Foundation Corboud" (Cologne, Germany), OsmAnd (4.5.5) for iOS (17.1.1) crashes.
The issue can be reliably reproduced every time, with every map style.
The exception is recorded in the log, which I'll provide soon (substring ToIndex: Index 168465135768268664 out of bounds, string length 23 being the main culprit).
Steps to reproduce
OsmAnd also crashes when you locate the museum manually (e.g. by finding "Wallraf-Richartz Cafe") and tap the building.
Actual result
Crash
Expected result
No crash
Your Environment (required)
OsmAnd Version: 4.5.5
Android/iOS version: iOS 17.1.1
Device model: iPhone 13 mini
Crash-Logs:
2023-11-27 10:09:30.779 OsmAnd Maps[19560:3207740] >> Search phrase wallraf 29
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSCFString substringToIndex:]: Index 18446744073709551615 out of bounds; string length 23'
*** First throw call stack: (0x196cdc870 0x18effbc00 0x195bb9804 0x1015aa494 0x1015ab124 0x197cce7b4 0x197cec6d0 0x19ebab6a8 0x19ebad300 0x19ebb4894 0x19ebb53f8 0x19ebc0004 0x19ebbf878 0x20064d964 0x20064da04) libc++abi: terminating due to uncaught exception of type NSException
The text was updated successfully, but these errors were encountered: