gstrtspconnection.c assersion occurred

Sebastian Dröge sebastian at centricular.com
Thu Apr 11 08:01:52 UTC 2019


On Wed, 2019-04-10 at 21:10 -0500, Sooeun Jang wrote:
> 
> The proplem is application aborted by raising gstrtspconnection
> assersion. When I run my application and some hours or later going
> on, It suddenly terminated with signal 11, segmentation fault.
> 
> [...]
>
> #6  0x00007fea67f4b6aa in g_assertion_message_expr (domain=domain at entry=0x0,
> file=file at entry=0x7fea677f0ed5 "gstrtspconnection.c", line=line at entry=3969,
> func=func at entry=0x7fea677f1790 <__func__.39498>
> "gst_rtsp_source_dispatch_write",
>     expr=expr at entry=0x7fea677f13e0 "watch->messages_bytes >= bytes_written")
> at ../glib/gtestutils.c:2555
> #7  0x00007fea677e7c5a in gst_rtsp_source_dispatch_write (stream=<optimized
> out>, watch=0x1d1c800) at gstrtspconnection.c:3969
>
> [...]
>
> and these are pointed source codes in gstrtspconnection.c
> 
>       while (drop_messages > 0) {
>         msg = gst_queue_array_pop_head_struct (watch->messages);
>         g_assert (msg);
>         drop_messages--;
>       }
> 
>       *g_assert (watch->messages_bytes >= bytes_written);*
>       watch->messages_bytes -= bytes_written;
>     }
> 
> I'm using all 1.15.2 version of gstreamer and plugins.
> 
> Is there anybody have advices for checking this error? 

Can you check with 1.15.90 / git master if this problem is solved? Some
issues in that code were fixed after 1.15.2.

If it is still a problem, please create an issue here with all the
information you included in your mail already:
  https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/new

If possible, can you also include a simple testcase to reproduce the
problem? As simple as possible, the shm parts of the pipeline for
example shouldn't make any difference.


Thanks!
-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190411/f26ae786/attachment-0001.sig>


More information about the gstreamer-devel mailing list