Georg Baum wrote:
Am Sonntag, 28. Mai 2006 17:01 schrieb Abdelrazak Younes:
Abdelrazak Younes wrote:
Edwin Leuven wrote:
atm lyx hangs when closing the app (qt4, windows)
something to do with this?
Maybe... Just to be sure, try to comment out line 284 in lyx_gui.C:
No, it's not that but something in lyx_gui::parse_init(int&, char**)
(gdb) bt
#0 0x77c478c0 in _libkernel32_a_iname ()
#1 0x1004a5ab in _end__ ()
#2 0x1004d0fc in _end__ ()
#3 0x1004d185 in _end__ ()
#4 0x007967d0 in lyx_gui::parse_init(int&, char**) ()
#5 0x00412cb8 in LyX::priv_exec(int&, char**) ()
#6 0x00413ff2 in LyX::exec(int&, char**) ()
#7 0x0040134d in main ()
This backtrace does not match Edwins report: "atm lyx hangs when closing
the app". That implies that he could run it before, and that means that
parse_init() has been executed already. I would be very surprised if this
problem has nothing to do with the qApp change.
I know that. Lyx starts OK but hang on exit. But within gdb lyx crash on
startup with the above backtrace. The fact that it crashes within
parse_init is a strong hint that someting is wrong there for _windows_.
Replacing QLAppicaltion by a QApplication does not solve the hang on
exit but makes Qt repeat infinitely a message at the console:
QObject::killTimer: timers cannot be stopped from another thread
QObject::killTimer: timers cannot be stopped from another thread
QObject::killTimer: timers cannot be stopped from another thread
QObject::killTimer: timers cannot be stopped from another thread
...
I recompiling in debug mode to see where it crash precisely in parse_init.
Abdel.
Edwin, does it go away if you revert to rev. 13942?
Georg