[Bug 707008] New: libgstpulse crash in webkit under rapid <audio> src switching

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 28 11:14:46 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=707008
  GStreamer | gst-plugins-good | 0.10.31

           Summary: libgstpulse crash in webkit under rapid <audio> src
                    switching
    Classification: Platform
           Product: GStreamer
           Version: 0.10.31
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: michael.goffioul at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=253427)
 View: https://bugzilla.gnome.org/attachment.cgi?id=253427
 Review: https://bugzilla.gnome.org/review?bug=707008&attachment=253427

Patch to fix the crash

I'm developing a webapp with a webkit-based browser as the client (on a Linux
F18-based system). On one page, there's a <audio> element to play remote MP3
(served through HTTP). Due to user interaction, it's possible that the "src"
attribute of the <audio> element is switching fast (e.g. 2 to 3 times per sec).
Under such scenario, sometimes I experience a crash in libgstpulse, which can
be solved by the attached patch. Debugging with gdb shows that "pbuf" is NULL
when the crash occurs.

The attached patch appears to solve the crash.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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