Hello,

Jean-Marc Lasgouttes wrote:
> 
> >>>>> "Holger" == Holger Schif <[EMAIL PROTECTED]> writes:
> 
> Holger> Hallo, I use Lyx Version 1.0.0 of Feb 1, 1999. After cutting a
> Holger> pice of text with 'C-x' and pasting it with 'C-v' Lyx crashed
> Holger> with a SIGSEGV. I think that pasting with 'C-v' does not work
> Holger> correctly on my system ('S-Insert' works fine). AFAIK Lyx does
> Holger> not use its internal buffer, but use the "System-Clipboard",
> Holger> so I paste "strange" characters in the document (I does not
> Holger> know where they come from).  After reloading the emergency
> Holger> file which also contains this "strange" characters and
> Holger> scrolling to this section in the document, Lyx will crash. So
> Holger> I think its a display problem.  I have make a small Lyx file
> Holger> to reproduce this error:
> 
> Hello,
> 
> I have tried to load your example file and move inside of it, but did
> not get any crash...
> 
> JMarc

Probably the mail composer produce some linebreaks while pasting the
example into it. So I attach it this time.
Also I have download the latest version (1.0.3) and produced a debug
version. It also crashed. Here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x8103e1d in MathParInset::Draw (this=0xa9, x=123, y=136815932) at
math_draw.C:79
79                mathed_char_height(data.FCode(), size, s[ls-1], asc,
des);
(gdb) bt
#0  0x8103e1d in MathParInset::Draw (this=0xa9, x=123, y=136815932) at
math_draw.C:79
#1  0x1 in ?? ()
Cannot access memory at address 0x16.
(gdb) print ls
$1 = 538979616

I've tried to debug this and I think, that the method  "drawStr()"
called from MathParInset::Draw in line 78 changed the values of the 'y'
and the 'ls' variable. But I do not know why. I think something other
went wrong before this call.
BTW I do not think this is a really bug of Lyx. I produced it after
pasting strange characters from my "sytsem buffer" and probably in "real
life" Lyx will never produce such character, so it can't crash.

Thanks and by,

Holger
-- 
Holger Schif, c/o Weigand, Kohlstr. 3, 80469 Muenchen
http://www.eikon.e-technik.tu-muenchen.de/~rastaman
PGP key available from homepage and on request
!!!! Linux, the PC system from hell !!!!
#This file was created by <rasta> Fri Jun 18 17:49:53 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

Bla bla
\layout Enumerate
\begin_inset Quotes gld
\end_inset

Stored Procedures
\begin_inset Quotes grd
\end_inset

 werden bei einem Konflik vom Datenbanksystem 5---------------------------------
---------------------------------
\begin_inset Formula \( 5 \)
\end_inset

 Muster fuer Diplomarbeit
\begin_inset Formula \( 5 \)
\end_inset

 Lehrstuhl fuer Datenverarbeitung der TU-Muenchen
\begin_inset Formula \( 5--------------------------- \)
\end_inset

Aktionen ausgel�st.

\layout Standard

\the_end

Reply via email to