[gstreamer-bugs] [Bug 347296] New: Problems with clocks on alsasrc hangs the application

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jul 12 03:51:53 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=347296
 GStreamer | don't know | Ver: HEAD CVS

           Summary: Problems with clocks on alsasrc hangs the application
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: gnome at jonobacon.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.13/2.14
   GNOME milestone: Unspecified


Steps to reproduce:
We are having a problem in Jokosher when it comes to recording. Basically, I
create a new project, add a track, arm the track (press the record button on
the track), hit the main record button and it records fine. If I then try to
record again, Jokosher hangs. This is a problem in recent CVS GStreamer. This
is a blocker bug for Jokosher before our 0.1 freeze on 15th July.

Laszlo did some debugging into this, and here are his notes:

---

Okay here's how it goes:
-Pipeline is NULL
-recordingbin is added to pipeline (no problems)
-Pipeline changes to READY then PAUSED then PLAY (all successful as far
as I can tell in the gstdebug log)
-I hit stop, the Pipeline is set to NULL (in current SVN it is set to
READY, which one should it be?)
-recordingbin is removed from the pipeline (the current code removes it
before setting the pipeline to READY but I switched these around on my
local copy)

-I delete the event that was just recorded leaving the armed instrument
empty.
-the pipeline is still NULL, I hit record.
-Project.record() calls instrument.record()
-I put a gst.debug() statement right before the recordingbin is added to
the pipeline.
-instrument.record() tries to add recordingbin to the pipeline. Jokosher
freezes.

There is only one debug message in the log between the one I sent and
the end of the file (where it crashed):

WARN  (0x826cc18 - 0:00:18.817043000)         baseaudiosrc(11529)
gstbaseaudiosrc.c(168):gst_base_audio_src_set_clock:<alsasrc1> error:
Cannot operate with this clock.

Wtf? What changed about the clock between when it worked and when it
didn't? Well, I hope this helps. I'm at work tomorrow and I have to IRC
until the evening, but I will be monitoring the logs.

---

Stack trace:


Other information:


-- 
Configure bugmail: http://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