It's required to leak the default server

Bug #973480 reported by Robert Carr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libindicate
Triaged
Undecided
Unassigned
libindicate (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Because libindicate doesn't use GObject properties for IndicateIndicator::server there is a 'race condition' in indicate_indicator_new_with server. Calling it will cause a new indicator to be constructed on the default server, which unless the default server is already being used...will instantiate it and trigger an async request for the session bus.

After g_object_new returns, the new server is set, the default server is unreffed, but the bus_get_cb is not cancelled.

KABOOM

Revision history for this message
Charles Kerr (charlesk) wrote :

Thanks for the report. ...how did you find this? :)

Changed in libindicate:
status: New → Triaged
Revision history for this message
Charles Kerr (charlesk) wrote :

Robert, does this bug affect existing features in LTS?

If not, I'm leaning towards closing this ticket as WontFix now that libmessaging-menu has superceded libindicate.

Ted Gould (ted)
Changed in libindicate (Ubuntu):
status: New → Triaged
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.