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 729293 - autoaudiosink will not use a working audiosink if it encounters a fatal error in an audiosink
autoaudiosink will not use a working audiosink if it encounters a fatal error...
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-30 22:51 UTC by jezra
Modified: 2014-07-17 06:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jezra 2014-04-30 22:51:38 UTC
When running `gst-launch-1.0 autoaudiotestsrc ! autoaudiosink`, audioaudiosink will stop looking for an appropriate audiosink if a fatal error in an audiosink is encountered.

This may be a very fringe case, and my system is an ARM device with kernel 3.14.2 and gst-plugins-good installed.

gst-launch-1.0 autoaudiotestsrc ! autoaudiosink gives me the error: 
FATAL: cannot locate cpu MHz in /proc/cpuinfo

`gst-launch-1.0 autoaudiotestsrc ! alsasink` works just fine, however, and removing gst-plugins-good resolves the issue.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2014-07-15 19:32:30 UTC
what prints
FATAL: cannot locate cpu MHz in /proc/cpuinfo
can you run this under gdb and get us a backtrace. We run element registration in a separate process to catch such issues, but if any element calls exit() at runtime, there is nothing we can do here.
Comment 2 jezra 2014-07-16 22:55:15 UTC
Sadly, I am no longer in possession of the ARM system where this was showing up.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2014-07-17 06:53:45 UTC
I am quite certain, one of the sink elements or the libraries it uses was calling exit() :/
I am closing the bug.