Can't create a macro with 2.4.0~devel

Jean-Pierre Chrétien jeanpierre.chretien at free.fr
Mon Feb 26 08:31:22 UTC 2024


Dera developers

While updating the French Math manuel, I can't inset the math macro required in 
section 22.3.

LyX crashes with this trace in the command shell:

CoordCache.cpp (25): break on pointer: 0x55cb032bfee0 hint: dim size: 157
(  1) lyx-2.4.0~devel: lyx::doAssertWithCallstack(bool)
(  2) lyx-2.4.0~devel: lyx::doBufErr(char const*, char const*, long)
(  3) lyx-2.4.0~devel: lyx::lyxbreaker(void const*, char const*, int)
(  4) lyx-2.4.0~devel: lyx::Inset::dimension(lyx::BufferView const&) const
(  5) lyx-2.4.0~devel: lyx::BufferView::coordOffset(lyx::DocIterator const&) const
(  6) lyx-2.4.0~devel: lyx::BufferView::getPos(lyx::DocIterator const&) const
(  7) lyx-2.4.0~devel: lyx::BufferView::checkCursorScrollOffset()
(  8) lyx-2.4.0~devel: lyx::BufferView::draw(lyx::frontend::Painter&, bool)
(  9) lyx-2.4.0~devel: lyx::BufferView::updatePosCache()
( 10) lyx-2.4.0~devel: lyx::BufferView::updateMetrics(lyx::Update::flags&)
( 11) lyx-2.4.0~devel: lyx::BufferView::processUpdateFlags(lyx::Update::flags)
( 12) lyx-2.4.0~devel: 
lyx::frontend::GuiApplication::updateCurrentView(lyx::FuncRequest const&, 
lyx::DispatchResult&)
( 13) lyx-2.4.0~devel: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest 
const&)
( 14) lyx-2.4.0~devel: lyx::dispatch(lyx::FuncRequest const&)
( 15) lyx-2.4.0~devel: lyx::frontend::Action::action()
( 16) lyx-2.4.0~devel: lyx-2.4.0~devel(+0x884eaf) [0x55caff028eaf]
( 17) /lib/x86_64-linux-gnu/libQt5Core.so.5: 
/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2e8f7c) [0x7fb0feee8f7c]
( 18) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QAction::triggered(bool)
( 19) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: 
QAction::activate(QAction::ActionEvent)
( 20) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: 
/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e3b62) [0x7fb0ffce3b62]
( 21) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: 
/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2eb994) [0x7fb0ffceb994]
( 22) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QWidget::event(QEvent*)
( 23) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: 
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 24) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QApplication::notify(QObject*, 
QEvent*)
( 25) lyx-2.4.0~devel: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 26) /lib/x86_64-linux-gnu/libQt5Core.so.5: 
QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 27) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: 
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, 
QWidget**, QPointer<QWidget>&, bool, bool)
( 28) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: 
/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1be025) [0x7fb0ffbbe025]
( 29) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: 
/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1c0f60) [0x7fb0ffbc0f60]
( 30) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: 
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 31) lyx-2.4.0~devel: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 32) /lib/x86_64-linux-gnu/libQt5Core.so.5: 
QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 33) /lib/x86_64-linux-gnu/libQt5Gui.so.5: 
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
( 34) /lib/x86_64-linux-gnu/libQt5Gui.so.5: 
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 35) /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: 
/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x6deca) [0x7fb0fb4fbeca]
( 36) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x299) 
[0x7fb0fe71c7a9]
( 37) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x54a38) [0x7fb0fe71ca38]
( 38) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) 
[0x7fb0fe71cacc]
( 39) /lib/x86_64-linux-gnu/libQt5Core.so.5: 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 40) /lib/x86_64-linux-gnu/libQt5Core.so.5: 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
( 41) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplication::exec()
( 42) lyx-2.4.0~devel: lyx::frontend::GuiApplication::exec()
( 43) lyx-2.4.0~devel: lyx::LyX::exec(int&, char**)
( 44) lyx-2.4.0~devel: lyx-2.4.0~devel(main+0x45) [0x55cafea8655e]
( 45) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) 
[0x7fb0fea4624a]
( 46) /lib/x86_64-linux-gnu/libc.so.6: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fb0fea46305]
( 47) lyx-2.4.0~devel: lyx-2.4.0~devel(_start+0x21) [0x55cafea86451]
Assertion triggered in void lyx::doAssertWithCallstack(bool) by failing check 
"false" in file ../../../master/src/support/lassert.cpp:45
Buffer.cpp (1657):   /ext/lyx/master/lib/doc/fr/Math.lyx.emergency
Abandon (core dumped)

-- 
Jean-Pierre



More information about the lyx-devel mailing list