On Wed, Oct 09, 2013 at 10:22:20PM +0200, Georg Baum wrote:
> Enrico Forestieri wrote:
> 
> > I tried your patch on Cygwin, Solaris, and Debian Linux. It worked fine
> > in all cases. However, and this occurs *only* on Debian, on quitting lyx
> > I get:
> > 
> > lyx: QObject::startTimer: QTimer can only be used with threads started
> > with QThread SIGSEGV signal caught!
> > Sorry, you have found a bug in LyX, hope you have not lost any data.
> > Please read the bug-reporting instructions in 'Help->Introduction' and
> > send us a bug report, if necessary. Thanks!
> 
> Release or debug version?

I tried both and there was no difference.

> Do you get it with the attached patch as well?

No, your patch works and I get no segfault on exit. Well done!
BTW, this was on Wheezy, too.

> > The other difference I noticed is that on Cygwin and Solaris I get
> > \renewcommand instead of \newcommand. That is, applying your patch,
> > on Debian exporting from the GUI or from command line, produces the
> > same result, but lyx segafaults on exit.
> > On Cygwin and Solaris, exporting from the GUI changes \newcommand
> > into \renewcommand, but lyx quits normally.
> > The joy of multithreading, I suppose.
> 
> I am not sure. I would think that this is something else. I do not see this, 
> but if I use the Czech GUI I see that \shortcut{undefined} is translated if 
> exported from the GUI, and untranslated if exported from the command line. 
> This should not happen.

This behavior is unchanged. It's still a mystery.

-- 
Enrico

Reply via email to