crash when gstreamer cannot be initalized
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 |
Changed in phonon-backend-gstreamer (Ubuntu Precise): | |
status: | In Progress → Won't Fix |
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/ PerformingSRUVe rification . Thank you in advance!