Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analysis intermittently freezes with GStreamer-WARNING: Got data flow before segment event #37

Open
smcv opened this issue Dec 28, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@smcv
Copy link
Contributor

smcv commented Dec 28, 2020

I'm updating from 1.0.0 to 1.1.0 in Debian unstable, and during my build/test procedure I found that an automated test was intermittently getting stuck. As a smoke-test for new versions, I run this script https://salsa.debian.org/python-team/packages/rgain3/-/blob/debian/master/debian/tests/replaygain in a virtual machine. The expected result is that it performs replay gain analysis on the four test audio clips found in the same directory as the script itself, as though they were an album (they're actually short clips taken from sound-theme-freedesktop), then terminates successfully.

However, the result I'm actually getting in the test VM is that it hangs, like this:

Checking for Replay Gain information ...
  message-new-instant.oga:none
  phone-incoming-call.oga:none
  phone-outgoing-busy.oga:none
  phone-outgoing-calling.oga:none
Calculating Replay Gain information ...
  message-new-instant.oga:7.70 dB
  phone-incoming-call.oga:-8.91 dB
  phone-outgoing-busy.oga:
(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4621:gst_pad_push_data:<multiqueue2:src_0> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4368:gst_pad_chain_data_unchecked:<vorbisdec2:sink> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4621:gst_pad_push_data:<vorbisdec2:src> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4368:gst_pad_chain_data_unchecked:<src_2:proxypad6> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4621:gst_pad_push_data:<decbin:src_2> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4368:gst_pad_chain_data_unchecked:<conv:sink> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4621:gst_pad_push_data:<conv:src> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4368:gst_pad_chain_data_unchecked:<res:sink> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4621:gst_pad_push_data:<res:src> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4368:gst_pad_chain_data_unchecked:<rg:sink> Got data flow before segment event

(replaygain:1723): GStreamer-WARNING **: 11:55:36.510: ../gst/gstpad.c:4621:gst_pad_push_data:<rg:src> Got data flow before segment event

Message https://marc.info/?l=gstreamer-devel&m=138703546904972&w=2 on the GStreamer upstream mailing list suggests that this might be to do with the change in commit d5cfdd8 - maybe it shouldn't be sending a flush event?

Unfortunately I can't seem to reproduce this when not in the virtual machine, so perhaps it's timing-related.

@chaudum chaudum added the bug Something isn't working label Jan 26, 2021
@vext01
Copy link

vext01 commented May 28, 2022

I saw this on version 1.1.1 on OpenBSD yesterday. Not seen it since.

@iconoclasthero
Copy link

I didn't get more than this, it was on screen and the preceeding lines that were in the backlog weren't much more informative...

(collectiongain:284075): GStreamer-WARNING **: 21:20:39.083: ../gst/gstpad.c:4463:gst_pad_chain_data_unchecked:<rg:sink> Got data flow before segment event

(collectiongain:284075): GStreamer-WARNING **: 21:20:39.083: ../gst/gstpad.c:4736:gst_pad_push_data:<rg:src> Got data flow before segment event
3acfc09e-2acb-4ec6-892d-2fc2aacea952:Checking for Replay Gain information ...
  ./Khruangbin/Khruangbin -- 2019-04-20: Greek Theatre, Berkeley, CA (2019)/Khruangbin -- 01 - Bin Bin.flac:none
  ./Khruangbin/Khruangbin -- 2019-04-20: Greek Theatre, Berkeley, CA (2019)/Khruangbin -- 02 - The Infamous Bill.flac:none
  ./Khruangbin/Khruangbin -- 2019-04-20: Greek Theatre, Berkeley, CA (2019)/Khruangbin -- 03 - Dern Kala.flac:none
  ./Khruangbin/Khruangbin -- 2019-04-20: Greek Theatre, Berkeley, CA (2019)/Khruangbin -- 04 - August 10 >.flac:none
  ./Khruangbin/Khruangbin -- 2019-04-20: Greek Theatre, Berkeley, CA (2019)/Khruangbin -- 05 - Night Nurse.flac:none
  ./Khruangbin/Khruangbin -- 2019-04-20: Greek Theatre, Berkeley, CA (2019)/Khruangbin -- 06 - Lady and Man.flac:none

Running a derivative of Ubuntu noble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants