gstapp timeout and application crash
Hello,
We have a Media Server integrated with GStreamer for transcoding. Our application is running absolutely fine in production system. Recently, we have upgraded the G-Streamer to 1.20.0 version and integration went fine without errors.
When we run the application, even for a single call we see that G-Streamer timeout happens when we transcode the media. Every time our Media Server application crashed due to this issue and the dump is being generated.
While analysing the dump, it is pointing the G-Streamer function as mentioned below,
0:159> ~#kv
ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
2d11eb6c 6fb4986b 2678e7c0 0a15bea8 f1683d72 0x1633eaed
2d11eb98 77c58389 00000000 00000021 25d2b0a8 **libgstapp_1_0_0!gst_app_src_set_callbacks+0x16ab**
2d11ec30 77c582b7 25d2b0a8 6df29bed 6810ab1e ntdll!RtlReAllocateHeap+0x109
2d11ec6c 64bf74bb 25d2b0a8 2d11ec8c 7573261b ntdll!RtlReAllocateHeap+0x37
2d11ec78 7573261b 01430000 00000000 00000000 libglib_2_0_0!g_realloc+0x2b
2d11ec8c 64c4688f 266b3634 00000000 00000020 ucrtbase!free_base+0x1b
2d11ecac 6de99217 266b3634 2d11ecf0 77c53e1d libglib_2_0_0!g_mutex_unlock+0xf
2d11ecb8 77c53e1d 0000000c 00000000 264da6c1 libgstreamer_1_0_0!gst_mini_object_remove_parent+0x3527
2d11ed1c 64bf74bb 262ff548 00000000 00000000 ntdll!RtlAllocateHeap+0x23d
00000000 00000000 00000000 00000000 00000000 libglib_2_0_0!g_realloc+0x2b
Please provide your comments on this issue and let us know if you need any additional information.
Also please provide steps to capture the G-Streamer logs.
Note: We can able to capture the G-Streamer logs when we invoke it independently. How do we capture the logs when G-Streamer integrated with any other application ?
Thanks in advance, Gokila