rgheck wrote:

This is along the way to dealing with the InsetTableCell issue. But even this little bit causes LyX to crash when you try to make a table. Debugging shows that the problem is in Tabular::init(), at this line: cell_info = cell_vvector(rows_arg, cell_vector(columns_arg, CellData(buf))); The first bit, cell_vector(columns_arg, CellData(buf)), actually works OK (separate it out); it's the next call that fails, with a complaint that CellData::inset is null in the CellData copy constructor, here:

I can't myself see how anything in this patch could cause this problem.
     inset(dynamic_cast<InsetTableCell*>(cs.inset->clone()))
It's cs.inset---the argument to CellData(CellData)---that's apparently uninitialized. But how can it be? The only CellData constructor that's available initializes cs.inset.

???

No clone() method.

rh

Reply via email to