[gstreamer-bugs] [Bug 570761] [goom] crash in plugin_info_init allocating 260kB struct on stack

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 28 07:07:30 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=570761
  GStreamer | gst-plugins-good | 0.10.21

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.24
            Summary|Crash in goom (!?)          |[goom] crash in
                   |                            |plugin_info_init allocating
                   |                            |260kB struct on stack

--- Comment #17 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-06-28 14:07:26 UTC ---
Great, thanks for testing:

commit cf8dddd5c7913c3b80aa2c28c19afaa8a2757f5e
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Mon Jun 28 09:07:58 2010 +0100

    goom: don't allocate 260kB struct on the stack

    PluginInfo is quite a sizeable struct, let's not allocate it on the
    stack, especially not if we're copying it over into another dynamically
    allocated copy anyway.

    Fixes #570761.

Will be part of the 0.10.24 gst-plugins-good release which should be out in 1-2
weeks or so.  When that will be found in distros depends on the distros.

On a side note, it's a bit surprising you experienced this problem on a normal
desktop system (as opposed to an embedded environment with smaller stack
sizes). Something up higher in the stack must be allocating lots of stuff on
the stack as well, which may or may not cause problems. You might want to look
into that too...

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