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
Sorry in advance for the bad bug report :-/ When compiling my project (well, a set of static libs within a larger app), w/ `-Owholemodule` or `-O` (opt for speed), it produces an out of bounds exception. Just switching to `-O0` makes it work, `-Osize` also works.
It only crashes on larger input WITH an embedded Emoji, ~300 chars (presumably when `NSBigMutableString` starts getting used). Small input w/ Emoji seems fine, large input w/o Emoji seems fine.
Note that both ranges are validated and it is what NSAttributedString gives me as input, no own tweaking.
Maybe something w/ promoting the `plain` into the closure? Or something within the `Range` conversion?
The text was updated successfully, but these errors were encountered:
Attachment: Download
Environment
Xcode 11C504, macOS 10.14.6
Additional Detail from JIRA
md5: 8592f0a66efbd5b78be89cbe4cb92931
Issue Description:
Sorry in advance for the bad bug report :-/ When compiling my project (well, a set of static libs within a larger app), w/ `-Owholemodule` or `-O` (opt for speed), it produces an out of bounds exception. Just switching to `-O0` makes it work, `-Osize` also works.
It only crashes on larger input WITH an embedded Emoji, ~300 chars (presumably when `NSBigMutableString` starts getting used). Small input w/ Emoji seems fine, large input w/o Emoji seems fine.
Here is the relevant code:
Note that both ranges are validated and it is what NSAttributedString gives me as input, no own tweaking.
Maybe something w/ promoting the `plain` into the closure? Or something within the `Range` conversion?
The text was updated successfully, but these errors were encountered: