After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791416 - gst-play:When repeat playing a video file for a long time, the gst-play process segmentation fault
gst-play:When repeat playing a video file for a long time, the gst-play proce...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.2.4
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-09 13:54 UTC by baijundong
Modified: 2018-07-10 07:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The modifed source code (14.48 KB, text/x-csrc)
2017-12-09 13:54 UTC, baijundong
Details

Description baijundong 2017-12-09 13:54:03 UTC
Created attachment 365290 [details]
The modifed source code

Hi everyone

    I got gst-play source code from the following website, and modified video sink and audio sink for Adapting my software environment
    After Compiling successful, started the gst-play process. The process play the only an video file(duration:1S) with cicle repeat.
	After a long time,The process crashed.The probability of occurrence is 100%. 
	
	How to solve this problem?
    
gstreamer's sample source:	
https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.2.4.tar.xz/tools/gst-play.c

Platforms:Armv7l GNU/Linux
Gstreamer:1.2.4
sink:audio sink:pulsesink|video sink:v4l2sink

segmentation fault content is:
----core dump----
	Program terminated with signal SIGSEGV, Segmentation fault.
  • #0 gst_caps_features_is_equal
    from /usr/lib/libgstreamer-1.0.so.0
  • #0 gst_caps_features_is_equal
    from /usr/lib/libgstreamer-1.0.so.0
  • #1 gst_caps_intersect_full
    from /usr/lib/libgstreamer-1.0.so.0
  • #2 ??
    from /usr/lib/gstreamer-1.0/libgstvideo4linux2.so

Gstreamer Dedug info is:
----Dedug info----
Now playing /home/root/vlc-record-1.mp4
Prerolling...
(gst-play:628): GStreamer-CRITICAL **: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
ERROR Internal data stream error. for file:///home/root/vlc-record-1.mp4
ERROR debug information: /home/neusoft/workspace/Trunk/Project/build_jp/tmp/work/cortexa7-vfp-neon-neusoft-linux-gnueabi/gstreamer1.0-omx/1.2.0-r1/git/omx/gstomxvideodec.c(2147): gst_omx_video_dec_loop (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec857:
stream stopped, reason not-negotiated

(gst-play:628): GStreamer-CRITICAL **: gst_value_intersect: assertion 'G_IS_VALUE(value2)' failed
----Dedug info----
Comment 1 Tim-Philipp Müller 2017-12-09 14:08:21 UTC
Thanks for the bug report, but 1.2.4 is a very old and no longer support.

Please try with a more recent version such as the latest stable release (1.12.4).

Feel free to re-open this bug or file a new bug if you're still having problems with a recent version, thanks!
Comment 2 baijundong 2017-12-11 02:39:26 UTC
to Tim-Philipp Müller

Thank you very much for your reply~
I will choose more recent version to test the problem. (In reply to Tim-Philipp Müller from comment #1)
> Thanks for the bug report, but 1.2.4 is a very old and no longer support.
> 
> Please try with a more recent version such as the latest stable release
> (1.12.4).
> 
> Feel free to re-open this bug or file a new bug if you're still having
> problems with a recent version, thanks!