Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser

 Original-Nachricht 
Datum: Mon, 04 Jun 2007 10:39:03 -0400
Von: Richard Heck <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org, Stefan Schimanski <[EMAIL PROTECTED]>
Betreff: Re: 1.5.0rc1 crash when breaking last line of paragraph

> [EMAIL PROTECTED] wrote:
> > LyX 1.5.0rc1 crashes when I try to break part of the last line
> (sometimes even last 2 lines) of a paragraph into a new paragraph hitting 
> Enter.
> This only happens if another paragraph is following.
> >
> > Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that
> makes reproduction easy.
> >   
> I've applied the patch pending for 3790, and this does resolve the bug 
> for me. (Also resolves 3801.)
> 
> Richard

Sorry, there were two patches available and I applied the one on Text.cpp which 
did not help. Now I found the one on Bidi.cpp that solves the Problem. Could 
have be a bit clearer in bugzilla. I will attach link to the patch to my 
bugreport, too. 

Thanks very much, that was the basis for further testing of 1.5.0 for me.

phil


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Richard Heck

[EMAIL PROTECTED] wrote:

LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes even 
last 2 lines) of a paragraph into a new paragraph hitting Enter. This only 
happens if another paragraph is following.

Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that makes 
reproduction easy.
  
I've applied the patch pending for 3790, and this does resolve the bug 
for me. (Also resolves 3801.)


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
> The patch did not help, unfortunately.

I see. Too bad. Could you open a new bug report, please?

Jürgen


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser

 Original-Nachricht 
Datum: Mon, 4 Jun 2007 13:52:04 +0200
Von: [EMAIL PROTECTED]
An: lyx-users@lists.lyx.org
Betreff: Re: 1.5.0rc1 crash when breaking last line of paragraph

> [EMAIL PROTECTED] wrote:
> > LyX 1.5.0rc1 crashes when I try to break part of the last line
> (sometimes
> > even last 2 lines) of a paragraph into a new paragraph hitting Enter.
> This
> > only happens if another paragraph is following.
> >
> > Can anyone confirm?
> 
> Yes, This is probably bug 3790:
> http://bugzilla.lyx.org/show_bug.cgi?id=3790
> 
> You'll find a patch there as well. Would be nice if you could try if that 
> fixes it.
> 
> Jürgen


The patch did not help, unfortunately. Seems to be something with Paragraph.cpp 
rather than Text.cpp, but I am not a programmer. Forgot to include the console 
output, hopefully this helps. After the crash it says:

pos: 21 size: 20
Assertion triggered in const lyx::Font lyx::Paragraph::getFontSettings(const 
lyx::BufferParams&, lyx::pos_type) const by failing check "pos <= size()" in 
file Paragraph.cpp:1273

phil


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
> LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes
> even last 2 lines) of a paragraph into a new paragraph hitting Enter. This
> only happens if another paragraph is following.
>
> Can anyone confirm?

Yes, This is probably bug 3790:
http://bugzilla.lyx.org/show_bug.cgi?id=3790

You'll find a patch there as well. Would be nice if you could try if that 
fixes it.

Jürgen


1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser
LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes even 
last 2 lines) of a paragraph into a new paragraph hitting Enter. This only 
happens if another paragraph is following.

Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that makes 
reproduction easy.

phil


crashtest.lyx
Description: application/lyx