Re: Lyx 2.4.0 RC3 SVN Crash MAC OSX.

2024-04-19 Thread Pavel Sanda
Stephan,

were you able to reproduce that crash at the end?

Pavel

On Tue, Feb 20, 2024 at 10:45:58AM +1100, Robert Betz wrote:
> Stephan,
> 
> I have attached a Lyx file and associated template and layout files. This is
> a much smaller example. After experimenting, it seems to fail sometimes, and
> not others. One can make a seeminglyinnocuous change and it will ether fail
> consistently on SVN update, or it will work consistently.
> 
> Hope these files help track done the issue.
> 
> Thanks.
> -- 
> 
> 
> Regards,
> 
> Bob
> 
> Robert Betz
> E: robertbe...@gmail.com
> M: 0419249948
> 
> 
> Stephan Witt wrote on 19/2/2024 5:36???pm:
> >Am 19.02.2024 um 05:17 schrieb Robert Betz :
> >>I am currently using Lyx 2.4.0 RC3 on MAC OSX V14.2.1 (Sonoma) and if I try 
> >>and check in a Lyx document to an SVN repository Lyx crashes. Using the 
> >>same SVN version under Lyx V2.3.7 is OK.
> >>
> >>The Lyx crash log is:
> >>
> >>(  1) 1   lyx 0x0001028e85c3 
> >>_ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
> >> : 1   lyx 0x0001028e85c3 
> >>_ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
> >> + 199
> >>(  2) 2   lyx 0x0001028e893c 
> >>_ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
> >> : 2   lyx 0x0001028e893c 
> >>_ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
> >> + 139
> >>(  3) 3   lyx 0x0001025edeff 
> >>_ZN3lyxL13error_handlerEi : 3   lyx 
> >>0x0001025edeff _ZN3lyxL13error_handlerEi + 350
> >>(  4) 4   libsystem_platform.dylib0x7ff8065d237d _sigtramp 
> >>: 4   libsystem_platform.dylib0x7ff8065d237d _sigtramp + 29
> >>(  5) 5   ??? 0x7ff7bda4486e 0x0 : 5   
> >>??? 0x7ff7bda4486e 0x0 + 140702015309934
> >>(  6) 6   lyx 0x000102717774 
> >>_ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii : 6   lyx 
> >>0x000102717774 
> >>_ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii + 168
> >>...
> >>
> >>Regards,
> >>
> >>Bob
> >Hi Bob,
> >
> >thank you for testing the RC3 version.
> >
> >I tried to reproduce the crash but I failed. I suppose it happens for some 
> >documents only, i.e. for documents containing some MathGrid element.
> >
> >Is the crash reproducible for you or is it spurious? Is it possible to 
> >provide a MWE document?
> >
> >BR, Stephan
> 

