[Bug 697970] New: the first gst printf bug (may it be the last)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 13 14:55:49 PDT 2013


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

           Summary: the first gst printf bug (may it be the last)
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ds at schleef.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I didn't spend the time to look what's going on here.  But you can reproduce it
with "gst-launch-1.0 fakesrc moo=goo ! fakesink"

#0  0x00007ffff6fee425 in __GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff6ff1b8b in __GI_abort () at abort.c:91
#2  0x00007ffff702c39e in __libc_message (do_abort=1, fmt=0x7ffff7133a40 "%s")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#3  0x00007ffff702c46e in __GI___libc_fatal (
    message=0x7ffff7135628 "*** %n in writable segment detected ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:212
#4  0x00007ffff7004930 in _IO_vfprintf_internal (s=<optimized out>, 
    format=<optimized out>, ap=<optimized out>) at vfprintf.c:2007
#5  0x00007ffff70c0d80 in ___vsnprintf_chk (s=0x71298d "enable", 
    maxlen=<optimized out>, flags=1, slen=<optimized out>, 
    format=0x7fffffffca50 "%s%n", args=0x7fffffffc958) at vsnprintf_chk.c:65
#6  0x00007ffff70c0cc8 in ___snprintf_chk (s=<optimized out>, 
    s at entry=0x71298d "enable", maxlen=<optimized out>, maxlen at entry=13, 
    flags=<optimized out>, flags at entry=1, slen=<optimized out>, 
    slen at entry=18446744073709551615, format=<optimized out>, 
    format at entry=0x7fffffffca50 "%s%n") at snprintf_chk.c:36
#7  0x00007ffff7b8e00a in snprintf (__fmt=<optimized out>, 
    __n=<optimized out>, __s=<optimized out>)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:65
#8  __gst_vasnprintf (resultbuf=resultbuf at entry=0x0, 
    lengthp=lengthp at entry=0x7fffffffcc28, format=<optimized out>, 
    args=args at entry=0x7fffffffcda0) at vasnprintf.c:785
#9  0x00007ffff7b8f6fa in __gst_vasprintf (result=result at entry=0x7fffffffcd90, 
    format=<optimized out>, args=args at entry=0x7fffffffcda0) at printf.c:152
#10 0x00007ffff7b3183d in gst_debug_message_get (
    message=message at entry=0x7fffffffcd90) at gstinfo.c:531
#11 0x00007ffff7b32a50 in gst_debug_log_default (message=0x7fffffffcd90, 
    object=<optimized out>, line=432, 
    function=0x7ffff7bb6200 <__PRETTY_FUNCTION__.19020>
"gst_parse_element_set", file=0x7ffff7bb556b "./grammar.y",
level=GST_LEVEL_ERROR, category=0x609860, 
    unused=<optimized out>) at gstinfo.c:1005
#12 gst_debug_log_default (category=0x609860, level=GST_LEVEL_ERROR, 
    file=0x7ffff7bb556b "./grammar.y", 
    function=0x7ffff7bb6200 <__PRETTY_FUNCTION__.19020>
"gst_parse_element_set", line=432, object=<optimized out>,
message=0x7fffffffcd90, unused=0x0)
    at gstinfo.c:966
#13 0x00007ffff7b3152c in gst_debug_log_valist (category=0x609860, 
    level=GST_LEVEL_ERROR, file=0x7ffff7bb556b "./grammar.y", 
    function=0x7ffff7bb6200 <__PRETTY_FUNCTION__.19020>
"gst_parse_element_set", line=432, object=0x0, 
    format=format at entry=0x7ffff7bb5a78 "no property \"%s\" in element \"%s\"", 
    args=args at entry=0x7fffffffce18) at gstinfo.c:509
#14 0x00007ffff7b31697 in gst_debug_log (category=<optimized out>, 
    level=level at entry=GST_LEVEL_ERROR, 
    file=file at entry=0x7ffff7bb556b "./grammar.y", 
    function=function at entry=0x7ffff7bb6200 <__PRETTY_FUNCTION__.19020>
"gst_parse_element_set", line=line at entry=432, object=object at entry=0x0, 
    format=0x7ffff7bb5a78 "no property \"%s\" in element \"%s\"")
    at gstinfo.c:436
#15 0x00007ffff7b89902 in gst_parse_element_set (value=0x608250 "enable", 
    element=0x713400, graph=0x7fffffffd970) at ./grammar.y:430
#16 0x00007ffff7b8ae22 in priv_gst_parse_yyparse (scanner=0x608150, 
    graph=graph at entry=0x7fffffffd970) at ./grammar.y:681
#17 0x00007ffff7b8c428 in priv_gst_parse_launch (
    str=str at entry=0x7081a0 "videotestsrc pattern=ball ! videomark enable=false
! videodetect ! xvimagesink ", error=error at entry=0x7fffffffdac8, 
    ctx=ctx at entry=0x0, flags=flags at entry=GST_PARSE_FLAG_NONE)
    at ./grammar.y:938
#18 0x00007ffff7b8379d in gst_parse_launch_full (
    pipeline_description=0x7081a0 "videotestsrc pattern=ball ! videomark
enable=false ! videodetect ! xvimagesink ", context=context at entry=0x0, 
    flags=flags at entry=GST_PARSE_FLAG_NONE, error=error at entry=0x7fffffffdac8)
    at gstparse.c:324
#19 0x00007ffff7b839ff in gst_parse_launchv_full (argv=argv at entry=0x6080f0, 
    context=context at entry=0x0, flags=flags at entry=GST_PARSE_FLAG_NONE, 
    error=error at entry=0x7fffffffdac8) at gstparse.c:262
#20 0x00007ffff7b83aec in gst_parse_launchv (argv=argv at entry=0x6080f0, 
    error=error at entry=0x7fffffffdac8) at gstparse.c:215
#21 0x00000000004032b0 in main (argc=10, argv=0x7fffffffde58)
    at gst-launch.c:944

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