[Bug 684765] New: Plugins without a klass in the metadata crashes autoaudiosink
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Sep 25 01:40:51 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=684765
GStreamer | gst-plugins-base | git
Summary: Plugins without a klass in the metadata crashes
autoaudiosink
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: dwnarvaez at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I have a plugin which doesn't call gst_element_class_set_static_metadata and it
causes this crash in the autoaudiosink:
gst-launch-1.0 -v -m audiotestsrc ! audioconvert ! audioresample !
autoaudiosink
Setting pipeline to PAUSED ...
Before klass
Caught SIGSEGV accessing address (nil)
#0 0x0000003ac780eb1a in __libc_waitpid (pid=21796,
#1 0x00007f263ab19e58 in g_on_error_stack_trace (
#2 0x0000000000403b0e in fault_spin () at gst-launch.c:139
#3 fault_handler_sigaction (signum=<optimized out>, si=0x7fff490f76b0,
#4 <signal handler called>
#5 __strstr_sse42 (s1=0x0, s2=0x7f26335b557c "Sink")
#6 0x00007f26335b1d96 in gst_auto_audio_sink_factory_filter (
#7 0x00007f263b4fd868 in gst_registry_feature_filter (registry=0x15cc010,
#8 0x00007f26335b13b9 in gst_auto_audio_sink_find_best (sink=0x183a000)
#9 gst_auto_audio_sink_detect (sink=0x183a000) at gstautoaudiosink.c:348
#10 gst_auto_audio_sink_change_state (element=0x183a000,
#11 0x00007f263b4ce55c in gst_element_change_state (
#12 0x00007f263b4cef31 in gst_element_set_state_func (element=0x183a000,
#13 0x00007f263b4b6fbc in gst_bin_element_set_state (next=GST_STATE_READY,
#14 gst_bin_change_state_func (element=0x18420c0,
#15 0x00007f263b4ce55c in gst_element_change_state (
#16 0x00007f263b4cef31 in gst_element_set_state_func (element=0x18420c0,
#17 0x00000000004032b9 in main (argc=8, argv=0x7fff490f8358)
Spinning. Please run 'gdb gst-launch- 1.0 21792' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list