[Bug 1115276] [NEW] crash when gstreamer cannot be initalized
Harald Sitter
sitter.harald at gmail.com
Mon Feb 4 14:32:31 UTC 2013
Public bug reported:
[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.
** Affects: phonon-backend-gstreamer (Ubuntu)
Importance: Low
Assignee: Harald Sitter (apachelogger)
Status: Fix Committed
** Affects: phonon-backend-gstreamer (Ubuntu Precise)
Importance: Low
Assignee: Harald Sitter (apachelogger)
Status: Triaged
** Affects: phonon-backend-gstreamer (Ubuntu Quantal)
Importance: Low
Assignee: Harald Sitter (apachelogger)
Status: Triaged
** Affects: phonon-backend-gstreamer (Ubuntu Raring)
Importance: Low
Assignee: Harald Sitter (apachelogger)
Status: Fix Committed
** Also affects: phonon-backend-gstreamer (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: phonon-backend-gstreamer (Ubuntu Quantal)
Importance: Undecided
Status: New
** Also affects: phonon-backend-gstreamer (Ubuntu Raring)
Importance: Low
Assignee: Harald Sitter (apachelogger)
Status: Fix Committed
** Changed in: phonon-backend-gstreamer (Ubuntu Quantal)
Status: New => Triaged
** Changed in: phonon-backend-gstreamer (Ubuntu Precise)
Status: New => Triaged
** Changed in: phonon-backend-gstreamer (Ubuntu Precise)
Importance: Undecided => Low
** Changed in: phonon-backend-gstreamer (Ubuntu Quantal)
Importance: Undecided => Low
** Changed in: phonon-backend-gstreamer (Ubuntu Quantal)
Assignee: (unassigned) => Harald Sitter (apachelogger)
** Changed in: phonon-backend-gstreamer (Ubuntu Precise)
Assignee: (unassigned) => Harald Sitter (apachelogger)
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon-backend-gstreamer in Ubuntu.
https://bugs.launchpad.net/bugs/1115276
Title:
crash when gstreamer cannot be initalized
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon-backend-gstreamer/+bug/1115276/+subscriptions
More information about the kubuntu-bugs
mailing list