[PATCH] Fix Autosave Memory Leak

2011-11-16 Thread Richard Heck
In discussion of Pavel's crash, Vincent asked whether we were unnecessarily cloning all the children of a given Buffer when we autosave it. The answer is that we were and, worse, that, since changes I made to fix other bugs, we were starting the cloning process from the master Buffer and then, eve

Re: [PATCH] Fix Crash Reported by Pavel

2011-11-16 Thread Richard Heck
On 11/16/2011 06:32 PM, Richard Heck wrote: > Current trunk and branch crash when previewing or autosaving certain > document sets involving a single file that is included multiple times. > One easy example has the structure: > Master --> Child 1 > Master --> Child 2 --> Child 1 > The probl

[PATCH] Fix Crash Reported by Pavel

2011-11-16 Thread Richard Heck
Current trunk and branch crash when previewing or autosaving certain document sets involving a single file that is included multiple times. One easy example has the structure: Master --> Child 1 Master --> Child 2 --> Child 1 The problem is that the Child 1 Buffer is deleted multiple times

LyX 2.0.2 Delayed

2011-11-16 Thread Richard Heck
Due to the crash reported by Pavel, the release of 2.0.2 is going to be delayed a little bit. I have a couple patches that should solve the issue. Please see the following messages for the patches and requests for comment. Richard

\usetikzlibrary{external} in Lyx

2011-11-16 Thread hyperp...@gmx.de
Hello. First of all: Thanks to all developers. I enjoy using lyx nearly each day. But I also like to draw pictures and plots with pgf/tikz as input-tex file to lyx which works fine, too. My problem: when I have a lot of complex pictures and a lot of  p

Re: Regression in branch

2011-11-16 Thread Pavel Sanda
Richard Heck wrote: > Just to check, did you apply both patches? The second of the two only > affects autosave. no only the second one... pavel

Re: Regression in branch

2011-11-16 Thread Richard Heck
On 11/15/2011 08:24 PM, Pavel Sanda wrote: Richard Heck wrote: So, a different crash, but probably related. It certainly feels like a double delete still. Are there other changes in your source? Line #6 has a different line number from what I'm seeing, at least in trunk, though #4 and #5 are co

Re: Regression in branch

2011-11-16 Thread Pavel Sanda
Pavel Sanda wrote: > i will try to find some small example parent->c1->c3 parent->c2->c3 try viewing the attached. pavel f.tgz Description: application/tar-gz