I really see no other option. Whilst the previous ones could be traced to a known point, and a seemingly successful workaround has been applied, the problem I /can/ reproduce doesn't happen with -sync, so there is nothing more I can do.
sorry (and please apply), john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Index: src/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.625 diff -u -r1.625 ChangeLog --- src/ChangeLog 14 Mar 2002 13:40:18 -0000 1.625 +++ src/ChangeLog 14 Mar 2002 14:26:34 -0000 @@ -1,3 +1,7 @@ +2002-03-14 John Levon <[EMAIL PROTECTED]> + + * lyx_gui.C: work around horrendous xforms bug (#245) + 2002-03-14 Juergen Vigna <[EMAIL PROTECTED]> * text2.C (setCursor): just some testcode for #44 not ready yet. Index: src/lyx_gui.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_gui.C,v retrieving revision 1.102 diff -u -r1.102 lyx_gui.C --- src/lyx_gui.C 7 Mar 2002 15:45:52 -0000 1.102 +++ src/lyx_gui.C 14 Mar 2002 14:26:34 -0000 @@ -83,9 +83,13 @@ char etxt[513]; XGetErrorText(display, xeev->error_code, etxt, 512); lyxerr << etxt << " id: " << xeev->resourceid << endl; - // By doing an abort we get a nice backtrace. (hopefully) - lyx::abort(); - return 0; // Solaris CC wants us to return something + + // we really have to survive these (bug #245) + if (xeev->error_code != BadWindow) { + // By doing an abort we get a nice backtrace. (hopefully) + lyx::abort(); + } + return 0; } } @@ -250,8 +254,7 @@ // Initialize the views. lyxViews->init(); - // in 0.12 the initialisation of the LyXServer must be done here - // 0.13 it should be moved again... + // this should be moved ... lyxserver = new LyXServer(lyxViews->getLyXFunc(), lyxrc.lyxpipes); }