Critical error : Trying to dispose object "xxxxxx", but it still has a parent "registry0"
Gilles DOFFE
g.doffe at gmail.com
Wed Mar 6 09:28:16 PST 2013
(gdb) bt
#0 0xb7e5e919 in g_logv () from /usr/lib/libglib-2.0.so.0
#1 0xb7e5e980 in g_log () from /usr/lib/libglib-2.0.so.0
#2 0xb7f8928d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#3 0xb7f18d44 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#4 0xb7f57266 in gst_object_unref () from /usr/lib/libgstreamer-0.10.so.0
#5 0xb7f93208 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#6 0xb7f9450d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#7 0xb7f945e4 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#8 0xb7f956f8 in gst_update_registry () from
/usr/lib/libgstreamer-0.10.so.0
#9 0xb7f55a20 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#10 0xb7e622c0 in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#11 0x0804cafa in ?? ()
#12 0xb7cb2ca2 in __libc_start_main (main=0x804c961, argc=1,
ubp_av=0xbffffda4, init=0x804d370, fini=0x804d3e0,
rtld_fini=0xb7ff0c00 <_dl_fini>, stack_end=0xbffffd9c) at
libc-start.c:226
#13 0x0804a9e1 in ?? ()
(gdb)
I will have a check to gst_update_registry tomorrow.
2013/3/6 Tim-Philipp Müller <t.i.m at zen.co.uk>
> On Wed, 2013-03-06 at 16:43 +0100, Gilles DOFFE wrote:
>
> > Yes I'm sure. It is what is really strange here. Where is this
> > registry0 file ?!
>
> It's not a file, it's the registry object. Run
>
> GST_REGISTRY_FORK=no G_DEBUG=fatal_warnings
> gdb /usr/bin/gst-inspect-0.10
>
> then it will stop at the warning and you can look at the backtrace to
> see where that presumably premature unref happens from. (It might be
> that the wrong unref is somewhere else of course, but it's a starting
> point).
>
> Cheers
> -Tim
>
>
> >
> > 2013/3/6 Chuck Crisler <ccrisler at mutualink.net>
> > Are you sure that a registry isn't created? It is stored in a
> > hidden directory. /HOME/.gstreamer-0.10/registry.NNN.bin
> >
> > On Wed, Mar 6, 2013 at 10:18 AM, Gilles DOFFE
> > <g.doffe at gmail.com> wrote:
> >
> > Hello,
> >
> >
> > I'm getting this kind of error when launching a gst
> > command like gst-inspect :
> >
> >
> >
> ----------------------------------------------------------------------------------------------------------------------------------
> >
> > # gst-inspect-0.10
> >
> >
> >
> > (gst-plugin-scanner:2001): GStreamer-CRITICAL **:
> > Trying to dispose object "rtpmux", but it still has a
> > parent "registry0".
> > You need to let the parent manage the object instead
> > of unreffing the object directly.
> >
> >
> >
> >
> > (gst-plugin-scanner:2001): GStreamer-CRITICAL **:
> > Trying to dispose object "rtpdtmfmux", but it still
> > has a parent "registry0".
> > You need to let the parent manage the object instead
> > of unreffing the object directly.
> >
> >
> >
> >
> > (gst-plugin-scanner:2001): GStreamer-WARNING **:
> > removing plugin that is still in registry
> >
> >
> > (gst-plugin-scanner:2001): GStreamer-CRITICAL **:
> > Trying to dispose object "shapewipe", but it still has
> > a parent "registry0".
> > You need to let the parent manage the object instead
> > of unreffing the object directly.
> >
> >
> >
> >
> > (gst-plugin-scanner:2001): GStreamer-WARNING **:
> > removing plugin that is still in registry
> >
> >
> > (gst-plugin-scanner:2001): GStreamer-CRITICAL **:
> > Trying to dispose object "mpegtsmux", but it still has
> > a parent "registry0".
> > You need to let the parent manage the object instead
> > of unreffing the object directly.
> >
> >
> >
> >
> > (gst-plugin-scanner:2001): GStreamer-WARNING **:
> > removing plugin that is still in registry
> >
> >
> >
> ----------------------------------------------------------------------------------------------------------------------------------
> >
> >
> > A strange thing is that the registry file is never
> > created so I do not really understand from where this
> > registry0 comes ?
> >
> >
> > You can find the full traces in attachment.
> >
> >
> > I'm using gstreamer 0.10.36 which is mandatory.
> >
> >
> > Can you help me please ?
> > Thanks in advance,
> >
> >
> > Gilles
> >
> >
> > _______________________________________________
> > 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
> >
> >
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130306/ed99d95e/attachment-0001.html>
More information about the gstreamer-devel
mailing list