After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576745 - NULL value not handled from gst_element_factory_make()
NULL value not handled from gst_element_factory_make()
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
2.26.x
Other All
: Normal major
: ---
Assigned To: Robert Ancell
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-25 17:43 UTC by Robert Ancell
Modified: 2009-04-27 01:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Ancell 2009-03-25 17:43:48 UTC
in libgames-support/games-sound.c a crash will occur if gst_element_factory_make() returns NULL.  See documentation for details:
http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstElementFactory.html#gst-element-factory-make

From Launchpad bug:
https://bugs.launchpad.net/ubuntu/+source/gnome-games/+bug/146411

Cause:
GStreamer does not have any plugins?

Solution:
The sound thread should probably not run if cannot create the factory.