[Bug 791416] New: gst-play:When repeat playing a video file for a long time, the gst-play process segmentation fault

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Dec 9 13:54:03 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=791416

            Bug ID: 791416
           Summary: gst-play:When repeat playing a video file for a long
                    time, the gst-play process segmentation fault
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: baijundong at neusoft.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 365290
  --> https://bugzilla.gnome.org/attachment.cgi?id=365290&action=edit
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  0xb68decb4 in gst_caps_features_is_equal ()
   from /usr/lib/libgstreamer-1.0.so.0
(gdb) bt
#0  0xb68decb4 in gst_caps_features_is_equal ()
   from /usr/lib/libgstreamer-1.0.so.0
#1  0xb68dcebc in gst_caps_intersect_full ()
   from /usr/lib/libgstreamer-1.0.so.0
#2  0xadfd5d30 in ?? () from /usr/lib/gstreamer-1.0/libgstvideo4linux2.so
----core dump----

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----

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list