On Mon, Dec 04, 2000 at 03:56:53PM +0100, Lars Gullik Bj&resh;nnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> 
> | This is dying in Buffer::isLatex()
> 
> Are you sure that inlining is not playing tricks on you?
> 
> Seems almost liek isLatex is beeing called on a buffer that has just
> been deleted...

The real problem is the following line in  LyXParagraph::CopyIntoMinibuffer():
   minibuffer_inset = GetInset(pos)->Clone(*current_view->buffer());
As current_view hasn't been initialized yet, *current_view->buffer()) is junk.
I've already mentioned this problem.
Possible solution are
1) Change the first parameter of CopyIntoMinibuffer() from 
'BufferParams const &' to 'Buffer const &'.
2) Do not call to CopyIntoMinibuffer in LyXTabular::OldFormatRead().

Reply via email to