[Bug 645877] New: commit 14d7db1 causes cpu spinning and other bus weirdness

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 27 17:09:40 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=645877
  GStreamer | gstreamer (core) | unspecified

           Summary: commit 14d7db1 causes cpu spinning and other bus
                    weirdness
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: notverysmart at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---


I haven't looked into this much, but I'm pretty sure the cpu spinning problem
I'm seeing in rhythmbox is caused by this recent change to GstBus.

It's most often triggered when restarting a pipeline from READY, often results
in gst_bus_timed_pop returning NULL instantly, and always involves the main
loop spinning and idle sources at normal priority not being called.  Adding any
amount of debug output (either in gstreamer or rb) seems to be enough to hide
it.

Once triggered, attaching gdb and setting a breakpoint in
gst_bus_source_dispatch shows that's where the main loop is spending its time.

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