GNOME Bugzilla – Bug 769982
Document search fails with ICU error: unorm_normalize: U_BUFFER_OVERFLOW_ERROR
Last modified: 2016-11-03 13:53:04 UTC
Version: gnome-documents-3.20.0-2.fc24.x86_64 ICU error: unorm_normalize: U_BUFFER_OVERFLOW_ERROR my LANG is en_CA.utf8 so nothing weird I may have a very very long list of documents... Also, the label with this error in the "Unable to fetch documents" error is not selectable, so it makes it harder to copy-paste it.
Seems like a Tracker bug, here is the relevant stack trace from where it printf's that error: gdb) frame
+ Trace 236549
-> tracker Reassigning
Created attachment 339029 [details] [review] libtracker-data: Handle overflows on libicu-based normalization We allocate by default double the string size, which is a pretty generous allotment most usually. If that is not enough for storing the normalized string, just reallocate the buffer with the given expected size and try again. Also, refactor string normalization to a separate function, so it's shared by both tracker:normalize and tracker:unaccent.
Pushing the fix to master and tracker-1.10. Attachment 339029 [details] pushed as bc73a48 - libtracker-data: Handle overflows on libicu-based normalization