[XForms] Lightbutton bug - Button causes app to crash.

Dennis K dennisk at netspace.net.au
Sat Apr 11 19:19:17 CEST 2009

To subscribers of the xforms list

-------------- next part --------------
Attached is an example source file.  command to compile used was
gcc lightbutton_test.c -L/usr/X11R6/lib -lforms -lX11 -lXpm

I compiled the library with maximum debugging output, ran it as
./a.out -fldebug 4
and caught it all output in the attached text file, fldebug.txt.  The
last section, after the '****' is after pressing the lightbutton.


It most definately is version 1.0.91.

Jens Thoms Toerring wrote:
> Hi Dennis,
> On Sat, Apr 11, 2009 at 10:23:29AM +0000, Dennis K wrote:
>>Just want to make you aware of an issue present in version 1.0.91 and
>>It seems I'm not the only one who has noticed this.
>>The issue concerns the use of the 'lightbutton' widget.  When used
>>placed in a form, and then pressed, the 'light' turns yellow.  When the
>>mouse button is then released the program disappears, presumably because
>>it has crashed.  When testing the form in fdesign, it runs correctly.
>>My system is RedHat 7.3, gcc version 2.96
>>Is the development team aware of this issue?  If there is anything I can
>>do to assist, let me know.
> No, I am not aware of that bug! Unfortunately, I can't reproduce
> it here on my machine and I can't remember to have had a problem
> with LightButtons. The entry on the VMD web page is quite old
> (from 2000). Are you sure you're really using a new (1.0.91 or
> newer) version and you're program isn't picking up an older
> version of the library accidentally? (It should be easy to check:
> just click somewhere within some window with the middle button
> while pressing the <Alt> key - then a box with information about
> the version should pop up.) If it's a newer version could you
> perhaps send me an example program that exhibits the bug? That
> would be very helpful!
>                          Thanks and best regards, Jens


I am not an atomic playboy.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lightbutton_test.c
URL: <attachments/20090411/9df1b10e/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fldebug.txt
URL: <attachments/20090411/9df1b10e/attachment.txt>
-------------- next part --------------
To unsubscribe, send any message to
xforms-leave at bob.usuhs.mil or see: 
List Archive: http://bob.usuhs.mil/pipermail/xforms and
XForms Home: http://savannah.nongnu.org/projects/xforms

More information about the Xforms mailing list