Re: Crash in mathed with aligned in align

2019-07-26 Thread Andrew Parsloe

On 26/07/2019 8:41 PM, Richard Kimberly Heck wrote:

On 7/26/19 12:46 AM, Daniel wrote:

On 2019-07-25 23:40, Andrew Parsloe wrote:

I can create a crash by trying to delete the final column in the
following construction:


\begin{align*}

\begin{aligned}\end{aligned}

\\

\end{align*}


To create:


1. Ctrl+Shift+M to create a display math equation.

2. Ctrl+Return to create an align* environment

3. Insert > Math > Aligned Environment in the first (top left) cell

4 Move cursor to the top right cell

5. Try to delete this column

6. Crash. LyX reports " LyX Code: 89 name: mathsplit"


If the aligned environment is placed in the second (top right) cell,
trying to delete the first column causes the crash. Deleting the
column containing the aligned environment does not crash LyX.


There's no data loss. LyX manages to create an emergency file.


Andrew


I can reproduce. It doesn't crash LyX but only the active document.
The deletion of the column seems to be the culprit because it is
possible to delete the other row and also to delete the other column
(and row) first and then insert the Aligned.

Someone please file a bug, component mathed.

Riki


Ticket #11623.

Andrew



Re: Crash in mathed with aligned in align

2019-07-26 Thread Richard Kimberly Heck
On 7/26/19 12:46 AM, Daniel wrote:
> On 2019-07-25 23:40, Andrew Parsloe wrote:
>> I can create a crash by trying to delete the final column in the
>> following construction:
>>
>>
>> \begin{align*}
>>
>> \begin{aligned}\end{aligned}
>>
>> \\
>>
>> \end{align*}
>>
>>
>> To create:
>>
>>
>> 1. Ctrl+Shift+M to create a display math equation.
>>
>> 2. Ctrl+Return to create an align* environment
>>
>> 3. Insert > Math > Aligned Environment in the first (top left) cell
>>
>> 4 Move cursor to the top right cell
>>
>> 5. Try to delete this column
>>
>> 6. Crash. LyX reports " LyX Code: 89 name: mathsplit"
>>
>>
>> If the aligned environment is placed in the second (top right) cell,
>> trying to delete the first column causes the crash. Deleting the
>> column containing the aligned environment does not crash LyX.
>>
>>
>> There's no data loss. LyX manages to create an emergency file.
>>
>>
>> Andrew
>>
>
> I can reproduce. It doesn't crash LyX but only the active document.
> The deletion of the column seems to be the culprit because it is
> possible to delete the other row and also to delete the other column
> (and row) first and then insert the Aligned.

Someone please file a bug, component mathed.

Riki




Re: Crash in mathed with aligned in align

2019-07-25 Thread Daniel

On 2019-07-25 23:40, Andrew Parsloe wrote:
I can create a crash by trying to delete the final column in the 
following construction:



\begin{align*}

\begin{aligned}\end{aligned}

\\

\end{align*}


To create:


1. Ctrl+Shift+M to create a display math equation.

2. Ctrl+Return to create an align* environment

3. Insert > Math > Aligned Environment in the first (top left) cell

4 Move cursor to the top right cell

5. Try to delete this column

6. Crash. LyX reports " LyX Code: 89 name: mathsplit"


If the aligned environment is placed in the second (top right) cell, 
trying to delete the first column causes the crash. Deleting the column 
containing the aligned environment does not crash LyX.



There's no data loss. LyX manages to create an emergency file.


Andrew



I can reproduce. It doesn't crash LyX but only the active document. The 
deletion of the column seems to be the culprit because it is possible to 
delete the other row and also to delete the other column (and row) first 
and then insert the Aligned.


Daniel



Crash in mathed with aligned in align

2019-07-25 Thread Andrew Parsloe
I can create a crash by trying to delete the final column in the 
following construction:



\begin{align*}

\begin{aligned}\end{aligned}

\\

\end{align*}


To create:


1. Ctrl+Shift+M to create a display math equation.

2. Ctrl+Return to create an align* environment

3. Insert > Math > Aligned Environment in the first (top left) cell

4 Move cursor to the top right cell

5. Try to delete this column

6. Crash. LyX reports " LyX Code: 89 name: mathsplit"


If the aligned environment is placed in the second (top right) cell, 
trying to delete the first column causes the crash. Deleting the column 
containing the aligned environment does not crash LyX.



There's no data loss. LyX manages to create an emergency file.


Andrew