Re: Export Crash

2010-03-08 Thread rgheck
On 03/08/2010 11:02 AM, Abdelrazak Younes wrote: On 03/08/2010 04:47 PM, rgheck wrote: On 03/08/2010 10:44 AM, rgheck wrote: On 03/08/2010 10:18 AM, Abdelrazak Younes wrote: On 03/08/2010 03:53 PM, rgheck wrote: (ii) Add: Index: /cvs/lyx-devel/trunk/src/BufferList.cpp ==

Re: Export Crash

2010-03-08 Thread Abdelrazak Younes
On 03/08/2010 04:47 PM, rgheck wrote: On 03/08/2010 10:44 AM, rgheck wrote: On 03/08/2010 10:18 AM, Abdelrazak Younes wrote: On 03/08/2010 03:53 PM, rgheck wrote: (ii) Add: Index: /cvs/lyx-devel/trunk/src/BufferList.cpp === ---

Re: Export Crash

2010-03-08 Thread rgheck
On 03/08/2010 10:44 AM, rgheck wrote: On 03/08/2010 10:18 AM, Abdelrazak Younes wrote: On 03/08/2010 03:53 PM, rgheck wrote: (ii) Add: Index: /cvs/lyx-devel/trunk/src/BufferList.cpp === --- /cvs/lyx-devel/trunk/src/BufferList.cpp

Re: Export Crash

2010-03-08 Thread rgheck
On 03/08/2010 10:18 AM, Abdelrazak Younes wrote: On 03/08/2010 03:53 PM, rgheck wrote: (ii) Add: Index: /cvs/lyx-devel/trunk/src/BufferList.cpp === --- /cvs/lyx-devel/trunk/src/BufferList.cpp(revision 33673) +++ /cvs/lyx-devel

Re: Export Crash

2010-03-08 Thread Abdelrazak Younes
On 03/08/2010 03:53 PM, rgheck wrote: So the fact that BufferList doesn't know about clones is going to cause other problems. I suggest we do one of two things. (i) Make BufferList aware of clones. This seems like a lot of work for little benefit, and it might cause other problems. I was w

Re: Export Crash

2010-03-08 Thread rgheck
So the fact that BufferList doesn't know about clones is going to cause other problems. I suggest we do one of two things. (i) Make BufferList aware of clones. This seems like a lot of work for little benefit, and it might cause other problems. (ii) Add: Index: /cvs/lyx-devel/trunk/src/Buffe

Re: Export Crash

2010-03-08 Thread Abdelrazak Younes
On 03/08/2010 03:35 PM, rgheck wrote: On 03/08/2010 09:30 AM, Abdelrazak Younes wrote: On 03/08/2010 03:28 PM, rgheck wrote: Fixed at r33674, I think. Here's the problem. OK, good, thanks. So this code was changed recently because I remember checking that method... See r33266. I'm not su

Re: Export Crash

2010-03-08 Thread rgheck
On 03/08/2010 09:30 AM, Abdelrazak Younes wrote: On 03/08/2010 03:28 PM, rgheck wrote: Fixed at r33674, I think. Here's the problem. OK, good, thanks. So this code was changed recently because I remember checking that method... See r33266. I'm not sure what this was. rh

Re: Export Crash

2010-03-08 Thread Abdelrazak Younes
On 03/08/2010 03:28 PM, rgheck wrote: Fixed at r33674, I think. Here's the problem. OK, good, thanks. So this code was changed recently because I remember checking that method... Abdel.

Re: Export Crash

2010-03-08 Thread rgheck
Fixed at r33674, I think. Here's the problem. When we clone the buffer, we create a child. But now when we validate the buffer, we go through InsetInclude::loadIfNeeded(): Buffer * InsetInclude::loadIfNeeded() const { // This is for background export and preview. We don't want to load t

Re: Export Crash

2010-03-08 Thread rgheck
On 03/08/2010 08:38 AM, Abdelrazak Younes wrote: On 03/08/2010 02:06 PM, rgheck wrote: Is this one known? Open Embedded Objects. View>DVI. Now click somewhere in the main document 0lyx::Buffer::isCloneBuffer.cpp4400x0046fb94 This happens in the first child document.

Re: Export Crash

2010-03-08 Thread rgheck
On 03/08/2010 08:24 AM, John McCabe-Dansted wrote: On Mon, Mar 8, 2010 at 9:06 PM, rgheck wrote: Is this one known? This looks a bit like http://www.lyx.org/trac/ticket/6516#comment:8 Yes, same bug. rh

Re: Export Crash

2010-03-08 Thread Abdelrazak Younes
On 03/08/2010 02:06 PM, rgheck wrote: Is this one known? Open Embedded Objects. View>DVI. Now click somewhere in the main document 0lyx::Buffer::isCloneBuffer.cpp4400x0046fb94 This happens in the first child document. The problem here: return d->cloned_buffer_; is

Re: Export Crash

2010-03-08 Thread John McCabe-Dansted
On Mon, Mar 8, 2010 at 9:06 PM, rgheck wrote: > > Is this one known? This looks a bit like http://www.lyx.org/trac/ticket/6516#comment:8 I cannot reproduce, but does the following change proposed by Kuemmel help? http://www.lyx.org/trac/ticket/6516#comment:12 Index: src/frontends/qt4/GuiView.

Re: Export Crash

2010-03-08 Thread rgheck
On 03/08/2010 08:06 AM, rgheck wrote: Is this one known? Open Embedded Objects. View>DVI. Now click somewhere in the main document 0lyx::Buffer::isCloneBuffer.cpp4400x0046fb94 This happens in the first child document. The problem here: return d->cloned_buffer_; is