Re: FVWM: fvwm crashing

From: Charles Hines <>
Date: Fri, 14 Jun 1996 10:04:30 -0400

>>>>> "LC" == Lionel Cons <cons_at_dxcern.cern.ch> writes:

LC> Charles Hines writes:
>>
>> Could you be a little more specific as to what the problem is?

LC> On Digital/UNIX, the crashes are random and there is no obvious
LC> pattern.

That's unfortunate, since it'll be nearly impossible to guess what
might be wrong then.

LC> On Solaris 2, two different users reported crashes in different
LC> situations. The first one was connected to the use of the tool
LC> tkpostage (with some home-made modifications): when tkpostage queried
LC> the mail server frequently (1/min), fvwm crashed randomly after some
LC> time. Without tkpostage, nor more crashes... The user will use again
LC> tkpostage to get a core dump, it may give a clue...

Hm. Odd.

LC> The other one is connected to the use of Netscape and FrameMaker,
LC> here are some mails extracts:
>> one of our stations is giving lots of problems when running Fvwm
>> with Netscape (2.02) and FrameMaker (5).
>>
>> The first panic appears when Netscape and FrameMaker run in different
>> desks. At the moment to change desk, fvwm core dumps and the window
>> system dies.

LC> Hope this helps...

I don't know if it does... But I'll give you the patch here that
fixes the coredump that I mentioned, which may or may not help you.
The change is pretty small and it shouldn't hurt at all.

Otherwise, you might want to pick up the latest 2.xx beta (2.0.42,
with 2.0.43 out shortly and the first official release 2.1.0 out
hopefully soon after that) and give it a try (see

                     http://www.hpc.uh.edu/fvwm/

for info).

Chuck

======================================================================
diff -u -r ./fvwm-1.24r/ChangeLog ./fvwm-1.24rb/ChangeLog
--- ./fvwm-1.24r/ChangeLog Mon Jan 9 16:33:28 1995
+++ ./fvwm-1.24rb/ChangeLog Mon Dec 5 12:40:27 1994
_at_@ -1,12 +1,3 @@
-ra to rb
- 1. Changed way click-to-focus problem was fixed to using only
- CurrentTime instead of more elaborate fix, because it was
- core dumping a lot for some reason.
-
-r to ra
- 1. Fixed click-to-focus problem with clicking on Motif menubars
- to exit a program causing focus to be lost.
-
 q to r
       1. Fixed blatant GoodStuff boo-boo, with the 'Swallow' command.

diff -u -r ./fvwm-1.24r/fvwm/borders.c ./fvwm-1.24rb/fvwm/borders.c
--- ./fvwm-1.24r/fvwm/borders.c Mon Jan 9 16:11:55 1995
+++ ./fvwm-1.24rb/fvwm/borders.c Tue Dec 6 10:16:14 1994
_at_@ -1205,7 +1205,7 @@
                  }
              Scr.Focus = NULL;
              Scr.Ungrabbed = NULL;
- XSetInputFocus(dpy, Scr.NoFocusWin,RevertToParent,CurrentTime);
+ XSetInputFocus(dpy, Scr.NoFocusWin,RevertToParent,lastTimestamp);
            }
          return;
        }
_at_@ -1254,30 +1254,30 @@

   if(Scr.flags & Lenience)
     {
- XSetInputFocus (dpy, w, RevertToParent, CurrentTime);
+ XSetInputFocus (dpy, w, RevertToParent, lastTimestamp);
       Scr.Focus = Fw;
     }
   else if(!((Fw)&&(Fw->wmhints)&&(Fw->wmhints->flags & InputHint)&&
            (Fw->wmhints->input == False)))
     {
       /* Window will accept input focus */
- XSetInputFocus (dpy, w, RevertToParent, CurrentTime);
+ XSetInputFocus (dpy, w, RevertToParent, lastTimestamp);
       Scr.Focus = Fw;
     }
   else if ((Scr.Focus)&&(Scr.Focus->Desk == Scr.CurrentDesk))
     {
       /* Window doesn't want focus. Leave focus alone */
- XSetInputFocus (dpy,Scr.Hilite->w , RevertToParent, CurrentTime);
+ XSetInputFocus (dpy,Scr.Hilite->w , RevertToParent, lastTimestamp);
     }
   else
     {
- XSetInputFocus (dpy, Scr.NoFocusWin, RevertToParent, CurrentTime);
+ XSetInputFocus (dpy, Scr.NoFocusWin, RevertToParent, lastTimestamp);
       Scr.Focus = NULL;
     }


   if ((Fw)&&(Fw->flags & DoesWmTakeFocus))
- send_clientmessage (w,_XA_WM_TAKE_FOCUS, CurrentTime);
+ send_clientmessage (w,_XA_WM_TAKE_FOCUS, lastTimestamp);

   XSync(dpy,0);

diff -u -r ./fvwm-1.24r/version.h ./fvwm-1.24rb/version.h
--- ./fvwm-1.24r/version.h Mon Jan 9 16:31:03 1995
+++ ./fvwm-1.24rb/version.h Mon Dec 5 12:39:55 1994
_at_@ -1,2 +1,2 @@
-#define VERSION "1.24rb"
+#define VERSION "1.24r"

--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Jun 14 1996 - 09:15:24 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST