Skip to content

Crash while typing chinese characters in chat #4818

@lukaszfryc

Description

@lukaszfryc

Description

Type: Bug

Summary: While in a chat, the app crashes when user switch from english keyboard to chinese and sends couple of chinese messages. It seems like it happens only on iOS. I could reproduce it on iPhone 6, 11.2.6 on "Chinese (Traditional) - Zhuyin" keyboard but not on iPhone 8, 11.3.2. There are also 3 Instabug reports related to not being able to user chinese or japanese keyboards in chats on iOS.

Application Specific Information:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFString substringWithRange:]: Range {18446744073709551615, 0} out of bounds; string length 8'

Reproduction

  • Set "Chinese (Traditional) - Zhuyin" in iOS system settings
  • Open Status
  • Open a chat
  • Switch to english keyboard
  • Send couple of messages
  • Switch to "Chinese (Traditional) - Zhuyin" keyboard
  • Send few more messages
    -> Crash

Additional Information

  • Status version: 0.9.20
  • Works in 0.9.19
  • Operating System: Android, iOS

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions