[Bug 739542] New: interaudiosrc: racy caps negotiation/fixation
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Nov 2 16:06:02 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=739542
GStreamer | gst-plugins-bad | git
Summary: interaudiosrc: racy caps negotiation/fixation
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: t.i.m at zen.co.uk
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
interaudiosrc occasionally makes the generic/states unit test fail:
0:00:00.083560608 28393 0x7f1720 DEBUG check
generic/states.c:103:test_state_changes_up_and_down_seq: test start
0:00:00.083573401 28393 0x7f1720 DEBUG check
generic/states.c:113:test_state_changes_up_and_down_seq: testing element
interaudiosrc
[New Thread 0x7ffff545d700 (LWP 28411)]
0:00:00.133478286 28393 0x7f1720 DEBUG check
generic/states.c:113:test_state_changes_up_and_down_seq: testing element
interaudiosrc
0:00:00.133741070 28393 0x7f1720 DEBUG check
generic/states.c:113:test_state_changes_up_and_down_seq: testing element
interaudiosrc
0:00:00.133949399 28393 0x7f1720 DEBUG check
generic/states.c:113:test_state_changes_up_and_down_seq: testing element
interaudiosrc
0:00:00.134032778 28393 0x7764a0 ERROR interaudiosrc
gstinteraudiosrc.c:432:gst_inter_audio_src_fixate:<interaudiosrc> fixate
audio/x-raw
(lt-states:28393): GStreamer-CRITICAL **: gst_structure_fixate_field_string:
assertion 'gst_structure_has_field (structure, field_name)' failed
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7ffff545d700 (LWP 28411)]
g_logv (log_domain=0x7ffff766a0f5 <g_log_domain_gstreamer> "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7ffff545cc68) at gmessages.c:1046
1046 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) bt
#0 g_logv (log_domain=0x7ffff766a0f5 <g_log_domain_gstreamer> "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7ffff545cc68) at gmessages.c:1046
#1 0x00007ffff7075c32 in g_log (log_domain=<optimized out>,
log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
format=format at entry=0x7ffff70e339d "%s: assertion '%s' failed")
at gmessages.c:1079
#2 0x00007ffff7075c59 in g_return_if_fail_warning (log_domain=<optimized out>,
pretty_function=pretty_function at entry=0x7ffff7684240 <__func__.19887>
"gst_structure_fixate_field_string",
expression=expression at entry=0x7ffff7683eb0 "gst_structure_has_field
(structure, field_name)") at gmessages.c:1088
#3 0x00007ffff763c06e in gst_structure_fixate_field_string
(structure=0x7cbe60, field_name=0x7ffff624de7e "format", target=0x7ffff624de78
"S16LE") at gststructure.c:2669
#4 0x00007ffff624a4f1 in gst_inter_audio_src_fixate (src=0x7ffff0000020,
caps=0x7cbe60) at gstinteraudiosrc.c:439
#5 0x00007ffff5b678b1 in gst_base_src_fixate (caps=<optimized out>,
bsrc=<optimized out>) at gstbasesrc.c:965
#6 gst_base_src_default_negotiate (basesrc=0x8f96d0) at gstbasesrc.c:3210
#7 0x00007ffff5b655b9 in gst_base_src_negotiate (basesrc=<optimized out>) at
gstbasesrc.c:3255
#8 gst_base_src_loop (pad=0x9427c0) at gstbasesrc.c:2682
#9 0x00007ffff76446d6 in gst_task_func (task=0x944050) at gsttask.c:317
#10 0x00007ffff7095628 in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#11 0x00007ffff7094ca5 in g_thread_proxy (data=0x7764a0) at gthread.c:764
#12 0x00007ffff6e110a4 in start_thread (arg=0x7ffff545d700) at
pthread_create.c:309
#13 0x00007ffff6b45cbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)
I don't know why it has a fixate function in the first place, that doesn't seem
to make sense to me seeing that caps are determined by whatever the sink on the
other end of the surface/tunnel receives.
--
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