-
Notifications
You must be signed in to change notification settings - Fork 38
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
"Not enough output buffer space" error during sync #172
Comments
From the crash logs it seems the application crashes when trying to set baseTitle of a DB Object Item. This happens during a sync. The crash is born from somewhere inside of the realm db library. We haven’t acquired any note’s content from users for which this crash happens and for now we only have exactly 199 characters in the form of “0xd83d 0xdd24 0x524d” that appears after a crash message in firebase. When these codes are converted to UTF-8 we can see the original text. Lots of (if not all) of these strings end with 0xd83d. Which in UTF-8 is “=”. And this as I’ve found out a part of an emoji(smiley). Some emojis, as it turns out, consist of 2 characters - a high surrogate and low surrogate. And apparently that “0xd83d” is one of those. The fix for now is that we check whether the last character is a surrogate without a pair, and if it is, we drop it from a string. |
https://forums.zotero.org/discussion/118673/zotero-android-webdav-sync-issue
The text was updated successfully, but these errors were encountered: