crash when gstreamer cannot be initalized

Bug #1115276 reported by Harald Sitter
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phonon-backend-gstreamer (Ubuntu)
Fix Released
Low
Harald Sitter
Precise
Won't Fix
Low
Harald Sitter
Quantal
Won't Fix
Low
Harald Sitter
Raring
Fix Released
Low
Harald Sitter

Bug Description

[Impact]
In 4.6.2 when gstreamer cannot be initialized successfully (broken cache for example) or phonon-gstreamer's runtime requirements are not met, it will still try to create objects with appropriate validity values. However those objects are not appropriately validated in every function, such that at some alter time a phonon-gstreamer based application will crash for no apparent reason.
This is easily overcome by simply relying on the already present validation system in libphonon, to do that phonon-gstreamer simply must not return objects (return 0).

[Test Case]
Forcefully uninstall all gstreamer plugins and try to play a video with dragon player. It should crash.

[Regression Potential]
None. If gst could not be initalized phonon gstreamer would not have worked at all, this remains the same, except now it cannot crash when accessing uninitalized pipeline parts etc.

Changed in phonon-backend-gstreamer (Ubuntu Quantal):
status: New → Triaged
Changed in phonon-backend-gstreamer (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Low
Changed in phonon-backend-gstreamer (Ubuntu Quantal):
importance: Undecided → Low
assignee: nobody → Harald Sitter (apachelogger)
Changed in phonon-backend-gstreamer (Ubuntu Precise):
assignee: nobody → Harald Sitter (apachelogger)
Changed in phonon-backend-gstreamer (Ubuntu Raring):
status: Fix Committed → Fix Released
Changed in phonon-backend-gstreamer (Ubuntu Precise):
status: Triaged → In Progress
Changed in phonon-backend-gstreamer (Ubuntu Quantal):
status: Triaged → In Progress
Revision history for this message
Scott Kitterman (kitterman) wrote : Please test proposed package

Hello Harald, or anyone else affected,

Accepted into quantal-proposed. The package will build now and be available in a few hours in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in phonon-backend-gstreamer (Ubuntu Quantal):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : [phonon-backend-gstreamer/precise] verification still needed

The fix for this bug has been awaiting testing feedback in the -proposed repository for precise for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.

tags: added: removal-candidate
Revision history for this message
Steve Langasek (vorlon) wrote :

This SRU has remained unverified after 239 days in the -proposed queue. I've removed it now from quantal-proposed and am marking the task 'wontfix'.

Changed in phonon-backend-gstreamer (Ubuntu Quantal):
status: Fix Committed → Won't Fix
Rolf Leggewie (r0lf)
Changed in phonon-backend-gstreamer (Ubuntu Precise):
status: In Progress → Won't Fix
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.