FVWM: FvwmForm

From: Thomas A. Gardiner <gardiner_at_pas.rochester.edu>
Date: Tue, 11 Jan 2000 11:24:38 -0500 (EST)

Hi,

I'm getting a segmentation fault from FvwmForm which only occurs when the
number of items grows to become comparable to the MAX_ITEMS definition in
FvwmForm.c.

In fact changing this

/* tba: use dynamic buffer expanding */
#define MAX_LINES 16
#define MAX_ITEMS 64

to this

/* tba: use dynamic buffer expanding */
#define MAX_LINES 26
#define MAX_ITEMS 84

gets rid of the problem. So, the problem must be occuring in the dynamic
memory allocation. (This idea is born out from using gdb.)
Is anyone familiar enough with this code to be able to
track down this bug without having to learn it in it's entirety (sp?) like
I would? If not, I will try to take a stab at it.

Tom

Oh yeah... This occurs with both fvwm2.2.2 and fvwm2.2.4 .

_________________________________________________________________________
Thomas Gardiner
gardiner_at_pas.rochester.edu

University of Rochester
Department of Physics and Astronomy
P. O. Box 270171
Rochester, NY 14627-0171

(716) 275-9625 Office 2
(716) 275-0537 Office 1
(716) 275-8527 fax
__________________________________________________________________________

The scientist does not study nature because it is useful; he studies it
because he delights in it, and he delights in it because it is beautiful.
If nature were not beautiful, it would not be worth knowing, and if nature
were not worth knowing, life would not be worth living.- Henri Poincare
__________________________________________________________________________


--
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 Tue Jan 11 2000 - 10:30:38 GMT

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