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 692013 - Assertion hit in gst_audio_ring_buffer_set_channel_positions()
Assertion hit in gst_audio_ring_buffer_set_channel_positions()
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.0.5
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-18 14:51 UTC by Christophe Dumez
Modified: 2018-05-04 13:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log with GST_DEBUG=3 (34.46 KB, text/plain)
2013-01-19 19:02 UTC, Christophe Dumez
Details
Media file that the test is loading (32.45 KB, video/mpeg)
2013-01-19 19:04 UTC, Christophe Dumez
Details
Log with GST_DEBUG=5 (726.58 KB, application/x-gzip)
2013-01-19 19:06 UTC, Christophe Dumez
Details
Log with GST_DEBUG=6 (717.56 KB, application/x-bzip)
2013-01-19 19:46 UTC, Christophe Dumez
Details

Description Christophe Dumez 2013-01-18 14:51:48 UTC
We sometimes hit the following assertion when running the media tests in WebKit:

** (WebProcess:16613): CRITICAL **: file gstaudioringbuffer.c: line 1939 (gst_audio_ring_buffer_set_channel_positions): should not be reached

Program received signal SIGTRAP, Trace/breakpoint trap.

Thread 140735725446912 (LWP 16812)

  • #0 g_logv
  • #1 g_log
    at gmessages.c line 792
  • #2 gst_audio_ring_buffer_set_channel_positions
    at gstaudioringbuffer.c line 1939
  • #3 alsasink_parse_spec
    at gstalsasink.c line 807
  • #4 gst_alsasink_prepare
    at gstalsasink.c line 869
  • #5 gst_audio_sink_ring_buffer_acquire
    at gstaudiosink.c line 404
  • #6 gst_audio_ring_buffer_acquire
    at gstaudioringbuffer.c line 542
  • #7 gst_audio_base_sink_setcaps
    at gstaudiobasesink.c line 883
  • #8 gst_base_sink_default_event
    at gstbasesink.c line 2912
  • #9 gst_audio_base_sink_event
    at gstaudiobasesink.c line 1085
  • #10 gst_base_sink_event
    at gstbasesink.c line 3014
  • #11 gst_pad_send_event_unchecked
    at gstpad.c line 4821
  • #12 gst_pad_push_event_unchecked
    at gstpad.c line 4514
  • #13 push_sticky
    at gstpad.c line 3285
  • #14 events_foreach
    at gstpad.c line 514
  • #15 check_sticky
    at gstpad.c line 3333
  • #16 gst_pad_push_event
    at gstpad.c line 4635
  • #17 event_forward_func
    at gstpad.c line 2719
  • #18 gst_pad_forward
    at gstpad.c line 2673
  • #19 gst_pad_event_default
    at gstpad.c line 2770
  • #20 gst_pad_send_event_unchecked
  • #21 gst_pad_push_event_unchecked
    at gstpad.c line 4514
  • #22 push_sticky
    at gstpad.c line 3285
  • #23 events_foreach
    at gstpad.c line 514
  • #24 check_sticky
    at gstpad.c line 3333
  • #25 gst_pad_push_event
    at gstpad.c line 4635
  • #26 event_forward_func
    at gstpad.c line 2719
  • #27 gst_pad_forward
    at gstpad.c line 2673
  • #28 gst_pad_event_default
    at gstpad.c line 2770
  • #29 gst_pad_send_event_unchecked
    at gstpad.c line 4821
  • #30 gst_pad_push_event_unchecked
    at gstpad.c line 4514
  • #31 push_sticky
    at gstpad.c line 3285
  • #32 events_foreach
    at gstpad.c line 514
  • #33 check_sticky
    at gstpad.c line 3333
  • #34 gst_pad_push_event
    at gstpad.c line 4635
  • #35 gst_pad_set_caps
    at ../../../gst/gstcompat.h line 71
  • #36 gst_base_transform_setcaps
    at gstbasetransform.c line 1326
  • #37 gst_base_transform_sink_eventfunc
    at gstbasetransform.c line 1826
  • #38 gst_base_transform_sink_event
    at gstbasetransform.c line 1785
  • #39 gst_pad_send_event_unchecked
    at gstpad.c line 4821
  • #40 gst_pad_push_event_unchecked
    at gstpad.c line 4514
  • #41 push_sticky
    at gstpad.c line 3285
  • #42 events_foreach
    at gstpad.c line 514
  • #43 check_sticky
    at gstpad.c line 3333
  • #44 gst_pad_push_event
    at gstpad.c line 4635
  • #45 gst_pad_set_caps
    at ../../../gst/gstcompat.h line 71
  • #46 gst_base_transform_setcaps
    at gstbasetransform.c line 1326
  • #47 gst_base_transform_sink_eventfunc
    at gstbasetransform.c line 1826
  • #48 gst_audio_resample_sink_event
    at gstaudioresample.c line 917
  • #49 gst_base_transform_sink_event
    at gstbasetransform.c line 1785
  • #50 gst_pad_send_event_unchecked
    at gstpad.c line 4821
  • #51 gst_pad_push_event_unchecked
    at gstpad.c line 4514
  • #52 push_sticky
    at gstpad.c line 3285
  • #53 events_foreach
    at gstpad.c line 514
  • #54 check_sticky
    at gstpad.c line 3333
  • #55 gst_pad_push_event
    at gstpad.c line 4635
  • #56 gst_pad_set_caps
    at ../../../gst/gstcompat.h line 71
  • #57 gst_base_transform_setcaps
    at gstbasetransform.c line 1326
  • #58 gst_base_transform_sink_eventfunc
    at gstbasetransform.c line 1826
  • #59 gst_base_transform_sink_event
    at gstbasetransform.c line 1785
  • #60 gst_pad_send_event_unchecked
    at gstpad.c line 4821
  • #61 gst_pad_push_event_unchecked
    at gstpad.c line 4514
  • #62 push_sticky
    at gstpad.c line 3285
  • #63 events_foreach
    at gstpad.c line 514
  • #64 check_sticky
    at gstpad.c line 3333
  • #65 gst_pad_push_event
    at gstpad.c line 4635
  • #66 event_forward_func
    at gstpad.c line 2719
  • #67 gst_pad_forward
    at gstpad.c line 2673
  • #68 gst_pad_event_default
    at gstpad.c line 2770
  • #69 gst_play_sink_convert_bin_sink_event
    at gstplaysinkconvertbin.c line 274
  • #70 gst_pad_send_event_unchecked
    at gstpad.c line 4821
  • #71 gst_pad_push_event_unchecked
    at gstpad.c line 4514
  • #72 push_sticky
    at gstpad.c line 3285
  • #73 events_foreach
    at gstpad.c line 514
  • #74 check_sticky
    at gstpad.c line 3333
  • #75 gst_pad_push_event
    at gstpad.c line 4635
  • #76 gst_queue_push_one
    at gstqueue.c line 1096
  • #77 gst_queue_loop
    at gstqueue.c line 1161
  • #78 gst_task_func
    at gsttask.c line 316
  • #79 default_func
    at gsttaskpool.c line 70
  • #80 g_thread_pool_thread_proxy
    at gthreadpool.c line 309
  • #81 g_thread_proxy
    at gthread.c line 801
  • #82 start_thread
    at pthread_create.c line 308
  • #83 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 112

