Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Erez Yerushalmi
OK, Sorry to write this now.

But actually, with Oliver's method,

\alpha  = 2\times \beta 
pressing 6 times ctrl-z

I can 100% a crash.

But, only after I placed in a Section Heading.

So we have probably the same bug.

Best Regards, Erez



On Wed, Dec 3, 2008 at 12:32 PM, Olivier Ripoll <
[EMAIL PROTECTED]> wrote:

> Micha Feigin wrote:
>
>> On Wed, 03 Dec 2008 09:59:35 +0100
>> Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote:
>>
>>  Micha Feigin wrote:
>>>
>>>  I see this a LOT when I press ctrl-z (undo), more then 50% of the time
 it
 crashes. Didn't loose information due to it so far though.

>>> Yes, this looks very much like
>>> http://bugzilla.lyx.org/show_bug.cgi?id=5499
>>>
>>> which is about undo crashes that occur (a.o.) in math mode IF the
>>> outliner is
>>> opened. This specific bug will be fixed in 1.6.1.
>>>
>>> It also might be a different bug. Does it depend on the outliner state?
>>>
>>> Jürgen
>>>
>>>
>> Did some more tests, it depends on two things, the outliner being open and
>> for
>> the displayed math formula to be just after a section header (the first
>> line of
>> the paragraph). With this combination the crash is very consistent
>>
>>
> I can confirm this crash, but LyX does not seem to dump anything, so I
> cannot use the Debug & Diagnostic tool.
> It's only where there is nothing more to undo inside the equation that it
> "sigsev"es.
> For instance, if you type something like ( is the keyboard space)
>
> \alpha  = 2\times \beta 
>
> it only after pressing 6 times ctrl-z that it crashes.
>
> Best regards,
>
> Olivier.
>
>


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Erez Yerushalmi
Dear All,

I have been following all your comments quietly. Unfortunately, I don't know
how to contribute to the discussion.

I can reproduce crashes, but I can't find exactly a systematic way to do it.
I just spent 15 min, and made 5 crashes.

What I need to do is the following:

Open up a math box
Write a few latex symbols \alpha \beta
THEN,
start messing wildly around with control x, control c, control z
(and I mean wildly)
and get a crash

I am also able to make a crash in a new file, but only after I added section
and subsection. But I don't know if that is really because of it, or because
I just kept on messing around and increased the probably of hitting it
right.

Unfortunately, I think I'll need to return temporarily to 1.5.7 until this
could be resolved. Thanks to LyX, I stopped writing by hand completely, and
it is a very important tool for me.

If there is anything I can help with, please give me some instructions.

Erez


On Wed, Dec 3, 2008 at 1:20 PM, Jürgen Spitzmüller <[EMAIL PROTECTED]>wrote:

> Micha Feigin wrote:
>
> > Did some more tests, it depends on two things, the outliner being open
> and
> > for the displayed math formula to be just after a section header (the
> > first line of the paragraph). With this combination the crash is very
> > consistent
>
> OK, then it's the mentioned bug. As said, already fixed,
>
> Jürgen
>
>


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Jürgen Spitzmüller
Micha Feigin wrote:

> Did some more tests, it depends on two things, the outliner being open and
> for the displayed math formula to be just after a section header (the
> first line of the paragraph). With this combination the crash is very
> consistent

OK, then it's the mentioned bug. As said, already fixed,

Jürgen



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Olivier Ripoll

Micha Feigin wrote:

On Wed, 03 Dec 2008 09:59:35 +0100
Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote:


Micha Feigin wrote:


I see this a LOT when I press ctrl-z (undo), more then 50% of the time it
crashes. Didn't loose information due to it so far though.

Yes, this looks very much like
http://bugzilla.lyx.org/show_bug.cgi?id=5499

which is about undo crashes that occur (a.o.) in math mode IF the outliner is
opened. This specific bug will be fixed in 1.6.1.

It also might be a different bug. Does it depend on the outliner state?

Jürgen



Did some more tests, it depends on two things, the outliner being open and for
the displayed math formula to be just after a section header (the first line of
the paragraph). With this combination the crash is very consistent



I can confirm this crash, but LyX does not seem to dump anything, so I 
cannot use the Debug & Diagnostic tool.
It's only where there is nothing more to undo inside the equation that 
it "sigsev"es.

For instance, if you type something like ( is the keyboard space)

\alpha  = 2\times \beta 

it only after pressing 6 times ctrl-z that it crashes.

Best regards,

Olivier.



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Micha Feigin
On Wed, 03 Dec 2008 09:59:35 +0100
Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote:

