Valgrind warnings

John (J5) Palmieri johnp at redhat.com
Mon Jan 23 11:07:08 PST 2006


On Mon, 2006-01-23 at 13:09 +0000, Ross Burton wrote:
> Hi,
> 
> When I run a DBus app in Valgrind I get these warnings:
> 
> ==27123== Thread 3:
> ==27123== Conditional jump or move depends on uninitialised value(s)
> ==27123==    at 0x448C080: unix_do_iteration (dbus-transport-unix.c:1034)
> ==27123==    by 0x448B0D2: _dbus_transport_do_iteration (dbus-transport.c:715)
> ==27123==    by 0x4477F5B: _dbus_connection_do_iteration_unlocked (dbus-connection.c:1059)
> ==27123==    by 0x4478B2A: _dbus_connection_block_pending_call (dbus-connection.c:2621)
> ==27123==    by 0x44856BB: dbus_pending_call_block (dbus-pending-call.c:310)
> ==27123==    by 0x41A3A04: dbus_g_proxy_end_call_internal (dbus-gproxy.c:2151)
> ==27123==    by 0x41A4487: dbus_g_proxy_call (dbus-gproxy.c:2404)
> 
> Is this a false-positive or a subtle bug with the FD code?
> 
> Ross

It seems that indeed if we don't have poll then revents does not get
initialized.  If we do then it is up to the poll function to initialize
it.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list