lp:~albaguirre/media-hub/fix-using-dead-objects

Created by Alberto Aguirre and last modified
Get this branch:
bzr branch lp:~albaguirre/media-hub/fix-using-dead-objects
Only Alberto Aguirre can upload to this branch. If you are Alberto Aguirre please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Alberto Aguirre
Project:
Media Hub
Status:
Merged

Recent revisions

75. By Alberto Aguirre

Remove previous workaround - gstreamer sometimes hangs when resetting the pipeline.

74. By Alberto Aguirre

avoid state changes after client has been disconnected.

There is a potential race between getting a notification, resetting the pipeline and another instance starting, which will attempt to pause the other player instance for which its client has died.

73. By Alberto Aguirre

Specify functor type for null getter handlers

72. By Alberto Aguirre

Remove potential access to dead objects

71. By Alberto Aguirre

Ensure properties and property getters don't access dead objects.

70. By PS Jenkins bot

Releasing 2.0.0+14.10.20140926-0ubuntu1

69. By Alberto Aguirre

Fix self deadlock when clients disconnect from media::Player

When receiving a media::PlayerImplementation on_client_disconnected signal, avoid calling
remove_player_for_key within the same context as the player object may be deleted (which owns
the signal object whose destructor waits until all slots are dispatched). Fixes: 1371454
Approved by: Jim Hodapp, Thomas Voß

68. By Alberto Aguirre

Prevent dead object access by asynchronous calls to clear_wakelock in media::PlayerImplementation::Private

On an player engine state change - detached threads are launched to clear system/display wakelocks in the future.
Before those threads get a chance to execute, media::PlayerImplementation can be destroyed. By holding a weak_ptr to
 media::PlayerImplementation::Private in the launched threads, access to dead Private objects is prevented. Fixes: 1373722
Approved by: Jim Hodapp, PS Jenkins bot

67. By PS Jenkins bot

Releasing 2.0.0+14.10.20140917-0ubuntu1

66. By Alberto Aguirre

Fix wake lock state machine and subtle race conditions on wake lock refcounts. Fixes: 1368786
Approved by: Jim Hodapp, PS Jenkins bot

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:media-hub
This branch contains Public information 
Everyone can see this information.

Subscribers