> Micha Feigin wrote:
> 
> > I see this a LOT when I press ctrl-z (undo), more then 50% of the time it
> > crashes. Didn't loose information due to it so far though.
> 
> Yes, this looks very much like
> http://bugzilla.lyx.org/show_bug.cgi?id=5499
> 
> which is about undo crashes that occur (a.o.) in math mode IF the outliner is
> opened. This specific bug will be fixed in 1.6.1.
> 
> It also might be a different bug. Does it depend on the outliner state?
> 
> Jürgen
> 

Did some more tests, it depends on two things, the outliner being open and for
the displayed math formula to be just after a section header (the first line of
the paragraph). With this combination the crash is very consistent


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Jürgen Spitzmüller
Micha Feigin wrote:

> I see this a LOT when I press ctrl-z (undo), more then 50% of the time it
> crashes. Didn't loose information due to it so far though.

Yes, this looks very much like
http://bugzilla.lyx.org/show_bug.cgi?id=5499

which is about undo crashes that occur (a.o.) in math mode IF the outliner is 
opened. This specific bug will be fixed in 1.6.1.

It also might be a different bug. Does it depend on the outliner state?

Jürgen



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Jean-Marc Lasgouttes
Micha Feigin <[EMAIL PROTECTED]> writes:
> I see this a LOT when I press ctrl-z (undo), more then 50% of the time it
> crashes. Didn't loose information due to it so far though.
>
> This is under linux BTW (1.6.0 debian package, 64bit system)

This is weird. I would be interested by a recipe and/or a backtrace. Or
did you report it already?

JMarc


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Abdelrazak Younes

Olivier Ripoll wrote:
1- I'm a windows user on my company's laptop, not _my_ laptop. I have to 
limit somehow what I install on it.


Would you believe that I am using Windows at home and Linux at work?
 :-)



2- Compiling on Windows has the reputation to be way work pain than on 
Linux ("./configure" and "make" are so easy to use...)


cmake, double-click lyx.sln, F7... not that complicated either, but much 
faster compilation ;-)


Abdel.



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Micha Feigin
On Tue, 02 Dec 2008 15:58:22 +0100
Olivier Ripoll <[EMAIL PROTECTED]> wrote:

> Jürgen Spitzmüller wrote:
> > Erez Yerushalmi wrote:
> >> Happens when:
> >> Many times when I write in math equations.
> >> And also happened a few times when I shift the tool bars to different
> >> positions.
> >>
> >> Do others have this problem?
> > 
> > These are known bugs (reported at bugzilla), and we hope to sort them out
> > for 1.6.1.
> > 
> > Jürgen
> > 
> 
> Hi,
> 
> The most common crash on Windows (#5472: the crash when copy operation 
> is followed by opening a MS Office program) does not result in any data 
> loss (the emergency save does its job). So Erez's crash is not a 
> duplicate of it as far as I can say.
> 
> Best regards,
> 
> Olivier
> 

I see this a LOT when I press ctrl-z (undo), more then 50% of the time it
crashes. Didn't loose information due to it so far though.

This is under linux BTW (1.6.0 debian package, 64bit system)

The beta and rc versions were a lot more stable on this system


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Vincent van Ravesteijn wrote:



So mere users like us would need a special binary to test that :-)

So, step out of the mere-usership, get VCExpress (free), get Subversion 
(free), get the LyX sources (free) and compile your own ;-).


My personal computer @ home is linux-only. I have compiled LyX, Gimp and 
other important software (Wesnoth ;-) ) tens of times but:


1- I'm a windows user on my company's laptop, not _my_ laptop. I have to 
limit somehow what I install on it.


2- Compiling on Windows has the reputation to be way work pain than on 
Linux ("./configure" and "make" are so easy to use...)



Best regards,

Olivier


Vincent

P.S. I'm afraid bug 5472 is not suited for generating a backtrace, as 
the crash doesn't occur within LyX.. It does probably within qt or a 
windows library.


in QtCore4.dll, and here is the relevant part:

Thread 0 - System ID 2808
Entry point   lyx+354fa7
Create time   02.12.2008 18:52:34
Time spent in user mode   0 Days 0:0:0.609
Time spent in kernel mode   0 Days 0:0:0.593

Function Arg 1 Arg 2 Arg 3   Source
QtCore4!QFactoryLoader::keys+2d   

QTCORE4!QFACTORYLOADER::KEYS+2DWARNING - DebugDiag was not able to 
locate debug symbols for QtCore4.dll, so the information below may be 
incomplete.