Note that this happens randomly and I do not have a reliable way to reproduce at the moment.
Comment 1 Tim-Philipp Müller 2013-01-19 14:47:21 UTC
This probably indicates a problem with the input caps, or with the queried caps from the device.

There is no way to run that particular webkit test in a loop over and over again to reproduce it?

I think we need a GST_DEBUG log for the failure.

It would also be good to know which test it is, what the input is, and what elements (parsers/demuxers/codecs) are used.
Comment 2 Christophe Dumez 2013-01-19 19:02:14 UTC
Created attachment 233886 [details]
Log with GST_DEBUG=3
Comment 3 Christophe Dumez 2013-01-19 19:04:24 UTC
Created attachment 233887 [details]
Media file that the test is loading
Comment 4 Christophe Dumez 2013-01-19 19:06:54 UTC
Created attachment 233888 [details]
Log with GST_DEBUG=5
Comment 5 Tim-Philipp Müller 2013-01-19 19:10:42 UTC
Thanks! a GST_DEBUG=6 log would be ideal (=LOG level in 1.0).
Comment 6 Christophe Dumez 2013-01-19 19:46:14 UTC
Created attachment 233891 [details]
Log with GST_DEBUG=6

Sure. Hope this helps.
Comment 7 Olivier Crête 2018-05-04 13:21:23 UTC
No one has complained about this in 4 years, so I assume it's already fixed. Other please re-open and hopefully someone who cares about WebkitGTK can look into it.