dbus_connection_register_object_path() leaks memory

Bug #766953 reported by James Hunt on 2011-04-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus (Ubuntu)

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.

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

Other bug subscribers