Steps to reproduce as follows.

Make sure that the "Code Preview Pane" is closed and then:
1) open the attached document
2) open the "Code Preview Pane"
3) close the "Code Preview Pane"
4) close the document (not lyx)
5) go to 1)

It will crash at step 2) on the second iteration.
Does not occur on 2.2.x.

-- 
Enrico
#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard
a
\end_layout

\end_body
\end_document

Reply via email to