[Bug 755033] e

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


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

--- Comment #1 from John Chang <r97922153 at gmail.com> ---
I met a system crash when I use smoothstreaming for streaming.

The crash log is as below:

#0 0xb5d2cd7e in g_str_hash () from
/mtd_apexe/board/lib/gstreamer/libglib-2.0.so.0.4200.2 #1 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