Attached is a small sample file that causes a segmentation fault in current 
cvs.

Angus


(dbx) r ../eqns.lyx
MenuItem(): LyX command `lof-insert' does not exist.
MenuItem(): LyX command `lot-insert' does not exist.
MenuItem(): LyX command `loa-insert' does not exist.
reading: text 'newcommand'
reading: text 'left'
reading: text 'right'
LM_TK_NEWCOMMAND: name: rfourvec na: 4
reading math environment 1 equation*
reading: text 'rfourvec'
reading cell 0 '10 76 10 3 0 35 28 64 1 0 0 0 3
'
reading cell 1 '10 76 10 3 0 37 28 64 1 0 0 0 3
'
reading cell 2 '10 76 10 3 128 38 28 64 1 0 0 0 3
'
reading cell 3 '10 76 10 3 0 40 28 64 1 0 0 0 3
signal Segmentation fault at >*[Metrics__10MathXArrayX10MathStyles, 
0x1202f1f0c]        ldq     r27, 48(r2)
(dbx) where
>  0 Metrics__10MathXArrayX10MathStyles(0x100000009, 0x100000000, 
0x10000000b, 0x1401b3c40, 0x1202d18b8) [0x1202f1f0c]
   1 Metrics__14MathDelimInsetX10MathStyles(0x1202d18b8, 0x100000006, 
0x1202f1f14, 0x140182020, 0x100000001) [0x1202ea094]
   2 Metrics__10MathXArrayX10MathStyles(0x1, 0x10000000a, 0x4, 0x1401ae2a0, 
0x1401ae2aa) [0x1202f1f10]
   3 Metrics__9MathMacroX10MathStyles(0x1, 0x1401b5e68, 0x1401b5e64, 
0x140181fc0, 0x100000000) [0x1202f5054]
   4 Metrics__10MathXArrayX10MathStyles(0x0, 0x0, 0x0, 0x14010df10, 
0x200000004) [0x1202f1f10]
   5 Metrics__9MathInsetX10MathStyles(0x1202e7a78, 0x1401b7700, 0x0, 
0x1401b7758, 0x0) [0x1202df1a4]
   6 Metrics__13MathGridInsetX10MathStyles(0x1202a710c, 0x14014ecb0, 
0x1401aad30, 0x14014ecb0, 0x1400a3120) [0x1202e7a74]
   7 Metrics__15MathMatrixInsetX10MathStyles(0x0, 0x140037030, 0x0, 
0x140171ca0, 0x0) [0x1202ec71c]
   8 width__C12InsetFormulaXP10BufferViewRC7LyXFont(0x0, 0x140171ca0, 0x0, 
0x0,
0x1202a4190) [0x1202d89d4]
   9 singleWidth__C7LyXTextXP10BufferViewP9Paragraphlc(0x0, 0x14010df10, 
0x140181200, 0x14014ecb0, 0x1202a7e6c) [0x1202a418c]
  10 fill__C7LyXTextXP10BufferViewP3Rowi(0x140181200, 0x14014ecb0, 
0x1401c2980,
0x140000029b, 0x0) [0x1202a7e8c]
  11 appendParagraph__C7LyXTextXP10BufferViewP3Row(0x14014ecb0, 0x140171900, 
0x0, 0x0, 0x1400a3268) [0x1202aa234]
  12 insertParagraph__C7LyXTextXP10BufferViewP9ParagraphP3Row(0x1202b63e4, 
0x140181200, 0x1401812e0, 0x1401b33a0, 0x1401b33a0) [0x1202b788c]
  13 init__7LyXTextXv(0x0, 0x400000000, 0x0, 0x0, 0x0) [0x1202b63e0]
  14 __ct__7LyXTextXP10BufferView(0x140181200, 0x140153e00, 0x1400a3248, 0x1, 
0x14014ecb0) [0x1202b6174]
  15 resizeCurrentBuffer__Q110BufferView5PimplXv(0x0, 0x0, 0x0, 0x0, 0x0) 
[0x1201d3914]
  16 buffer__Q110BufferView5PimplXP6Buffer(0x120253070, 0x1400a3268, 
0x1400d0a20, 0x0, 0x140153e28) [0x1201d306c]
  17 buffer__10BufferViewXP6Buffer(0x1400d0a20, 0x0, 0x140153e28, 
0x3a01742200000000, 0x120250ac0) [0x1201cd4b4]
  18 regBuf__6LyXGUIXP6Buffer(0x140153e28, 0x3a01742200000000, 0x120250ac0, 
0x1400a3238, 0x120254228) [0x120250abc]
  19 __ct__3LyXXPiPPc(0x14009f2c0, 0x0, 0x12023d300, 0x1401836e0, 
0x11ffff748) [0x120254224]
  20 main(0x0, 0x80084600, 0x1400e8420, 0x11ffff7c8, 0x100000002) 
[0x12027e9cc]
(dbx)
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage[authoryear]{natbib}

% to allow manipulation of equation number counters
\usepackage{calc}
% to create the included eepic figures
\usepackage{epic}
\usepackage{eepic}

%Some of these commands are also defined as macros, but the
%macros do not allow fonts to be specified. They are 'good enough'
%for lyx, but the LaTeX typesetting is specified here
\newcommand{\bmath}[1]{\mbox{ \boldmath $\!#1\!$ \unboldmath}}
\let\newcommand=\providecommand

\newcounter{discretised u}
\newcounter{tempcounter}
\end_preamble
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset FormulaMacro 
\newcommand{\rfourvec}[4]{\left( {#1 },{#2 },{#3 },{#4 }\right) }

\end_inset 


\layout Standard


\begin_inset Formula \[
\rfourvec{L_{1}}{L_{2}}{L_{3}}{L_{4}}\]

\end_inset 

 
\the_end

Reply via email to