> Well I tried the patch here and got a segfault on search.
> Here is the backtrace:
>
> I can reproduce this as often as I want. I just have to press 2 or 3
> times the ">" button with the same searchstring then I'll get this!
>
That's strange. I don't have this.
Apparantly (correct me if I'm wrong) it happens in IsStringInText() when it
uses lyxstring::operator[].
Which would mean that it happens here:
while (pos + i < par->Last()
&& string::size_type(i) < size
&& cs ? str[i] == par->GetChar(pos + i)
: toupper(str[i]) == toupper(par->GetChar(pos + i))) {
before it was like this:
while (pos + i < par->Last()
&& string::size_type(i) < size
&& str[i] == par->GetChar(pos + i) ) {
I am not doing anything funky or am I? Is this string trouble?
Can someone confirm Jurgens report? As I said, over here it functions fine
and the only way I can get it to crash is to throw my computer out of the
window :)
gr.ed.