Re: FVWM: Re: FvwmEvent Core Dumps

From: Dominik Vogt <dominik.vogt_at_fvwm.org>
Date: Wed, 23 Jun 1999 15:03:16 +0200

On Wed, Jun 23, 1999 at 07:45:30AM -0400, gardiner_at_pas.rochester.edu wrote:
> Dominik,
>
> I hate to be a pest, but I assume you mean the "defines" which begin with

Your're not a pest, it's my fault. I could easily provide more complete
information if I had the time.

> #define M_NEW_PAGE (1)
> #define M_NEW_DESK (1<<1)
> #define M_ADD_WINDOW (1<<2)
> ...

The missing parts are:

  #define M_LOCKONSEND (1<<26)
  #define M_SENDCONFIG (1<<27)

The problem was that a loop scanned the list of events until up to
MAX_MESSAGES didn't match, but MAX_MESSAGES is defined like this:

  #define MAX_MESSAGES 28

I.e. although the list had only 26 entries it tried to acces 28.
You need to add these two right after the "dewindowshade" line:

  "lockonsend",
  "sendconfig",


> I'm not sure what the missing events are however... Two which I do not see
> are startup and shutdown, but these do not cause a core dump for me,
> even though they also do nothing, so I suspect I'm missing something.

The last three events seem to be internal events of FvwmEvent.

> Moreover, if I find them, what do I define them as? If it is too much
> trouble to extract that section out of your header file can you point me
> to a version of Fvwm which has the problem in module.h corrected.

Uh, the flaw is in FvwmEvent.c, not in module.h.
 
Bye

Dominik ^_^


-- 
Dominik Vogt, Hewlett-Packard GmbH, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/14-4596, fax: 07031/14-3883, dominik_vogt_at_hp.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jun 23 1999 - 08:04:05 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST