|
From: Leonard m. <spa...@ya...> - 2003-06-12 15:45:54
|
Seeing a few strange things running valgrind on an app linked with X
(XFree86 4.2.0).
At one point this app calls XQueryExtension like this:
XQueryExtension( display, XF86VIDMODENAME,
&major_opcode, &first_event, &first_error )
I can print out all the arguments and they're fine (they don't trip
any valgrind errors at least), but when this routine its called, it
generates an uninitialized data used error down in the X send code.
However, if I put this call in a stand-alone program with just an
XOpenDisplay before it it works fine.
Any ideas? This looks similar to a "Resulting from R H 8.0"
suppression in the default suppression files, so I'm hoping whoever
added it will see this and reply.
Thanks,
Randall
Syscall param writev(vector[...]) contains uninitialised or
unaddressable byte(s)
at 0x4017C281: vgAllRoadsLeadToRome_writev (vg_intercept.c:108)
by 0x4017C2BE: __writev (vg_intercept.c:731)
by 0x408210AF: _X11TransSocketWritev (in
/usr/X11R6/lib/libX11.so.6.2)
by 0x40821CCE: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2)
by 0x40801CF4: _XSend (in /usr/X11R6/lib/libX11.so.6.2)
by 0x407F810A: XQueryExtension (in /usr/X11R6/lib/libX11.so.6.2)
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
|