Open the attached file. Make sure the cursor is at the start. Now do: Navigate> Next Note. Boom! The key seems to be that there is a note in a branch, which is inside a closed footnote. If the footnote is open, the crash does not occur. (The branch itself is open inside the closed footnote. Not sure if that matters.) I take it the problem is that the metrics for the inset where the note is haven't been calculated, so it's not in the dimension cache.

Backtrace:

4  lyx::lyx_exit                                LyX.cpp   262  0x62b159
5  lyx::doAssertWithCallstack                   lassert.cpp 50   0xe31ca3
6  lyx::doBufErr                                lassert.cpp 98   0xe32310
7  lyx::lyxbreaker                              CoordCache.cpp  25   0x54fe14
8  lyx::CoordCacheBase<lyx::Inset>::dim  CoordCache.h       124  0x56703c
9  lyx::Inset::dimension                        Inset.cpp 626  0x8b88f4
10 lyx::BufferView::coordOffset                 BufferView.cpp  3555 0x50a499 11 lyx::BufferView::scrollToCursor              BufferView.cpp  1124 0x4fb6a9 12 lyx::(anonymous namespace)::gotoInset        BufferView.cpp  203  0x4f8113 13 lyx::BufferView::dispatch                    BufferView.cpp  1815 0x4ffe96
14 lyx::frontend::GuiView::dispatchToBufferView GuiView.cpp 4567 0xac4c0d
15 lyx::frontend::GuiView::dispatch             GuiView.cpp 5402 0xaca3e8
16 lyx::frontend::GuiApplication::dispatch      GuiApplication.cpp 2278 0xa5aa76 17 lyx::frontend::GuiApplication::dispatch      GuiApplication.cpp 1572 0xa56752
18 lyx::dispatch                                LyX.cpp 1479 0x6337ab

Riki

Attachment: Test.lyx
Description: application/lyx

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

Reply via email to