[Bug 755035] New: GstMssManifest: inconsistent structure set makes system crash

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 15 00:20:22 PDT 2015


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

            Bug ID: 755035
           Summary: GstMssManifest: inconsistent structure set makes
                    system crash
    Classification: Platform
           Product: GStreamer
           Version: 1.5.90
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: r97922153 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I met a system crash when I use smoothstreaming for streaming.

The crash log is as below:


0xb5d2cd7e in g_str_hash () from
/mtd_apexe/board/lib/gstreamer/libglib-2.0.so.0.4200.2 
0xb5d2b7fa in g_hash_table_lookup_node () from
/mtd_apexe/board/lib/gstreamer/libglib-2.0.so.0.4200.2

After doing trace, I found the potential root cause and had fixed it.

The root cause of my platform comes from following line within function =
static GstCaps *
_gst_mss_stream_audio_caps_from_qualitylevel_xml (GstMssStreamQuality * q)

Where the structure set actions =

  if (q->bitrate)
    gst_structure_set (structure, "bitrate", G_TYPE_INT, (int) q->bitrate,
        NULL);

may lead to coredump.

Since q->bitrate is in guint64 so a modification of:

  if (q->bitrate)
    gst_structure_set (structure, "bitrate", G_TYPE_INT64, (int) q->bitrate,
        NULL);

resolved this issue here.

Please correct it if it really counts.

Thanks~

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