Vincent van Ravesteijn - TNW wrote:
Vincent van Ravesteijn - TNW wrote:
Strange, I reproduced it on two different locations, both Linux
though.
i couldn't. linux here. maybe you can provide more step-by-step recipe?

pavel


No, it is as simple as this:
1. New document
2. Enable track changes.
And have the outliner open.
3. blablabla<enter>
4. Assertion

I saw this also yesterday at home, but I didn't want to report it,
because there is always the possibility that it occurs due to some of my
own hacking. Today I reverted and cleaned up everything overhere and the
same assertion appears.

I have it, too. Pretty much the same backtrace. The problem is that in the call
str += " " + dit.paragraph().asString(it->range.start, it->range.end);
at line 415 of Changes.cpp, it->range.end is one past the end of the paragraph. This eventually leads to the assertion in Paragraph::asString, at line 2398, when i = text_.size(). I looked into a couple possibilities, but I'm now inclined to think that maybe the range was set wrong to begin with---it->range.end is accessing the table of changes---and Abdel's stuff is just triggering that bug.

Richard

Vincent



Reply via email to