[Bug 661911] New: Audiotestsrc segfaults when trying to changing 'wave' parameter

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Oct 16 07:27:00 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=661911
  GStreamer | gst-plugins-base | 0.11.x

           Summary: Audiotestsrc segfaults when trying to changing 'wave'
                    parameter
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: pecisk at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


This is for git branch 0.11, compiled today.

1. I tried this in two ways - using Gobject Introspection and command line
pipeline. GI version looked like this (this is simplified part of Jokosher
port):

from gi.repository import Gst
Gst.init(None)
clickTrackAudioSrc = Gst.ElementFactory.make("audiotestsrc",
"Click_Track_AudioSource")
self.clickTrackAudioSrc.set_property("wave", 3) (at this point I got segfault)

Command line pipeline looked like this:

/data/opt/gnome/bin/gst-launch-0.11 audiotestsrc wave=1 ! fakesink

2. I got segfault and when running command line pipeline within jhbuild
enviroment, I got suggestion to attach gdb to the process which I did.

3. After attaching I get bt who looked like this:

    (gdb) bt
    #0 0x0097b416 in __kernel_vsyscall ()
    #1 0x4cc7efb0 in __nanosleep_nocancel () from /lib/libpthread.so.0
    #2 0x0017d06e in g_usleep (microseconds=1000000) at gtimer.c:253
    #3 0x0804b8a4 in fault_spin () at gst-launch.c:147
    #4 fault_handler_sigaction (signum=11, si=0xbfd0254c, misc=0xbfd025cc) at
gst-launch.c:128
    #5 <signal handler called>
    #6 gst_audio_test_src_change_wave (src=0x92cc1f0) at gstaudiotestsrc.c:888
    #7 0x006f1f16 in object_set_property (nqueue=0x9276340, value=0xbfd02a34,
pspec=<optimized out>, object=0x92cc1f0) at gobject.c:1199
    #8 g_object_set_property (object=0x92cc1f0, property_name=0xb3380e "wave",
value=0xbfd02a34) at gobject.c:1929
    #9 0x0082917a in gst_parse_element_set (value=0x92cbf38 "wave",
element=0x92cc1f0, graph=0xbfd030c8) at ./grammar.y:439
    #10 0x0082ab62 in priv_gst_parse_yyparse (scanner=0x925bb08,
graph=0xbfd030c8) at ./grammar.y:672
    #11 0x0082cb95 in priv_gst_parse_launch (str=0x92ca500 "audiotestsrc wave=1
! fakesink ", error=0xbfd034a4, ctx=0x0, flags=GST_PARSE_FLAG_NONE)
    at ./grammar.y:927
    #12 0x00822785 in gst_parse_launch_full (pipeline_description=0x92ca500
"audiotestsrc wave=1 ! fakesink ", context=0x0, flags=GST_PARSE_FLAG_NONE,
    error=0xbfd034a4) at gstparse.c:338
    #13 0x0082297d in gst_parse_launchv_full (argv=0x925afc0, context=0x0,
flags=GST_PARSE_FLAG_NONE, error=0xbfd034a4) at gstparse.c:274
    #14 0x00822a43 in gst_parse_launchv (argv=0x925afc0, error=0xbfd034a4) at
gstparse.c:226
    #15 0x0804a576 in main (argc=5, argv=0xbfd03564) at gst-launch.c:911
    (gdb)

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