Re: [IDEAS] Bugs 4082 and 4178

2007-09-17 Thread Richard Heck
Andre Poenitz wrote: On Sat, Sep 15, 2007 at 12:40:35PM -0400, Richard Heck wrote: A better fix would be to transfer the graphics::Cache singleton to LyX::Singletons. I.e., do this. But it may be that there are other ways you could see this problem. What about making the loader a shar

Re: [IDEAS] Bugs 4082 and 4178

2007-09-15 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sat, Sep 15, 2007 at 11:51:50AM -0400, Richard Heck wrote: I don't have time to investigate these further today, so here is what I'm thinking, in case anyone else has the time. These are the same bug, at least in the form Jurgen saw 4082. Both crashes occur in destruct

Re: [IDEAS] Bugs 4082 and 4178

2007-09-15 Thread Andre Poenitz
On Sat, Sep 15, 2007 at 12:40:35PM -0400, Richard Heck wrote: > >A better fix would be to transfer the graphics::Cache singleton to > >LyX::Singletons. > > I.e., do this. But it may be that there are other ways you could see > this problem. What about making the loader a shared_ptr rather than >

Re: [IDEAS] Bugs 4082 and 4178

2007-09-15 Thread Andre Poenitz
On Sat, Sep 15, 2007 at 11:51:50AM -0400, Richard Heck wrote: > > I don't have time to investigate these further today, so here is what > I'm thinking, in case anyone else has the time. > > These are the same bug, at least in the form Jurgen saw 4082. Both > crashes occur in destruction of grap

Re: [IDEAS] Bugs 4082 and 4178

2007-09-15 Thread Abdelrazak Younes
Richard Heck wrote: I.e., do this. But it may be that there are other ways you could see this problem. What about making the loader a shared_ptr rather than deleting it explicitly? It think that the real problem is that the C&P stack is not cleaned up on exit. Abdel.

Re: [IDEAS] Bugs 4082 and 4178

2007-09-15 Thread Abdelrazak Younes
Richard Heck wrote: Abdelrazak Younes wrote: Richard Heck wrote: I don't have time to investigate these further today, so here is what I'm thinking, in case anyone else has the time. These are the same bug, at least in the form Jurgen saw 4082. Both crashes occur in destruction of graphic

Re: [IDEAS] Bugs 4082 and 4178

2007-09-15 Thread Richard Heck
Abdelrazak Younes wrote: Richard Heck wrote: I don't have time to investigate these further today, so here is what I'm thinking, in case anyone else has the time. These are the same bug, at least in the form Jurgen saw 4082. Both crashes occur in destruction of graphic insets on exit, and b

Re: [IDEAS] Bugs 4082 and 4178

2007-09-15 Thread Abdelrazak Younes
Richard Heck wrote: I don't have time to investigate these further today, so here is what I'm thinking, in case anyone else has the time. These are the same bug, at least in the form Jurgen saw 4082. Both crashes occur in destruction of graphic insets on exit, and both occur when there has

[IDEAS] Bugs 4082 and 4178

2007-09-15 Thread Richard Heck
I don't have time to investigate these further today, so here is what I'm thinking, in case anyone else has the time. These are the same bug, at least in the form Jurgen saw 4082. Both crashes occur in destruction of graphic insets on exit, and both occur when there has been SOME kind of cop