One of our other software engineers found this error when running a
Lesstif-based program through Purify.
The line in question is [togglebg.c:796]...
LabG_AccTextRect(new_w).x += margin;
And apparently LabG_AccTextRect(new_w) isn't initialized.
----- Original Message -----
From: Steve Cowan
To: Dave Williss
Sent: Friday, September 03, 2004 11:59 AM
Subject: Something to send to LessTif
[W] UMR: Uninitialized memory read in initialize {5 occurrences}
Reading 2 bytes from 0x0f0507b8 (2 bytes at 0x0f0507b8
uninitialized)
Address 0x0f0507b8 is 120 bytes into a 184 byte block at 0x0f050740
Address 0x0f0507b8 points to a malloc'd block in heap 0x07340000
Thread ID: 0x420
Error location
initialize [togglebg.c:796]
CallInitialize [create.c:212]
xtCreate [create.c:401]
XtCreateWidget [create.c:557]
XtCreateWidget [create.c:585]
MakeItem [bldmenu.c:555]
MxCreateIconPopupMenuButton [bldmenu.c:949]
?A0x3087f944::DLGDATA_getobjd::CreateTopForm(_WidgetRec *)
[getobjd.c:2800]
PrivDlgGetObjects [getobjd.c:4187]
RVC::DlgGetObjects(_WidgetRec *,MISTRING const&,OBJTYPESET::RVC
const&,MILIST<OBJITEM::RVC>&,GETOBJFLAGS,GETOBJFILTER::RVC *,int,int,char
const*) [getobjd.c:7022]
Allocation location
malloc [dbgheap.c:138]
XtMalloc [alloc.c:120]
_XtMalloc [alloc.c:172]
xtWidgetAlloc [create.c:289]
xtCreate [create.c:350]
XtCreateWidget [create.c:557]
XtCreateWidget [create.c:585]
MakeItem [bldmenu.c:555]
MxCreateIconPopupMenuButton [bldmenu.c:949]
?A0x3087f944::DLGDATA_getobjd::CreateTopForm(_WidgetRec *)
[getobjd.c:2800]
MOTU - I am far too important to be a megalomaniac
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Lesstif-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss