Georg Baum wrote:
Am Donnerstag, 12. Oktober 2006 19:50 schrieb Enrico Forestieri:
Yes, with this patch LyX builds, but then is quite unstable.
I always get a crash when trying to load a particular document
(see bt1.txt), but some others load fine. However, when I load
Intro.lyx and then quit, it crashes again (bt2.txt).
With another document it crashes while scrolling (bt3.txt).
I doubt that it has anything to do with the streams. I do get a crash
immediately on startup. This is no wonder, since Abdel thought that
non-windows users do not really need an Application instance but can do
with a pointer to an alrerady destroyed variable :-(
Year sorry. Maybe the static trick will work fine under Linux also?
I fixed that. Enrico, can you please try again?
Abdel, please delete theApp at the place that corresponds to the end of the
old lyx_gui::exec function.
That would be at the end of quitLyx() then. The problem is that this
method is called from within Application via an LFUN. I will try to
experiment with a scoped_ptr inside lyx_main.
Abdel.