[Bug 664695] New: gst-inspect tries to allocate 6.1 GB of heap
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Nov 24 00:30:10 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=664695
GStreamer | gstreamer (core) | 0.10.35
Summary: gst-inspect tries to allocate 6.1 GB of heap
Classification: Platform
Product: GStreamer
Version: 0.10.35
OS/Version: Mac OS
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: philip.chimento at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I'm trying to build and use GStreamer 0.10.35 on OS X using jhbuild and
gtk-osx-build's modulesets-stable. I get an out of memory error when the build
invokes gobject-introspection. Apparently it wants 6.1 GB of heap, which I
don't have. Here's the error:
GLib-ERROR **: gmem.c:405: overflow allocating 1635021569*4 bytes
Command
'['/Users/fliep/gtk/source/gstreamer-0.10.35/gst/tmp-introspectA6R0qs/Gst-0.10',
'--introspect-dump=/Users/fliep/gtk/source/gstreamer-0.10.35/gst/tmp-introspectA6R0qs/functions.txt,/Users/fliep/gtk/source/gstreamer-0.10.35/gst/tmp-introspectA6R0qs/dump.xml']'
returned non-zero exit status -5
I thought I could solve it simply by reconfiguring with --disable-introspection
and go my merry way, which worked, until I needed gst-inspect for the configure
script of another program that I want to build. That also wants to allocate a
huge amount of memory:
$ gst-inspect-0.10
GLib-ERROR **: gmem.c:405: overflow allocating 1635021569*4 bytes
Trace/BPT trap
Here's a backtrace of the gst-inspect crash:
#0 0x00394448 in g_logv ()
#1 0x0039454d in g_log ()
#2 0x003926c3 in g_malloc0_n ()
#3 0x0007fbba in gst_registry_chunks_load_plugin_dep_strv (in=0xbfffe0d4,
end=0x78331f "", n=1635021568) at gstregistrychunks.c:717
#4 0x0007fe24 in gst_registry_chunks_load_plugin_dep (plugin=0x82d0e0,
in=0xbfffe0d4, end=0x78331f "") at gstregistrychunks.c:747
#5 0x00080b1b in _priv_gst_registry_chunks_load_plugin (registry=0x82dc00,
in=0xbfffe0d4, end=0x78331f "", out_plugin=0x0) at gstregistrychunks.c:856
#6 0x000b03d5 in gst_registry_binary_read_cache (registry=0x82dc00,
location=0x615e40 "/Users/fliep/.gstreamer-0.10/registry.x86_64.bin") at
gstregistrybinary.c:600
#7 0x0007d1b4 in ensure_current_registry (error=0xbfffe178) at
gstregistry.c:1598
#8 0x0007d3b0 in gst_update_registry () at gstregistry.c:1702
#9 0x000179af in init_post (context=0x609c20, group=0x60a0b0, data=0x0,
error=0xbfffe3e4) at gst.c:785
#10 0x0039ade1 in g_option_context_parse ()
#11 0x0000b03f in main (argc=1, argv=0xbfffe430) at gst-inspect.c:1600
I'm running Mac OS X Snow Leopard (10.6.8), with GLib 2.30.1.
I've configured GStreamer like this:
./configure --prefix /Users/fliep/gtk/inst --libdir /Users/fliep/gtk/inst/lib
--disable-tests --disable-introspection
I've found only one page by googling the error message:
http://forum.processing.org/topic/gsvideo-0-9-glgraphics-0-99 (Ctrl-F for
'gmem.c') and it seems the problem is specific to Snow Leopard. Looks like
nobody found a solution there, though.
--
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