> #% Do not delete the line below; configure depends on this
> #  
> \DeclareLaTeXClass[article,float.sty,pifont.sty,rcs.sty,svn-multi.sty]{article
>  (My article)}
> # Article textclass definition file. Taken from initial LyX source code
> # Author : Matthias Ettrich 
> # Transposed by Pascal André 
> # Heavily modifed and enhanced by serveral developers.
> 
> Format 35
> Input stdclass.inc
> 
> SecNumDepth 3
> TocDepth3
> 
> NoStyle Chapter
> NoStyle Chapter*
> 
> Preamble
> \usepackage{float}
> \usepackage{afterpage}
> \usepackage{calc}
> \usepackage{pifont}
> \usepackage{rcs}
> \usepackage{svn-multi}
> \newcommand\longpage[1][1]{\enlargethispage{#1\baselineskip}}
> \newcommand\shortpage[1][1]{\enlargethispage{-#1\baselineskip}}
> \newcommand{\rmed}{\hspace*{\fill}\ding{'251}}
> \newcommand{\rme}{\hspace*{\fill}\ding{'156}}
> EndPreamble
> 
> #Style MyQuote
> #MarginStatic
> #LatexType Environment
> #LatexName myquote
> #NextNoIndent  1
> #LeftMarginMMM
> #RightMargin   MMM
> #TopSep0.5
> #ParSep0.5
> #BottomSep 0.5
> #Align Block
> #AlignPossible Block, Left, Right, Center
> #LabelType Manual
> #LatexParam1
> #OptionalArgs  1
> #LabelSep  x
> #LabelFont
> #  Shape   Up
> #  Series  Bold
> #EndFont
> ##define the environment 
> #Preamble
> #\newenvironment{myquote}[1]{\begin{quote}\textbf{#1 }}{\end{quote}}
> #EndPreamble
> #End
> 
> 
> 
> Style Part
> Align Left
> AlignPossible Left
> TopSep2
> BottomSep 1.5
> Font
>   SizeLarger
> EndFont
> End
> 
> 
> Style Part*
> Align Left
> AlignPossible Left
> TopSep2
> BottomSep 1.5
> Font
>   SizeLarger
> EndFont
> End
> 
> # Theorem-numbered style *Template* 

Re: Lyx 2.4.0 RC3 SVN Crash MAC OSX.

2024-02-19 Thread Robert Betz

Stephan,

I have attached a Lyx file and associated template and layout files. 
This is a much smaller example. After experimenting, it seems to fail 
sometimes, and not others. One can make a seeminglyinnocuous change and 
it will ether fail consistently on SVN update, or it will work consistently.


Hope these files help track done the issue.

Thanks.
--


Regards,

Bob

Robert Betz
E: robertbe...@gmail.com
M: 0419249948


Stephan Witt wrote on 19/2/2024 5:36 pm:

Am 19.02.2024 um 05:17 schrieb Robert Betz :

I am currently using Lyx 2.4.0 RC3 on MAC OSX V14.2.1 (Sonoma) and if I try and 
check in a Lyx document to an SVN repository Lyx crashes. Using the same SVN 
version under Lyx V2.3.7 is OK.

The Lyx crash log is:

(  1) 1   lyx 0x0001028e85c3 
_ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
 : 1   lyx 0x0001028e85c3 
_ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
 + 199
(  2) 2   lyx 0x0001028e893c 
_ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
 : 2   lyx 0x0001028e893c 
_ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
 + 139
(  3) 3   lyx 0x0001025edeff 
_ZN3lyxL13error_handlerEi : 3   lyx 
0x0001025edeff _ZN3lyxL13error_handlerEi + 350
(  4) 4   libsystem_platform.dylib0x7ff8065d237d _sigtramp : 4  
 libsystem_platform.dylib0x7ff8065d237d _sigtramp + 29
(  5) 5   ??? 0x7ff7bda4486e 0x0 : 5   ???  
   0x7ff7bda4486e 0x0 + 140702015309934
(  6) 6   lyx 0x000102717774 
_ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii : 6   lyx 
0x000102717774 
_ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii + 168
...

Regards,

Bob

Hi Bob,

thank you for testing the RC3 version.

I tried to reproduce the crash but I failed. I suppose it happens for some 
documents only, i.e. for documents containing some MathGrid element.

Is the crash reproducible for you or is it spurious? Is it possible to provide 
a MWE document?

BR, Stephan


#% Do not delete the line below; configure depends on this
#  
\DeclareLaTeXClass[article,float.sty,pifont.sty,rcs.sty,svn-multi.sty]{article 
(My article)}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich 
# Transposed by Pascal André 
# Heavily modifed and enhanced by serveral developers.

Format 35
Input stdclass.inc

SecNumDepth 3
TocDepth3

NoStyle Chapter
NoStyle Chapter*

Preamble
\usepackage{float}
\usepackage{afterpage}
\usepackage{calc}
\usepackage{pifont}
\usepackage{rcs}
\usepackage{svn-multi}
\newcommand\longpage[1][1]{\enlargethispage{#1\baselineskip}}
\newcommand\shortpage[1][1]{\enlargethispage{-#1\baselineskip}}
\newcommand{\rmed}{\hspace*{\fill}\ding{'251}}
\newcommand{\rme}{\hspace*{\fill}\ding{'156}}
EndPreamble

#Style MyQuote
#MarginStatic
#LatexType Environment
#LatexName myquote
#NextNoIndent  1
#LeftMarginMMM
#RightMargin   MMM
#TopSep0.5
#ParSep0.5
#BottomSep 0.5
#Align Block
#AlignPossible Block, Left, Right, Center
#LabelType Manual
#LatexParam1
#OptionalArgs  1
#LabelSep  x
#LabelFont
#  Shape   Up
#  Series  Bold
#EndFont
##define the environment 
#Preamble
#\newenvironment{myquote}[1]{\begin{quote}\textbf{#1 }}{\end{quote}}
#EndPreamble
#End



Style Part
Align Left
AlignPossible Left
TopSep2
BottomSep 1.5
Font
  SizeLarger
EndFont
End


Style Part*
Align Left
AlignPossible Left
TopSep2
BottomSep 1.5
Font
  SizeLarger
EndFont
End

# Theorem-numbered style *Template* declaration
Style TheoremTemplate
MarginFirst_Dynamic
LatexType Environment
LabelSep  M
ParIndent MM
TopSep0.5
BottomSep 0.5
ParSep0
Align Block
AlignPossible Block, Left
LabelType Static
Font
  Shape   Italic
  Series  Medium
  SizeNormal
EndFont
LabelFont
  

Re: Lyx 2.4.0 RC3 SVN Crash MAC OSX.

2024-02-18 Thread Stephan Witt
Am 19.02.2024 um 05:17 schrieb Robert Betz :
> 
> I am currently using Lyx 2.4.0 RC3 on MAC OSX V14.2.1 (Sonoma) and if I try 
> and check in a Lyx document to an SVN repository Lyx crashes. Using the same 
> SVN version under Lyx V2.3.7 is OK.
> 
> The Lyx crash log is:
> 
> (  1) 1   lyx 0x0001028e85c3 
> _ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
>  : 1   lyx 0x0001028e85c3 
> _ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
>  + 199
> (  2) 2   lyx 0x0001028e893c 
> _ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
>  : 2   lyx 0x0001028e893c 
> _ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
>  + 139
> (  3) 3   lyx 0x0001025edeff 
> _ZN3lyxL13error_handlerEi : 3   lyx 
> 0x0001025edeff _ZN3lyxL13error_handlerEi + 350
> (  4) 4   libsystem_platform.dylib0x7ff8065d237d _sigtramp : 
> 4   libsystem_platform.dylib0x7ff8065d237d _sigtramp + 29
> (  5) 5   ??? 0x7ff7bda4486e 0x0 : 5   
> ??? 0x7ff7bda4486e 0x0 + 140702015309934
> (  6) 6   lyx 0x000102717774 
> _ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii : 6   lyx   
>   0x000102717774 
> _ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii + 168
> ...
> 
> Regards,
> 
> Bob

Hi Bob,

thank you for testing the RC3 version.

I tried to reproduce the crash but I failed. I suppose it happens for some 
documents only, i.e. for documents containing some MathGrid element.

Is the crash reproducible for you or is it spurious? Is it possible to provide 
a MWE document?

BR, Stephan
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Lyx 2.4.0 RC3 SVN Crash MAC OSX.

2024-02-18 Thread Robert Betz
I am currently using Lyx 2.4.0 RC3 on MAC OSX V14.2.1 (Sonoma) and if I 
try and check in a Lyx document to an SVN repository Lyx crashes. Using 
the same SVN version under Lyx V2.3.7 is OK.


The Lyx crash log is:

( 1) 1 lyx 0x0001028e85c3 
_ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b 
: 1 lyx 0x0001028e85c3 
_ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b 
+ 199


( 2) 2 lyx 0x0001028e893c 
_ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b 
: 2 lyx 0x0001028e893c 
_ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b 
+ 139


( 3) 3 lyx 0x0001025edeff _ZN3lyxL13error_handlerEi : 3 lyx 
0x0001025edeff _ZN3lyxL13error_handlerEi + 350


( 4) 4 libsystem_platform.dylib 0x7ff8065d237d _sigtramp : 4 
libsystem_platform.dylib 0x7ff8065d237d _sigtramp + 29


( 5) 5 ??? 0x7ff7bda4486e 0x0 : 5 ??? 0x7ff7bda4486e 0x0 + 
140702015309934


( 6) 6 lyx 0x000102717774 
_ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii : 6 lyx 
0x000102717774 _ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii + 168


( 7) 7 lyx 0x000102723ebb 
_ZNK3lyx13InsetMathHull4drawERNS_11PainterInfoEii : 7 lyx 
0x000102723ebb _ZNK3lyx13InsetMathHull4drawERNS_11PainterInfoEii + 1477


( 8) 8 lyx 0x000102675e54 
_ZNK3lyx10RowPainter10paintInsetERKNS_3Row7ElementE : 8 lyx 
0x000102675e54 _ZNK3lyx10RowPainter10paintInsetERKNS_3Row7ElementE + 672


( 9) 9 lyx 0x0001026778b6 _ZN3lyx10RowPainter9paintTextEv : 9 lyx 
0x0001026778b6 _ZN3lyx10RowPainter9paintTextEv + 154


( 10) 10 lyx 0x0001026c4386 
_ZNK3lyx11TextMetrics13drawParagraphERNS_11PainterInfoElii : 10 lyx 
0x0001026c4386 
_ZNK3lyx11TextMetrics13drawParagraphERNS_11PainterInfoElii + 2254


( 11) 11 lyx 0x0001026c8e5c 
_ZNK3lyx11TextMetrics4drawERNS_11PainterInfoEii : 11 lyx 
0x0001026c8e5c _ZNK3lyx11TextMetrics4drawERNS_11PainterInfoEii + 110


( 12) 12 lyx 0x000102544855 
_ZN3lyx10BufferView4drawERNS_8frontend7PainterEb : 12 lyx 
0x000102544855 _ZN3lyx10BufferView4drawERNS_8frontend7PainterEb + 711


( 13) 13 lyx 0x000102aabad6 
_ZN3lyx8frontend11GuiWorkArea10paintEventEP11QPaintEvent : 13 lyx 
0x000102aabad6 
_ZN3lyx8frontend11GuiWorkArea10paintEventEP11QPaintEvent + 448


( 14) 14 QtWidgets 0x00010489f275 _ZN7QWidget5eventEP6QEvent : 14 
QtWidgets 0x00010489f275 _ZN7QWidget5eventEP6QEvent + 1093


( 15) 15 QtWidgets 0x00010494704b _ZN6QFrame5eventEP6QEvent : 15 
QtWidgets 0x00010494704b _ZN6QFrame5eventEP6QEvent + 43


( 16) 16 QtCore 0x000104410e48 
_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent 
: 16 QtCore 0x000104410e48 
_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent 
+ 248


( 17) 17 QtWidgets 0x000104865c61 
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent : 17 QtWidgets 
0x000104865c61 
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 241


( 18) 18 QtWidgets 0x000104867022 
_ZN12QApplication6notifyEP7QObjectP6QEvent : 18 QtWidgets 
0x000104867022 _ZN12QApplication6notifyEP7QObjectP6QEvent + 466


( 19) 19 lyx 0x0001028f9883 
_ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent : 19 lyx 
0x0001028f9883 
_ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent + 21


( 20) 20 QtCore 0x000104410b76 
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent : 20 QtCore 
0x000104410b76 
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 166


( 21) 21 QtWidgets 0x000104890f0a 
_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager 
: 21 QtWidgets 0x000104890f0a 
_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager 
+ 3610


( 22) 22 QtWidgets 0x0001048730ab 
_ZN14QWidgetPrivate10scrollRectERK5QRectii : 22 QtWidgets 
0x0001048730ab _ZN14QWidgetPrivate10scrollRectERK5QRectii + 9019


( 23) 23 QtWidgets 0x000104873522 
_ZN14QWidgetPrivate10scrollRectERK5QRectii : 23 QtWidgets 
0x000104873522 _ZN14QWidgetPrivate10scrollRectERK5QRectii + 10162


( 24) 24 QtWidgets 0x00010489f49e _ZN7QWidget5eventEP6QEvent : 24 
QtWidgets 0x00010489f49e _ZN7QWidget5eventEP6QEvent + 1646


( 25) 25 QtWidgets 0x0001049b1274 _ZN11QMainWindow5eventEP6QEvent : 
25 QtWidgets 0x0001049b1274 _ZN11QMainWindow5eventEP6QEvent + 276


( 26) 26 QtWidgets 0x000104865c76 
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent : 26 QtWidgets 
0x000104865c76 
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 262


( 27) 27 QtWidgets 0x000104867022 
_ZN12QApplication6notifyEP7QObjectP6QEvent : 27 QtWidgets 
0x000104867022