Re: [Patch 1.5] bug 4857

2008-05-21 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Abdelrazak Younes wrote: should be + docstring const printableString(bool label) const; Oh well, I always forget about that... Please commit. Will do. Abdel.

Re: [Patch 1.5] bug 4857

2008-05-21 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: > Hum, it looks like I didn't send the patch :-) Here it is. This fixes it for me as well. Well done! Note that gcc complained about this: > const Index: Paragraph.h > === > --- Paragraph.h (revision 24874)

Re: [Patch 1.5] bug 4857

2008-05-21 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Juergen Spitzmueller wrote: No, forget about this, I think I know the problem and your backtrace is either due to a memory corruption or to another bug. The backtrace is actually exactly the same as before and is due to a temporary reference. Please try this patch and

Re: [Patch 1.5] bug 4857

2008-05-21 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Abdelrazak Younes wrote: I tried many times but I can't reproduce... a glibc specific issue perhaps? No, my fault I managed to reproduce it. I couldn't before because I had instant preview set to on and the child documents were automatically loaded.

Re: [Patch 1.5] bug 4857

2008-05-21 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: > I tried many times but I can't reproduce... a glibc specific issue perhaps? > Is there any macro in the document? No. >> #7  0x08075b98 in lyx::Buffer::buildMacros (this=0x8b64578) >> at /usr/include/c++/4.2.1/bits/stl_map.h:228 >> > This doesn't give me at which lin

Re: [Patch 1.5] bug 4857

2008-05-21 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Abdelrazak Younes wrote: Do you have a recipe? Open the test file from the bug report, click on one label in the master, edit, press OK. The crash does not occur regularly. I tried many times but I can't reproduce... I am happy that we cleaned up the la

Re: [Patch 1.5] bug 4857

2008-05-21 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: > Do you have a recipe? Open the test file from the bug report, click on one label in the master, edit, press OK. The crash does not occur regularly. The output I sent was produced after closing LyX (without previous crash, obviously). However, I managed to get a backtr

Re: [Patch 1.5] bug 4857

2008-05-21 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Abdelrazak Younes wrote: Pleas find the patch attached. FYI, I did the same fix some days ago in trunk. Excellent thanks. This fixes the crash on view->PDF. However, I still got crashes on editing the label. Unfortunately, I was not able to reproduce this

Re: [Patch 1.5] bug 4857

2008-05-21 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: > Pleas find the patch attached. FYI, I did the same fix some days ago in > trunk. Excellent thanks. This fixes the crash on view->PDF. However, I still got crashes on editing the label. Unfortunately, I was not able to reproduce this in the debugger. But I got what is b