[gstreamer-bugs] [Bug 580007] New: GstRingbuffer throws a floating point exception when buffer-time is too low

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Apr 23 11:25:51 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=580007

  GStreamer | gst-plugins-base | Ver: git
           Summary: GstRingbuffer throws a floating point exception when
                    buffer-time is too low
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: le.businessman at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.23/2.24
   GNOME milestone: Unspecified


Steps to reproduce:
Write a gst application with an audiosink that has a gstringbuffer, i.e.
jackaudiosink, and set its "buffer-time" property to something under 10000.

Stack trace:
gdb gives this information:

[Thread debugging using libthread_db enabled]
[New Thread 0xb72008d0 (LWP 14189)]
[New Thread 0xb6f32b90 (LWP 14195)]
[New Thread 0xb6eb1b90 (LWP 14196)]
[New Thread 0xb64ffb90 (LWP 14197)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb6f32b90 (LWP 14195)]
0xb6fdfd78 in gst_ring_buffer_prepare_read (buf=0x81b7898, segment=0xb6f32354,
readptr=0xb6f3234c, len=0xb6f32350)
    at gstringbuffer.c:1894
1894      *segment = segdone % buf->spec.segtotal;
(gdb) bt
#0  0xb6fdfd78 in gst_ring_buffer_prepare_read (buf=0x81b7898,
segment=0xb6f32354, readptr=0xb6f3234c, len=0xb6f32350)
    at gstringbuffer.c:1894
#1  0xb7007686 in jack_process_cb (nframes=64, arg=0x81b7898) at
gstjackaudiosink.c:209
#2  0xb7007f31 in jack_process_cb (nframes=64, arg=0x8187428) at
gstjackaudioclient.c:103
#3  0xb6f94072 in jack_client_thread (arg=0x81b5a00) at client.c:1601
#4  0xb6f97edf in jack_thread_proxy (varg=0x81b54e0) at thread.c:110
#5  0xb76064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb7587e5e in clone () from /lib/tls/i686/cmov/libc.so.6


Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=580007.




More information about the Gstreamer-bugs mailing list