Assertion with lyx-2.4.0~devel

Jean-Pierre Chrétien jeanpierre.chretien at free.fr
Fri Mar 1 08:32:53 UTC 2024


Dear developers

I had again an assertion with the attached log (seems to be the same that 
happened with the macro pasting).

That time I lost all the work that I had done before my previous save of the 
file, the .lyx~ file contains less matter than the .lyx file. There is no 
emergency file corresponding to the one I was working on, but there is one of a 
test file that I had opened to check the class I was working on.

My current version of lyx-2.4.0~devel does not include the recent patch from 
Jean-Marc, that I only tested with the src/lyx file in my build dir. Jean-Marc, 
do you think that your patch cured this ?

I will install this last version now and proceed with editing. I'll keep you 
posted if it happens again.

The assertion happened when I was doing routine edition of the Additional 
manual, in the A&A article subsubsection. The assertion only closed the French 
Additional.lyx file on which I was working, not the original English version 
with CT which remained open. Of course, I may have attempted to insert a math 
macro by mistake, but this mistake would need an opening of the Math menu, which 
is not very liable in the context of my editions.

-- 
Jean-Pierre

-------------- next part --------------
CoordCache.cpp (25): break on pointer: 0x5618c219daf0 hint: dim size: 10
(  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) [0x5618bea97eaf]
( 17) /lib/x86_64-linux-gnu/libQt5Core.so.5: /lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2e8f7c) [0x7f17efce8f7c]
( 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) [0x7f17f0ae3b62]
( 21) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2eb994) [0x7f17f0aeb994]
( 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) [0x7f17f09be025]
( 29) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1c0f60) [0x7f17f09c0f60]
( 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) [0x7f17ec2fbeca]
( 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) [0x7f17ef51c7a9]
( 37) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x54a38) [0x7f17ef51ca38]
( 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) [0x7f17ef51cacc]
( 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) [0x5618be4f555e]
( 45) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f17ef84624a]
( 46) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f17ef846305]
( 47) lyx-2.4.0~devel: lyx-2.4.0~devel(_start+0x21) [0x5618be4f5451]
Assertion triggered in void lyx::doAssertWithCallstack(bool) by failing check "false" in file ../../../master/src/support/lassert.cpp:45
 /home/jp/nouveau5.lyx.emergency
Abandon (core dumped)


More information about the lyx-devel mailing list