John McCabe-Dansted wrote: > 2009/6/16 Pavel Sanda <[email protected]>: > > Noyte that John provided his script and that we could put it in shape for > > inclusion in our distribution. > > I have created a version that actually has documentation: > > www.ucc.asn.au/~mccabedj/lyxtestc.tar.gz
nice. can you post permission like this to the devel list? http://marc.info/?l=lyx-devel&m=119072721929143 i will commit your work to the trunk/development/keytest. would it be ok to move the development of scripts here? we may get permission from Juergen for 1.6 too, its not touching any other part of code. > > btw John if you are getting those crashes through the script would it be > > possible > > to log keys which lead to the crash and thus giving us some clue howto > > reproduce? > > Yes. I logged 6.1MB of keystrokes. I'm adding in timestamps so we can > compare time of crash with the time of crash. ugh. this is not reproducible. i think two things needed for usability: 1. each bug one file of keystrokes 2. backtrace mode to reduce number of keystroke. something like try if crashes last step, if not kill lyx and try two steps, 4 steps, 8, 16 ... or some similar kind of bisection. > > if its too much keys, it maybe possible to automatize searching for subset > > of keys > > interval which leads to the crash... > > Yes even given that many of these crashes may be intermittent, it > sounds feasible to develop some sort of evolutionary algorithm. We > don't even need to create new genes, just discard. i have in mind only very simple thing as noted in poin 2 above. > At the moment I reproduce some errors just by running run the script > again, although this doesn't help us understand what caused the error. > Below is the frequency of each crash. As we can see, at least three > are reproducible this way. > if you update 1.6 tree two crashes are fixed now. good stuff, thanks :) pavel > 135 lyx::frontend::GuiCommandBuffer::down (#6001) > 24 lyx::frontend::GuiView::closeEvent (#5998) > 2 lyx::Buffer::fileName (#6000) > 1 lyx::LyXFunc::dispatch > 1 lyx::getStatus > 1 lyx::frontend::GuiView::event > 1 lyx::DocIterator::paragraph > 1 lyx::Buffer::save > 1 lyx::frontend::Alert::warning (no bug yet) > > -- > John C. McCabe-Dansted
