Juergen Spitzmueller wrote:
Could this be the culprit?
paragraph.h:334:
/// hinted by profiler
bool isInset(pos_type pos) const {
return getChar(pos) == static_cast<value_type>(META_INSET);
}
which is called by isHFill, which is called by numberOfHFills.
Note that the definition of META_INSET was changed (paragraph.h:66):
enum {
/// Note that this is 1 right now to avoid
/// crashes where getChar() is called wrongly
/// (returning 0) - if this was 0, then we'd
/// try getInset() and crash. We should fix
/// all these places.
//META_INSET = 1 // as in trunk
META_INSET = 0x200001 // above 0x10ffff, for ucs-4
};
Maybe this does not work with your setup (just a shot in the dark, though).
changing it to 1 did not solve the crash