Re: [patch] Fix null deference at FindAndReplace.cpp:358

2011-03-20 Thread John McCabe-Dansted
On Sun, Mar 20, 2011 at 7:51 PM, Tommaso Cucinotta wrote: > I'm fine with it as a temporary "robustness" patch, but I'd like to > understand where the real bug is. In the last part of your KEYCODE > sequence, I can spot a "\Cq", so the issue may be that we instruct > LyX to exit, then someway some

Re: [patch] Fix null deference at FindAndReplace.cpp:358

2011-03-20 Thread Tommaso Cucinotta
Il 19/03/2011 03:04, John McCabe-Dansted ha scritto: Hi, I got the following backtrace. It is not really possible to manually reproduce (the recipe has 1779 keypresses, see [1]); however, this looks like a simple Null dereference. At a glance it seems that the attached patch should fix the proble

[patch] Fix null deference at FindAndReplace.cpp:358

2011-03-18 Thread John McCabe-Dansted
Hi, I got the following backtrace. It is not really possible to manually reproduce (the recipe has 1779 keypresses, see [1]); however, this looks like a simple Null dereference. At a glance it seems that the attached patch should fix the problem, and I can no longer reproduce a crash with the patch