RidgeRun / gstd

GStreamer Daemon is a GStreamer framework for controlling audio and video streaming using D-Bus messages
26 stars 7 forks source link

*** Error in `gstd': free(): invalid pointer: 0xb518f000 *** #15

Open Harishrelysys opened 5 years ago

Harishrelysys commented 5 years ago

Hi all, I am using gstd and interpipe elements to store, stream and display the video and everything is working fine.But when i run the video script for long time (after 10 hr) I am getting below error

error: Error in `gstd': free(): invalid pointer: 0xb518f000

Please tell me the reason for this error

gstreamer version:1.12.1 kernel: 4.4.138 RAM:1GB

Is their any new release of gstd and gst-interpipe element

Thanks in advance,

michaelgruner commented 5 years ago

Hi, this repository is an unmaintained gstd written for GStreamer 0.10. Did you mean to report this bug on gstd-1.x (the Gstreamer 1.0 version)?

Harishrelysys commented 5 years ago

Hi michaelgruner, Thanks for the reply we are using gstd version 0.6.2 and GStreamer 1.0 (1.12.1),is this is the latest version of gstd are do you have any updated version of gstd and also we are using rtspsink element it is asking for some fix below is the complete debug log of gstd

gstd log:

> root@iwg22m:~# gstd --gst-debug-level=3
> 0:00:13.877198499  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:14.553328868  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:14.648613545  1714    0xac030 WARN                     omx gstomx.c:2513:gst_omx_parse_hacks: Unknown hack: renesas-encmc-max-nbuffersize 
> 0:00:14.725103976  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:14.800104653  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:14.901414776  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:14.955225422  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:19.045792163  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:22.277807764  1714 0xb523f8f0 WARN                    v4l2 gstv4l2object.c:3361:gst_v4l2_object_set_format_full:<v4l2src0> Failed to set crop to 640x480
> 0:00:22.278075764  1714 0xb523f8f0 WARN                    v4l2 gstv4l2object.c:3481:gst_v4l2_object_set_format_full:<v4l2src0> Failed to set crop to 640x480
> 0:00:23.361466072  1714 0xb523f8f0 WARN              vspmfilter gstvspmfilter.c:632:gst_vspm_filter_set_info:<vspmfilter0> vspm_allocation_request query failed
> 0:00:23.498912042  1714 0xb523f8f0 WARN              vspmfilter gstvspmfilter.c:632:gst_vspm_filter_set_info:<vspmfilter1> vspm_allocation_request query failed
> 0:00:25.339597089  1714 0xb523f750 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:25.567245550  1714 0xb523af80 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc0> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:00:28.407917151  1714    0xac030 WARN             waylandsink wlvideoformat.c:236:gst_wl_kms_format_to_video_format: gst video format not found
> 0:00:28.408062475  1714    0xac030 WARN             waylandsink wldisplay.c:190:kms_format: waylandsink doesn't support RGB8
> 0:00:28.408161736  1714    0xac030 WARN             waylandsink wlvideoformat.c:236:gst_wl_kms_format_to_video_format: gst video format not found
> 0:00:28.408207275  1714    0xac030 WARN             waylandsink wldisplay.c:190:kms_format: waylandsink doesn't support NV61
> 0:00:28.412337490  1714 0xb523f830 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc1:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:28.447640598  1714 0xb523af80 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc1> Buffers running time can not be synchronized yet with the interpipesrc running time
> 
> (gstd:1714): GStreamer-CRITICAL **: Registering meta implementation 'GstWlKmsMeta' without init function
> 0:00:28.626938905  1714 0xb2678a60 WARN           interpipesink gstinterpipesink.c:880:gst_inter_pipe_sink_receive_event:<video1_src> Could not send event upstream, more than one listener is connected
> 0:00:31.481402107  1714 0xb523aec0 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc2:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:31.515278968  1714    0xac6c0 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc2> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:00:31.670604661  1714 0xb2678c60 WARN           interpipesink gstinterpipesink.c:880:gst_inter_pipe_sink_receive_event:<video1_src> Could not send event upstream, more than one listener is connected
> 0:00:34.563721677  1714 0xb5241780 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc3:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:34.709299985  1714    0xac6c0 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc3> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:00:37.633478479  1714 0xb523f520 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc4:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:37.889844325  1714 0xb523f6f0 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc4> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:00:40.699573126  1714 0xb523f630 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc5:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:40.746226788  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:40.804013219  1714    0xac6c0 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc5> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:00:40.960735034  1714 0xb523f6c0 FIXME               basesink gstbasesink.c:3144:gst_base_sink_default_event:<filesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
> 0:00:40.968102911  1714 0xb5c0da00 WARN           interpipesink gstinterpipesink.c:880:gst_inter_pipe_sink_receive_event:<video1_main> Could not send event upstream, more than one listener is connected
> 0:00:40.977039988  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:41.039698111  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:41.106124603  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:41.174278634  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:41.237369096  1714    0xac030 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:44.630371589  1714 0xb5c0da00 WARN           interpipesink gstinterpipesink.c:880:gst_inter_pipe_sink_receive_event:<video1_main> Could not send event upstream, more than one listener is connected
> 0:00:45.327986082  1714 0xb5c0da00 FIXME                gstdtcp gstd_tcp.c:438:gstd_tcp_create:<GstdSession@0xa6c18> Currently hardcoded to create pipelines and events, we must be generic enough to create any type of object
> 0:00:48.471566822  1714 0xb52f4750 WARN                    v4l2 gstv4l2object.c:3361:gst_v4l2_object_set_format_full:<v4l2src1> Failed to set crop to 640x480
> 0:00:48.471932422  1714 0xb52f4750 WARN                    v4l2 gstv4l2object.c:3481:gst_v4l2_object_set_format_full:<v4l2src1> Failed to set crop to 640x480
> 0:00:48.639544391  1714 0xb52f4750 WARN              vspmfilter gstvspmfilter.c:632:gst_vspm_filter_set_info:<vspmfilter3> vspm_allocation_request query failed
> 0:00:48.656470084  1714 0xb52f4750 WARN              vspmfilter gstvspmfilter.c:632:gst_vspm_filter_set_info:<vspmfilter4> vspm_allocation_request query failed
> 0:00:51.461254423  1714 0xb52f4400 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc6:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:51.570627285  1714 0xb52f4520 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc6> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:00:54.528803225  1714 0xb5c0da00 WARN             waylandsink wlvideoformat.c:236:gst_wl_kms_format_to_video_format: gst video format not found
> 0:00:54.528952855  1714 0xb5c0da00 WARN             waylandsink wldisplay.c:190:kms_format: waylandsink doesn't support RGB8
> 0:00:54.529051871  1714 0xb5c0da00 WARN             waylandsink wlvideoformat.c:236:gst_wl_kms_format_to_video_format: gst video format not found
> 0:00:54.529097071  1714 0xb5c0da00 WARN             waylandsink wldisplay.c:190:kms_format: waylandsink doesn't support NV61
> 0:00:54.535048794  1714 0xa434d430 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc7:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:54.610626055  1714 0xb52f4520 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc7> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:00:54.787526271  1714 0xa0671600 WARN           interpipesink gstinterpipesink.c:880:gst_inter_pipe_sink_receive_event:<video0_src> Could not send event upstream, more than one listener is connected
> 0:00:57.608524303  1714 0xa434d580 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc8:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:00:57.670406765  1714 0xb52f4580 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc8> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:00:57.991831042  1714 0xa39848f0 WARN           interpipesink gstinterpipesink.c:880:gst_inter_pipe_sink_receive_event:<video0_src> Could not send event upstream, more than one listener is connected
> 0:01:00.681341997  1714 0xa434d4c0 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc9:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:01:00.712426797  1714 0xb52f4580 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc9> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:01:03.773955106  1714 0xb52f4600 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc10:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:01:04.069215414  1714 0xb52f44c0 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc10> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:01:06.841779076  1714 0xb52f4550 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<interpipesrc11:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:01:06.950767230  1714 0xb52f4580 WARN            interpipesrc gstinterpipesrc.c:632:gst_inter_pipe_src_push_buffer:<interpipesrc11> Buffers running time can not be synchronized yet with the interpipesrc running time
> 0:01:07.129570400  1714 0xb52f4260 FIXME               basesink gstbasesink.c:3144:gst_base_sink_default_event:<filesink1> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
> 0:01:07.134865815  1714 0x96b41490 WARN           interpipesink gstinterpipesink.c:880:gst_inter_pipe_sink_receive_event:<video0_main> Could not send event upstream, more than one listener is connected
> 0:01:10.796449263  1714 0xb5c0da00 WARN           interpipesink gstinterpipesink.c:880:gst_inter_pipe_sink_receive_event:<video0_main> Could not send event upstream, more than one listener is connected
> 0:03:56.402708106  1714 0xa434d520 WARN                  appsrc gstappsrc.c:1721:gst_app_src_push_buffer_full:<rtspsinkpad3> do-timestamp=TRUE but buffers are provided before reaching the PLAYING state and having a clock. Timestamps will not be accurate!
> 0:03:56.408823368  1714 0xb520d4f0 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<appsrc1:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:03:56.414711244  1714 0xa434d7b0 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<rtspsinkpad3:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:03:56.427767029  1714    0xac0c0 FIXME              rtspmedia rtsp-media.c:3581:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing
> 0:03:56.431345675  1714    0xac0c0 FIXME              rtspmedia rtsp-media.c:3581:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing
> 0:03:56.431452783  1714    0xac0c0 WARN               rtspmedia rtsp-media.c:3607:gst_rtsp_media_suspend: media 0x96bdc2a0 was not prepared
> 0:03:59.458115430  1714 0xb5cf1c90 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<appsrc3:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:03:59.463782415  1714 0xb5cf1af0 FIXME                default gstutils.c:3902:gst_pad_create_stream_id_internal:<rtspsinkpad0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> 0:03:59.518511030  1714 0xa4349780 FIXME              rtspmedia rtsp-media.c:3581:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing
> 0:03:59.521834877  1714 0xa4349780 FIXME              rtspmedia rtsp-media.c:3581:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing
> 0:03:59.521945123  1714 0xa4349780 WARN               rtspmedia rtsp-media.c:3607:gst_rtsp_media_suspend: media 0xa3a647e0 was not prepared

Sometimes gstd will work for 2 days with out this error,but sometimes it will give this invalid pointer error,can you please tell what causes this error

Thank You