dbus_connection_register_object_path() leaks memory

Bug #766953 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dbus

dbus_connection_register_object_path() leaks memory.

This problem was identified via Upstart bug 728531. Essentially, Upstart (erroneously) called dbus_connection_register_object_path() in a tight loop, expecting it to at some point return TRUE. However, due to the Upstart bug, that never happened. What did result though was an OOM situation, causing the machine to crash.

Attached test program demonstrates bug - run it and observe your memory usage. Problem appears to be in the realm of find_subtree_recurse() but have not fully debugged the problem yet.

Revision history for this message
James Hunt (jamesodhunt) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.