Abdelrazak Younes wrote:
rgheck wrote:

It's hard to tell with all the optimization in the code,

So this isn't a debug build?

Yes, it is. I mean the debugger reports that the crucial variables are optimized out, so I can't be sure what they are.

but it looks like the error is here:
Paragraph & CursorSlice::paragraph() const
{
   return text()->getPar(pit_);
}
and that it's pit_ that is invalid: pit_ is 0, but there's nothing in text(). I think....

Quite possibly. Text::pars_ is empty at construction and a non-loaded buffer doesn't change that fact. This commit should do it.

Unfortunately, no. I get the same crash. Here's how to generate it: Go into lyx2lyx and create a syntax error right after if __name__ == "main". That will crash lyx2lyx, then you'll get the abort in LyX itself.

Richard

Reply via email to