GNOME Bugzilla – Bug 576745
NULL value not handled from gst_element_factory_make()
Last modified: 2009-04-27 01:13:31 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.
Fixed in master and 2.26: http://git.gnome.org/cgit/gnome-games/commit/?id=2a7d5af24ab0619061e7cd89c3d07ab2761e4ecb http://git.gnome.org/cgit/gnome-games/commit/?h=gnome-2-26&id=896a149b8cd1cec05d885872dbd5ddbab4ca2fb0