Re: Lyx/branch crashes during exit.

2007-09-12 Thread Enrico Forestieri
On Wed, Sep 12, 2007 at 06:05:44PM +0200, Juergen Spitzmueller wrote: > Enrico Forestieri wrote: > > > So, Jürgen? > > This is not an area where I feel very much at home, but I guess you are, so > I just trust you. Put it in. The fontconfig docs state that "There is a default configuration which

Re: Lyx/branch crashes during exit.

2007-09-12 Thread Juergen Spitzmueller
Enrico Forestieri wrote: > So, Jürgen? This is not an area where I feel very much at home, but I guess you are, so I just trust you. Put it in. Jürgen

Re: Lyx/branch crashes during exit.

2007-09-12 Thread Enrico Forestieri
On Wed, Sep 12, 2007 at 09:24:09AM -0500, Bo Peng wrote: > > The attached patch should solve the problem. As the added fonts are > > application specific, fontconfig should do the cleanup for us, even > > if the docs say nothing to this end. > > I tested this patch against the branch and I can con

Re: Lyx/branch crashes during exit.

2007-09-12 Thread Bo Peng
> The attached patch should solve the problem. As the added fonts are > application specific, fontconfig should do the cleanup for us, even > if the docs say nothing to this end. I tested this patch against the branch and I can confirm that it fixes the crash. You should explain to Jurgen what thi

Re: Lyx/branch crashes during exit.

2007-09-12 Thread Enrico Forestieri
On Wed, Sep 12, 2007 at 01:00:02AM -0500, Bo Peng wrote: > > I will compile with gcc 4 and try again. > > Gcc4 + Qt 422 crashes. > > Gcc4 + Qt 4.0 (or 4.11? not sure) does not. Because that code is only compiled in for Qt >= 4.2 > Have not tested Gcc 3 + Qt 4.0, but it is likely a Qt 422 proble

Re: Lyx/branch crashes during exit.

2007-09-11 Thread Bo Peng
> I will compile with gcc 4 and try again. Gcc4 + Qt 422 crashes. Gcc4 + Qt 4.0 (or 4.11? not sure) does not. Have not tested Gcc 3 + Qt 4.0, but it is likely a Qt 422 problem. Bo

Re: Lyx/branch crashes during exit.

2007-09-11 Thread Bo Peng
> I should have said, using Qt 4.2.1, so this code is being compiled. Then this might be another gcc 3 / signals problem. :-) I will compile with gcc 4 and try again. Bo

Re: Lyx/branch crashes during exit.

2007-09-11 Thread Darren Freeman
On Tue, 2007-09-11 at 22:50 -0500, Bo Peng wrote: > #2 points to > GuiFontLoader::~GuiFontLoader() > { > #if QT_VERSION >= 0x040200 > for (int i = 0 ; i < num_math_fonts; ++i) { > if (fontID[i] >= 0) > QFontDatabase::removeApplicationFont(fontID[i]); >

Re: Lyx/branch crashes during exit.

2007-09-11 Thread Darren Freeman
On Tue, 2007-09-11 at 22:50 -0500, Bo Peng wrote: > On linux, simply start and quit lyx. r20206 didn't do this. I just built r20235 and tried. Sorry but following your procedure I don't get a crash. OpenSUSE 10.2. Have fun, Darren