All:
Here's some more info on what I suspect is a memory problem with
check buttons in version 0.88.1.
Brief description of problem (repeated from last week):
Buttons (check buttons, at least) do not have their labels properly
initialized. If you look at a butotn label which should have a valid
string value, the value is instead 0x3 <out of range>. This problem
occurs on i386 Linux boxes (kernel2.0.33, gcc2.8.1, libg++2.8.1), and
Sun Sparc Solaris boxes (gcc 2.7.2.3, libg++2.7.2). The only solution
appears to be to rool back to version 86.
New info:
I analyzed my application with Purify, and it does report a memory
problem with the check buttons, specifically with fl_drw_checkbox. The
purify output is below. The error occurs when the button is drawn.
UMR: Uninitialized memory read
This is occurring while in:
_libc_write [libc.so.1]
_XFlushInt [XlibInt.c]
_XFlushGCCache [XCrGC.c]
XFillPolygon [XFillPoly.c]
fl_polygon [libforms.a]
fl_drw_checkbox [libforms.a]
Reading 2040 bytes from 0x1c1c98 in the heap (1 byte at 0x1c2209 uninit).
Address 0x1c1c98 is at the beginning of a malloc'd block of 2048 bytes.
This block was allocated from:
malloc [rtlib.o]
XOpenDisplay [XOpenDis.c]
fl_initialize [libforms.a]
main [Main.C:39]
_start [crt1.o]
Regards,
--Doug
-- ================================================================== Douglas Roberts, TSA-DO/SA | Los Alamos National Laboratory | All good work is done in defiance dzzr@lanl.gov | of management. -- Bob Woodward (505)667-4569 | ================================================================== _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html XForms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/