I can't figure out a clean way to reproduce this. In the mean time, I attach the backtrace.
It happened after pasting in a bunch of \items into an already present enumerate, that alread had some uses of macros there. And I think I could only trigger it when adding new branches (i.e., from the pasted content). And there were already some other branches present. This is a weird one. (seems to be an interaction of several circumstances), so not sure if it's worth digging into, but thought I would post it just in case. This is on current master. Scott
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 0x000055555592fa1b in lyx::lyx_exit (exit_code=1) at
/home/scott/lyxbuilds/master-master/repo/src/LyX.cpp:262
#6 0x0000555556224062 in lyx::doAssertWithCallstack (value=false) at
/home/scott/lyxbuilds/master-master/repo/src/support/lassert.cpp:50
#7 0x000055555622472e in lyx::doAssert (expr=0x55555627d6a2 "false",
file=0x55555624a79c
"/home/scott/lyxbuilds/master-master/repo/src/CursorSlice.cpp", line=225)
at /home/scott/lyxbuilds/master-master/repo/src/support/lassert.cpp:59
#8 0x000055555584907a in lyx::operator< (p=..., q=...) at
/home/scott/lyxbuilds/master-master/repo/src/CursorSlice.cpp:225
#9 0x000055555574e73a in lyx::operator< (p=..., q=...) at
/home/scott/lyxbuilds/master-master/repo/src/DocIterator.h:342
#10 0x000055555577a261 in std::less<lyx::DocIterator>::operator()
(this=0x5555574f46f8, __x=..., __y=...)
at
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_function.h:405
#11 0x000055555577a4e0 in std::_Rb_tree<lyx::DocIterator,
std::pair<lyx::DocIterator const, lyx::Buffer::Impl::ScopeBuffer>,
std::_Select1st<std::pair<lyx::DocIterator const,
lyx::Buffer::Impl::ScopeBuffer> >, std::less<lyx::DocIterator>,
std::allocator<std::pair<lyx::DocIterator const,
lyx::Buffer::Impl::ScopeBuffer> > >::_M_lower_bound
(this=0x5555574f46f8, __x=0x555557e24110, __y=0x5555574f4700, __k=...) at
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_tree.h:2604
#12 0x000055555577a47e in std::_Rb_tree<lyx::DocIterator,
std::pair<lyx::DocIterator const, lyx::Buffer::Impl::ScopeBuffer>,
std::_Select1st<std::pair<lyx::DocIterator const,
lyx::Buffer::Impl::ScopeBuffer> >, std::less<lyx::DocIterator>,
std::allocator<std::pair<lyx::DocIterator const,
lyx::Buffer::Impl::ScopeBuffer> > >::lower_bound (this=0x5555574f46f8, __k=...)
at
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_tree.h:1900
#13 0x000055555577a40d in std::map<lyx::DocIterator,
lyx::Buffer::Impl::ScopeBuffer, std::less<lyx::DocIterator>,
std::allocator<std::pair<lyx::DocIterator const,
lyx::Buffer::Impl::ScopeBuffer> > >::lower_bound (this=0x5555574f46f8, __x=...)
at
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_map.h:1374
#14 0x000055555574e84b in lyx::greatest_below<std::map<lyx::DocIterator,
lyx::Buffer::Impl::ScopeBuffer, std::less<lyx::DocIterator>,
std::allocator<std::pair<lyx::DocIterator const,
lyx::Buffer::Impl::ScopeBuffer> > > const> (m=std::map with 2 elements = {...},
x=...) at /home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:3745
#15 0x0000555555739e18 in lyx::Buffer::Impl::getBufferMacro
(this=0x5555574f3af0, name=L"rvs", pos=...) at
/home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:3795
#16 0x000055555573a1a2 in lyx::Buffer::getMacro (this=0x555556879ba0,
name=L"rvs", pos=..., global=true) at
/home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:3839
#17 0x0000555555b68c89 in lyx::MacroContext::get (this=0x7fffffff9320,
name=L"rvs") at
/home/scott/lyxbuilds/master-master/repo/src/mathed/MacroTable.cpp:281
#18 0x0000555555b34613 in lyx::InsetMathMacro::updateMacro
(this=0x5555576f5020, mc=...) at
/home/scott/lyxbuilds/master-master/repo/src/mathed/InsetMathMacro.cpp:655
#19 0x0000555555b6e67e in lyx::MathData::updateMacros (this=0x5555576f3690,
cur=0x555557b60398, mc=..., utype=lyx::InternalUpdate, nesting=0)
at /home/scott/lyxbuilds/master-master/repo/src/mathed/MathData.cpp:498
#20 0x0000555555b6dbc2 in lyx::MathData::addToMathRow (this=0x5555576f3690,
mrow=..., mi=...) at
/home/scott/lyxbuilds/master-master/repo/src/mathed/MathData.cpp:258
#21 0x0000555555ba8316 in lyx::MathRow::MathRow (this=0x7fffffff8ae0, mi=...,
md=0x5555576f3690) at
/home/scott/lyxbuilds/master-master/repo/src/mathed/MathRow.cpp:158
#22 0x0000555555b6ec82 in lyx::MathData::metrics (this=0x5555576f3690, mi=...,
dim=..., tight=false) at
/home/scott/lyxbuilds/master-master/repo/src/mathed/MathData.cpp:359
#23 0x0000555555afe2bf in lyx::InsetMathGrid::metrics (this=0x555557a20a70,
mi=..., dim=...) at
/home/scott/lyxbuilds/master-master/repo/src/mathed/InsetMathGrid.cpp:381
#24 0x0000555555b17f56 in lyx::InsetMathHull::metrics (this=0x555557a20a70,
mi=..., dim=...) at
/home/scott/lyxbuilds/master-master/repo/src/mathed/InsetMathHull.cpp:571
#25 0x0000555555a1eb44 in lyx::TextMetrics::redoInset (this=0x555557bf2348,
elt=..., parPos=..., w=1781) at
/home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1118
#26 0x0000555555a1cc3c in lyx::TextMetrics::breakParagraph
(this=0x555557bf2348, bigrow=...) at
/home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1231
#27 0x0000555555a16c5c in lyx::TextMetrics::redoParagraph (this=0x555557bf2348,
pit=0, align_rows=false) at
/home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:510
#28 0x0000555555a1806b in lyx::TextMetrics::metrics (this=0x555557bf2348,
mi=..., dim=..., min_width=0) at
/home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:302
#29 0x0000555555da2472 in lyx::InsetText::metrics (this=0x555557b21980, mi=...,
dim=...) at
/home/scott/lyxbuilds/master-master/repo/src/insets/InsetText.cpp:229
#30 0x0000555555c41db4 in lyx::InsetCollapsible::metrics (this=0x555557b21980,
mi=..., dim=...) at
/home/scott/lyxbuilds/master-master/repo/src/insets/InsetCollapsible.cpp:256
#31 0x0000555555a1eb44 in lyx::TextMetrics::redoInset (this=0x555557d1f9a8,
elt=..., parPos=..., w=1850) at
/home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1118
#32 0x0000555555a1cc3c in lyx::TextMetrics::breakParagraph
(this=0x555557d1f9a8, bigrow=...) at
/home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1231
#33 0x0000555555a16c5c in lyx::TextMetrics::redoParagraph (this=0x555557d1f9a8,
pit=6, align_rows=true) at
/home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:510
#34 0x0000555555a17ddd in lyx::TextMetrics::updateMetrics (this=0x555557d1f9a8,
anchor_pit=0, anchor_ypos=59, bv_height=1009)
at /home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:261
#35 0x00005555557cb4c4 in lyx::BufferView::updateMetrics (this=0x555557b6bdd0,
force=true) at /home/scott/lyxbuilds/master-master/repo/src/BufferView.cpp:3417
#36 0x00005555557caca8 in lyx::BufferView::processUpdateFlags
(this=0x555557b6bdd0, flags=(lyx::Update::FitCursor | lyx::Update::Force))
at /home/scott/lyxbuilds/master-master/repo/src/BufferView.cpp:573
--Type <RET> for more, q to quit, c to continue without paging--
#37 0x0000555555de375f in lyx::frontend::GuiApplication::updateCurrentView
(this=0x55555668fa70, cmd=..., dr=...)
at
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:1617
#38 0x0000555555de3627 in lyx::frontend::GuiApplication::dispatch
(this=0x55555668fa70, cmd=...) at
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:1594
#39 0x00005555559372c3 in lyx::dispatch (action=...) at
/home/scott/lyxbuilds/master-master/repo/src/LyX.cpp:1479
#40 0x0000555555dea029 in lyx::frontend::GuiApplication::processFuncRequest
(this=0x55555668fa70, func=...)
at
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:2564
#41 0x0000555555debea9 in lyx::frontend::GuiApplication::processKeySym
(this=0x55555668fa70, keysym=..., state=1)
at
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:2558
#42 0x0000555555e7c945 in lyx::frontend::GuiWorkArea::processKeySym
(this=0x55555773e020, key=..., mod=1) at
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiWorkArea.cpp:419
#43 0x0000555555e8557d in lyx::frontend::GuiWorkArea::qt_static_metacall
(_o=0x55555773e020, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffffffbf20)
at
/home/scott/lyxbuilds/master-master/CMakeBuild/src/frontends/qt/moc_GuiWorkArea.cpp:191
#44 0x00007ffff65e228a in ??? () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#45 0x0000555555e7f021 in lyx::frontend::CompressorProxy::signal
(this=0x555557b5fdc0, _t1=..., _t2=1)
at
/home/scott/lyxbuilds/master-master/CMakeBuild/src/frontends/qt/moc_GuiWorkArea.cpp:450
#46 0x0000555555e7ef55 in lyx::frontend::CompressorProxy::slot
(this=0x555557b5fdc0, sym=..., mod=1, isAutoRepeat=false)
at
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiWorkArea.cpp:1034
#47 0x0000555555e85b11 in lyx::frontend::CompressorProxy::qt_static_metacall
(_o=0x555557b5fdc0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x555557ca6280)
at
/home/scott/lyxbuilds/master-master/CMakeBuild/src/frontends/qt/moc_GuiWorkArea.cpp:399
#48 0x00007ffff65ca39a in QObject::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt6Core.so.6
#49 0x00007ffff77980c8 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#50 0x0000555555df0571 in lyx::frontend::GuiApplication::notify
(this=0x55555668fa70, receiver=0x555557b5fdc0, event=0x7fffe4002280)
at
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:3045
#51 0x00007ffff65813f0 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /lib/x86_64-linux-gnu/libQt6Core.so.6
#52 0x00007ffff65817df in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#53 0x00007ffff67e92cf in ??? () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#54 0x00007ffff62f7de2 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007ffff63691f8 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007ffff62f8223 in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007ffff67e6c63 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib/x86_64-linux-gnu/libQt6Core.so.6
#58 0x00007ffff658bd5b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt6Core.so.6
#59 0x00007ffff6584f7e in QCoreApplication::exec() () at
/lib/x86_64-linux-gnu/libQt6Core.so.6
#60 0x0000555555deee13 in lyx::frontend::GuiApplication::exec
(this=0x55555668fa70) at
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:2808
#61 0x000055555593035d in lyx::LyX::exec (this=0x7fffffffcad0,
argc=@0x7fffffffcae8: 2, argv=0x7fffffffcc18) at
/home/scott/lyxbuilds/master-master/repo/src/LyX.cpp:376
#62 0x0000555555abcc63 in main (argc=2, argv=0x7fffffffcc18) at
/home/scott/lyxbuilds/master-master/repo/src/main.cpp:55
(gdb)
signature.asc
Description: PGP signature
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