In 
lyx__PID__3904__Date__12_02_2008__Time_06_54_02PM__821__Second_Chance_Exception_C005.dmp 
the assembly instruction at QtCore4!QFactoryLoader::keys+2d in 
C:\Documents and Settings\#\Local Settings\Application 
Data\LyX16\bin\QtCore4.dll has caused an access violation exception 
(0xC005) when trying to read from memory location 0x0004 on thread 0


Module Information
Image Name: C:\Documents and Settings\#\Local Settings\Application 
Data\LyX16\bin\QtCore4.dll   Symbol Type:  Export

Base address: 0x6700   Time Stamp:  Sun Sep 28 01:09:07 2008
Checksum: 0x001e814b   Comments:
COM DLL: False   Company Name:
ISAPIExtension: False   File Description:
ISAPIFilter: False   File Version:
Managed DLL: False   Internal Name:
VB DLL: False   Legal Copyright:
Loaded Image Name:  QtCore4.dll   Legal Trademarks:
Mapped Image Name: Original filename:
Module name:  QtCore4   Private Build:
Single Threaded:  False   Product Name:
Module Size:  1.89 MBytes   Product Version:
Symbol File Name:  QtCore4.dll   Special Build:  &

Best regards,

Olivier



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Vincent van Ravesteijn



So mere users like us would need a special binary to test that :-)

So, step out of the mere-usership, get VCExpress (free), get Subversion 
(free), get the LyX sources (free) and compile your own ;-).



Best regards,

Olivier


Vincent

P.S. I'm afraid bug 5472 is not suited for generating a backtrace, as 
the crash doesn't occur within LyX.. It does probably within qt or a 
windows library.


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Jürgen Spitzmüller wrote:

Olivier Ripoll wrote:

The most common crash on Windows (#5472: the crash when copy operation
is followed by opening a MS Office program) does not result in any data
loss (the emergency save does its job). So Erez's crash is not a
duplicate of it as far as I can say.


No. But of this (toolbar shifting):
http://bugzilla.lyx.org/show_bug.cgi?id=5499

and maybe of this (editing math):
http://bugzilla.lyx.org/show_bug.cgi?id=5491

If someone on Windows is able to provide a proper backtrace for the former 
(crash after moving the toolbar), it'd be most helpful.


I've found that page explaining how to generate a backtrace on windows 
without compiler.

http://blog.thepimp.net/archives/how-to-generate-backtraces-on-windows-without-compiler.html
One needs to install the Microsoft debug diagnostic tool:
http://www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en

But as far as I understand it, you need a special version of the binary 
(with debugging symbols ?). I tried for bug 5472 but there was no info 
in the backtrace (symbols were not found IIRC the message).


So mere users like us would need a special binary to test that :-)

Best regards,

Olivier



Jürgen





Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Jürgen Spitzmüller
Olivier Ripoll wrote:
> The most common crash on Windows (#5472: the crash when copy operation
> is followed by opening a MS Office program) does not result in any data
> loss (the emergency save does its job). So Erez's crash is not a
> duplicate of it as far as I can say.

No. But of this (toolbar shifting):
http://bugzilla.lyx.org/show_bug.cgi?id=5499

and maybe of this (editing math):
http://bugzilla.lyx.org/show_bug.cgi?id=5491

If someone on Windows is able to provide a proper backtrace for the former 
(crash after moving the toolbar), it'd be most helpful.

Jürgen


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Jürgen Spitzmüller wrote:

Erez Yerushalmi wrote:

Happens when:
Many times when I write in math equations.
And also happened a few times when I shift the tool bars to different
positions.

Do others have this problem?


These are known bugs (reported at bugzilla), and we hope to sort them out for 
1.6.1.


Jürgen



Hi,

The most common crash on Windows (#5472: the crash when copy operation 
is followed by opening a MS Office program) does not result in any data 
loss (the emergency save does its job). So Erez's crash is not a 
duplicate of it as far as I can say.


Best regards,

Olivier



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-01 Thread Jürgen Spitzmüller
Erez Yerushalmi wrote:
> Happens when:
> Many times when I write in math equations.
> And also happened a few times when I shift the tool bars to different
> positions.
>
> Do others have this problem?

These are known bugs (reported at bugzilla), and we hope to sort them out for 
1.6.1.

Jürgen


frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-01 Thread Erez Yerushalmi
Dear all,

I don't know how to report this as a bug.

I get very frequent crashes in lyx 1.6.  (I use win-xp).

Output says LyX SIGSEGV signal caught.
LyX shuts down on its own, without saving my work.

Happens when:
Many times when I write in math equations.
And also happened a few times when I shift the tool bars to different
positions.

Do others have this problem?

Thanks, Erez


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi