On 11/4/18 5:35 AM, Kornel Benko wrote:
> I am hunting an error, which only shows if I disable the debug output.
> So, using  '-dbg find', there is no error, the findadv routines work OK.
>
> Without this, the outcome is surprising.
> For instance open a file with some text in English and some in another 
> languages.
>
> In findadv deselect 'igmore format'
> use regex '.+' and set the lang of regex to English
>
> Now, sometimes, not the whole English part is found.
> The following search will find the remaining (or again only a part of the 
> remaining) and so on.
>
> The question is: What the hell is going on here? The code is the same,
> only the debug output changes the behaviour.
> Also debugging is difficult, because  the wrong behaviour does not
> appear consistently.

That makes it sound like some kind of race condition. Are we doing
background processing here somewhere?

Riki


Reply via email to