Can anyone explain whats happening here ?

Marc Murphy marcmltd at marcm.co.uk
Wed Oct 10 14:47:54 PDT 2012


Ok I have found where the issue is...... glib2 v2.32.0

For some reason I need to look into further, it is building vasnprintf yet in the config.h it has HAVE_SNPRINTF defined.

It checks for the length of the generated string is what it expects but for some reason there is a re-entrancy issue.
I comment out the abort() and it works nicely.

One thing I think that is causing the issue is for the debug output, I get the usual timestamp;
0:00:11.952546088   

followed by (I think this is causing the issue by overloading the printf);
762 default segment start=0, stop=111669336896, last_stop=0, duration=8590120848, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:02:17.438954496, accum=0:00:04.294967296

And then the debug;
 LOG             GST_REGISTRY gstregistrychunks.c:834:_priv_gst_registry_chunks_load_plugin:   desc.package='GStreamer Bad Plug-ins git'

My question is where is the default segment bla..... coming from and can it be switched off ?

Thanks
Marc


-----Original Message-----
From: gstreamer-devel-bounces+marcmltd=marcm.co.uk at lists.freedesktop.org [mailto:gstreamer-devel-bounces+marcmltd=marcm.co.uk at lists.freedesktop.org] On Behalf Of Marc Murphy
Sent: 10 October 2012 15:23
To: Discussion of the development of and with GStreamer
Subject: RE: Can anyone explain whats happening here ?

Hi Felipe
Thanks for the feedback but nothing worked :o(

LANG=en_US
LANG=en_US-UTF8
LANG=en_GB
LANG=UTF8

So its back to the drawing board.

Regards
Marc

-----Original Message-----
From: gstreamer-devel-bounces+marcmltd=marcm.co.uk at lists.freedesktop.org [mailto:gstreamer-devel-bounces+marcmltd=marcm.co.uk at lists.freedesktop.org] On Behalf Of Felipe Contreras
Sent: 09 October 2012 18:24
To: Discussion of the development of and with GStreamer
Subject: Re: Can anyone explain whats happening here ?

On Mon, Oct 8, 2012 at 9:56 PM, Marc Murphy <marcmltd at marcm.co.uk> wrote:
> I have tried filtering on the element type and setting the different 
> levels and it always seems to be when the first element is above level
> 2 it borks.  So I built gdb for the target and ran gst-launch and 
> setting the debug level to 3.  It caught the SIGABRT and I looked at 
> the backtrace;

This is a long shot, but I remember debugging a similar problem that happened only when printing the debugging stuff, and only when doing
utf8 conversion. So exporting LANG to UTF-8 or something worked around the problem.

--
Felipe Contreras
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list