To reproduce on current master:

1. Open example2.lyx in one session. Copy the last two rows.

2. Open example.lyx in another session, and highlight the last two rows and do 
paste.

Note: they need to be in different sessions. I suppose internal LyX copy/paste 
is fine (?).

I get the following:

/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:1263:
 reference std::vector<lyx::Tabular::ColumnData>::operator[](size_type) [_Tp = 
lyx::Tabular::ColumnData, _Alloc = std::allocator<lyx::Tabular::ColumnData>]: 
Assertion '__n < this->size()' failed.

I am curious if others can reproduce. I wonder if I only get this
assertion because I have some debug flags turned on, or if these
assertions are enabled by default.

I can make a trac ticket for this (although the default owner of
'tabular' component is pretty useless).

Scott

Attachment: example.lyx
Description: application/lyx

Attachment: example2.lyx
Description: application/lyx

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to