On Fri, Jan 30, 2026 at 08:21:12PM +0100, Jean-Marc Lasgouttes wrote: > Le 30 janvier 2026 17:45:12 GMT+01:00, Scott Kostyshak <[email protected]> a > écrit : > >> Have a go at it if you have time, but do not expect too much besides > >> drawing > >> without glitches. > > > >Thanks for working on this! > > > >If we are not using the feature of breakable insets, is anything else > >knowingly broken? Or perhaps that's what you want testing for? > > > >Scott > > I do not think that I broke something else. But of course it would be > interesting to know.
I gave it a try, but I get the following when opening one of my files: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:1370: reference std::vector<lyx::Row::Element>::back() [_Tp = lyx::Row::Element, _Alloc = std::allocator<lyx::Row::Element>]: Assertion '!this->empty()' failed. Would this be termed "an STL assertion" ? I attach a backtrace. Bisect leads to the current head of the branch (ad7a1e2b). Just as a double-check, I cannot reproduce with the commit before. Scott
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:1370:
reference std::vector<lyx::Row::Element>::back() [_Tp = lyx::Row::Element,
_Alloc = std::allocator<lyx::Row::Element>]: Assertion '!this->empty()' failed.
Thread 1 "lyx" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at
./nptl/pthread_kill.c:44
warning: 44 ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0)
at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (threadid=<optimized out>, signo=6) at
./nptl/pthread_kill.c:89
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at
./nptl/pthread_kill.c:100
#3 0x00007ffff5c4579e in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#4 0x00007ffff5c288cd in __GI_abort () at ./stdlib/abort.c:73
#5 0x00007ffff60ad3da in std::__glibcxx_assert_fail(char const*, int, char
const*, char const*) () at /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00005555559a5416 in std::vector<lyx::Row::Element,
std::allocator<lyx::Row::Element> >::back (this=0x555558017268)
at
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:1370
#7 0x00005555559a59f9 in lyx::Row::back (this=0x555558017238) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/Row.h:368
#8 0x0000555555a1f5c9 in lyx::TextMetrics::collectInsetRows
(this=0x555558771a98, rows=std::vector of length 4, capacity 4 = {...}, bv=...)
at /home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:660
#9 0x0000555555a1b7cf in lyx::TextMetrics::redoParagraph (this=0x555558771a98,
pit=0, align_rows=false) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:689
#10 0x0000555555a1c32b in lyx::TextMetrics::metrics (this=0x555558771a98,
mi=..., dim=..., min_width=0) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:311
#11 0x0000555555da91d2 in lyx::InsetText::metrics (this=0x555557cda2d0, mi=...,
dim=...) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/insets/InsetText.cpp:229
#12 0x0000555555c489fa in lyx::InsetCollapsible::metrics (this=0x555557cda2d0,
mi=..., dim=...) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/insets/InsetCollapsible.cpp:305
#13 0x0000555555a24594 in lyx::TextMetrics::redoInset (this=0x55555876e968,
elt=..., parPos=..., w=543) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:1355
#14 0x0000555555a21f2c in lyx::TextMetrics::breakParagraph
(this=0x55555876e968, bigrow=...) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:1468
#15 0x0000555555a1b76d in lyx::TextMetrics::redoParagraph (this=0x55555876e968,
pit=0, align_rows=false) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:687
#16 0x0000555555a1c32b in lyx::TextMetrics::metrics (this=0x55555876e968,
mi=..., dim=..., min_width=0) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:311
#17 0x0000555555da91d2 in lyx::InsetText::metrics (this=0x555557cc3cb0, mi=...,
dim=...) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/insets/InsetText.cpp:229
#18 0x0000555555c489fa in lyx::InsetCollapsible::metrics (this=0x555557cc3cb0,
mi=..., dim=...) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/insets/InsetCollapsible.cpp:305
#19 0x0000555555a24594 in lyx::TextMetrics::redoInset (this=0x5555587126f8,
elt=..., parPos=..., w=551) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:1355
#20 0x0000555555a21f2c in lyx::TextMetrics::breakParagraph
(this=0x5555587126f8, bigrow=...) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:1468
#21 0x0000555555a1b76d in lyx::TextMetrics::redoParagraph (this=0x5555587126f8,
pit=1, align_rows=true) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:687
#22 0x0000555555a1c09d in lyx::TextMetrics::updateMetrics (this=0x5555587126f8,
anchor_pit=0, anchor_ypos=66, bv_height=389)
at /home/scott/lyxbuilds/master-breakinsets3/repo/src/TextMetrics.cpp:270
#23 0x00005555557ce200 in lyx::BufferView::updateMetrics (this=0x555558708570,
force=true) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/BufferView.cpp:3440
#24 0x00005555557e0e1e in lyx::BufferView::resize (this=0x555558708570,
width=672, height=389) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/BufferView.cpp:2771
#25 0x0000555555e839ec in lyx::frontend::GuiWorkArea::resizeBufferView
(this=0x5555575c1db0) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/frontends/qt/GuiWorkArea.cpp:497
#26 0x0000555555e4e25a in lyx::frontend::GuiView::setBuffer
(this=0x555556b4a070, newBuffer=0x55555759e6f0, switch_to=true)
at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/frontends/qt/GuiView.cpp:2250
#27 0x0000555555e5292c in lyx::frontend::GuiView::loadDocument
(this=0x555556b4a070, filename=..., tolastfiles=true)
at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/frontends/qt/GuiView.cpp:3045
#28 0x0000555555e53e46 in lyx::frontend::GuiView::openDocuments
(this=0x555556b4a070, fname="p3-cont-rvs-pdfs-and-cdfs.lyx", origin=0)
at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/frontends/qt/GuiView.cpp:3147
#29 0x0000555555decda4 in lyx::frontend::GuiApplication::dispatch
(this=0x55555669a6f0, cmd=..., dr=...)
at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/frontends/qt/GuiApplication.cpp:1875
#30 0x0000555555dea26b in lyx::frontend::GuiApplication::dispatch
(this=0x55555669a6f0, cmd=...) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/frontends/qt/GuiApplication.cpp:1575
#31 0x000055555593b553 in lyx::dispatch (action=...) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/LyX.cpp:1479
#32 0x000055555593b209 in lyx::LyX::execCommands (this=0x7fffffffca70) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/LyX.cpp:621
#33 0x000055555593a434 in lyx::execBatchCommands () at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/LyX.cpp:557
#34 0x0000555555df5cfd in lyx::frontend::GuiApplication::execBatchCommands
(this=0x55555669a6f0) at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/frontends/qt/GuiApplication.cpp:2871
#35 0x0000555555df96d1 in lyx::frontend::GuiApplication::qt_static_metacall
(_o=0x55555669a6f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x555556b5d918)
at
/home/scott/lyxbuilds/master-breakinsets3/CMakeBuild/src/frontends/qt/moc_GuiApplication.cpp:140
#36 0x00007ffff65ca39a in QObject::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt6Core.so.6
#37 0x0000555555df730f in lyx::frontend::GuiApplication::event
(this=0x55555669a6f0, e=0x555556b5d8d0)
at
/home/scott/lyxbuilds/master-breakinsets3/repo/src/frontends/qt/GuiApplication.cpp:3033
#38 0x00007ffff77980c8 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
signature.asc
Description: PGP signature
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
