<div dir="auto">My 2 cents...<div dir="auto"><br></div><div dir="auto">Could this be a threading issue? Make sure that the thread that feeds buffers to appsrc also sets the eos on appsrc. Otherwise, If the calls to gst_app_src_push_bufffer() and gst_app_src_end_of_stream() are from different threads, you can protect the two calls with a GMutex or a CRITICAL_SECTION.</div><div dir="auto"><br></div><div dir="auto">Just guessing</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il mar 7 gen 2020, 14:15 Mailing List SVR <<a href="mailto:lists@svrinformatica.it" rel="noreferrer noreferrer noreferrer" target="_blank">lists@svrinformatica.it</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il 24/12/19 09:58, hemanth.chandrashekar@in.unisy ha scritto:<br>
> Hello,<br>
><br>
> We have one of our Windows application integrated with "G-Streamer 1.12.0"<br>
> and is running fine both on test/production system.<br>
><br>
> As the load on system/G-Streamer increases, we are facing the application<br>
> crash. On analyzing the dump file, it is pointing to one of the method call<br>
> from G-Streamer.<br>
><br>
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols for<br>
> c:\gstreamer\1.0\x86\bin\libgstapp-1.0-0.dll -<br>
> libgstapp_1_0_0!gst_app_src_end_of_stream+0x1c:<br>
><br>
> FAULTING_MODULE: 772b0000 ntdll<br>
><br>
> DEBUG_FLR_IMAGE_TIMESTAMP:  590c30b7<br>
><br>
> ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced<br>
> memory at 0x%p. The memory could not be %s.<br>
><br>
> EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced<br>
> memory at 0x%p. The memory could not be %s.<br>
><br>
> EXCEPTION_PARAMETER1:  00000000<br>
><br>
> EXCEPTION_PARAMETER2:  80000358<br>
><br>
> READ_ADDRESS:  80000358<br>
><br>
> FOLLOWUP_IP:<br>
> libgstapp_1_0_0!gst_app_src_end_of_stream+1c<br>
> 703c349c 8b13            mov     edx,dword ptr [ebx]<br>
><br>
> BUGCHECK_STR:  APPLICATION_FAULT_INVALID_POINTER_READ_WRONG_SYMBOLS<br>
><br>
> PRIMARY_PROBLEM_CLASS:  INVALID_POINTER_READ<br>
><br>
> DEFAULT_BUCKET_ID:  INVALID_POINTER_READ<br>
><br>
> LAST_CONTROL_TRANSFER:  from 0168a214 to 703c349c<br>
><br>
><br>
> We are curious how to identify the root cause of this issue. Although it<br>
> takes some effort to recreate this issue, we can still see the problem with<br>
> load on the consistence failure.<br>
><br>
> I was reading in some portals if we can get some help without luck.<br>
> Appreciate if you can review and comment..<br>
><br>
> Code snippet where "gst_app_src_end_of_stream" is invoked ...<br>
><br>
> *static bool handleTerminateRequest(const wstring &reason,<br>
> VnmsStreamProcessor *proc)<br>
> {<br>
>       GstFlowReturn ret;<br>
>       /* we are EOS, send end-of-stream and remove the source */<br>
>       TR_TRACE( informTrace, 0, proc->Port << reason);<br>
>       ret = gst_app_src_end_of_stream((GstAppSrc*)proc->source);<br>
<br>
maybe proc->source was previously unreffed and so it is not valid anymore,<br>
<br>
regards<br>
Nicola<br>
<br>
>       if (ret != GST_FLOW_OK)<br>
>       {<br>
>               TR_TRACE( errorTrace, 0, proc->Port << L"handleTerminateRequest: error<br>
> pushing end-of-stream buffer : " << ret);<br>
>       }<br>
>       SetEvent(proc->hInputDataProcessedEvent);<br>
>       return FALSE;<br>
> }*<br>
><br>
> Regards,<br>
> Hemanth<br>
><br>
><br>
><br>
> --<br>
> Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>