[Bug 796737] ASYNC_DONE message is dropped leading to hanging application

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 10 05:54:21 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796737

--- Comment #6 from Joakim Johansson <Joakim.Johansson at axis.com> ---
I also tried to delay async_start with a wait condition on the polling flag but
got problem with that solution.

I really do not have that good overview of the code to say if your idea of
solution will work but I am happy to test a patch that you provide and see if
it solves our problem.

However I have some thoughts about bullet three:
1) I do not think that you will get both the async_start and async_done message
while "polling" but what do you mean by do nothing at all in that case? If the
async done is not sent then will our application hang. Shouldn't first the
async_start code be executed and when finished then should the async_done code
be executed.

2) I assume this will be the "normal" branch where we have a queued async_start
but not yet received async_done, what do you mean by behave as normal? Start
the execution of async_start but how will you handle if the async_done is
received while handling the "delayed" async_start?

3) Something must have gone wrong if we get an async_done without a
corresponding async_start, is it correct to only drop it, sounds as an assert
to me to find the error.

-- 
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