Richard heck wrote:

> 
> OK, I understand this bug now. It is, as Abdel suspected, a consequence
> of a problem with InsetTableCell, which I introduced to solve various
> bugs. InsetTableCell holds a pointer to its  containing Tabular, so that
> it can get information from it, and that pointer is not updated on copy.
> So when the original table is copied into the Undo stack, the cells all
> point to the pre-copy Tabular. When it is restored, they still do, and
> then it is destroyed, so of course BOOM!
> 
> I always thought this pointer was evil, and the right solution is surely
> to get rid of it. (The only other solution would be a Tabular copy
> constructor.)  It is used only here:

Hum -- Is this bug related to this? 

http://thread.gmane.org/gmane.editors.lyx.devel/107537/focus=107717

I'm sorry I didn't follow the issue and neither patch on the thread was
applied AFAIK. (and moreover silly me I didn't fill a bug report). If not
related, one of these patches should be applied before release IMO...

A/


Reply via email to