Hi,

I have difficult time to produce reliable recipy, but I get consistent crashes 
when
using undo in tables. Hopefully I narrow it down sooner or later, but the
scenario is along the following lines:

0. Load the attached file.
1. "Some" random editing (also involing undo),
   this step is the "dificult" part of reproducibility,
   but I was capable to couple crashes within few minutes...
2. Go to the most right-top cell and choose via context
   menu and choose Column/Rows->Append row
3. Undo
4. Kaboom

Backtrace:
Thread 1 "lyx" received signal SIGSEGV, Segmentation fault.
lyx::CursorSlice::paragraph (this=<optimized out>) at CursorSlice.cpp:59
59              return text()->getPar(pit_);
(gdb) bt
#0  lyx::CursorSlice::paragraph (this=<optimized out>) at CursorSlice.cpp:59
#1  0x0000555555775214 in lyx::DocIterator::paragraph 
(this=this@entry=0x555556e79310) at DocIterator.cpp:204
#2  0x00005555557752e0 in lyx::DocIterator::lastpos 
(this=this@entry=0x555556e79310) at DocIterator.cpp:270
#3  0x000055555575c23e in lyx::CursorData::checkNewWordPosition 
(this=0x555556e791f8) at Cursor.cpp:469
#4  0x000055555575c47c in lyx::CursorData::textUndo 
(this=this@entry=0x555556e791f8) at Cursor.cpp:549
#5  0x00005555558f705b in lyx::BufferView::dispatch 
(this=this@entry=0x555556e78cd0, cmd=..., dr=...) at BufferView.cpp:1390
#6  0x0000555555b5e9f2 in lyx::frontend::GuiView::dispatchToBufferView 
(this=0x555556a07500, cmd=..., dr=...) at GuiView.cpp:3592
#7  0x0000555555b72966 in lyx::frontend::GuiView::dispatch 
(this=0x555556a07500, cmd=..., dr=...) at GuiView.cpp:4255
#8  0x0000555555b3b804 in lyx::frontend::GuiApplication::dispatch 
(this=0x5555566af5f0, cmd=..., dr=...) at GuiApplication.cpp:2061
#9  0x0000555555b34b54 in lyx::frontend::GuiApplication::dispatch 
(this=0x5555566af5f0, cmd=...) at GuiApplication.cpp:1402
#10 0x0000555555b350b3 in lyx::frontend::GuiApplication::processKeySym 
(this=0x5555566af5f0, keysym=..., state=<optimized out>) at 
GuiApplication.cpp:2254
#11 0x0000555555b8547f in lyx::frontend::GuiWorkArea::processKeySym 
(this=<optimized out>, key=..., mod=<optimized out>) at GuiWorkArea.cpp:516
#12 0x0000555555b8866f in lyx::frontend::GuiWorkArea::qt_static_metacall 
(_o=0x555556b03850, _c=<optimized out>, _id=<optimized out>, _a=<optimized 
out>) at moc_GuiWorkArea.cpp:124
#13 0x00007ffff67cc5e9 in QMetaObject::activate(QObject*, int, int, void**) () 
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x0000555555b84663 in lyx::frontend::CompressorProxy::signal 
(this=this@entry=0x555556e78740, _t1=..., _t2=<optimized out>, 
_t2@entry=lyx::ControlModifier) at moc_GuiWorkArea.cpp:362
#15 0x0000555555b87f71 in lyx::frontend::CompressorProxy::slot 
(this=0x555556e78740, sym=..., mod=lyx::ControlModifier, 
isAutoRepeat=<optimized out>) at GuiWorkArea.cpp:1064
#16 0x0000555555b887d6 in lyx::frontend::CompressorProxy::qt_static_metacall 
(_o=0x555556e78740, _c=<optimized out>, _id=<optimized out>, _a=<optimized 
out>) at moc_GuiWorkArea.cpp:306

Pavel
#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "lmodern" "default"
\font_sans "lmss" "default"
\font_typewriter "lmtt" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
<features tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
d
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
asdasd
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
asdasd
\end_layout

\end_inset
</cell>
<cell multirow="3" alignment="center" valignment="middle" topline="true" 
bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
ASAS
\end_layout

\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
a
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
asdasd
\end_layout

\end_inset
</cell>
<cell multirow="3" alignment="center" valignment="middle" topline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
asda sdf sd fsdf sd fsd sdasd
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
asdasd
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
ad
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
asda
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
asd
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset
</cell>
</row>
</lyxtabular>

\end_inset


\end_layout

\end_body
\end_document

Reply via email to