GNOME Bugzilla – Bug 676068
Setting size on ClutterFlowLayout container crashes
Last modified: 2012-05-22 13:53:15 UTC
When creating a FlowLayout container, setting a specific size on it, and adding a child to it, as per the attached testcase, it crashes. The line on the backtrace doesn't really make sense, but from looking over it, it appears that it's probably because priv->line_natural is NULL. The attached patch makes it so in this case, priv->line_natural is allocated.
Created attachment 214055 [details] Test case demonstrating this bug
Created attachment 214056 [details] [review] Patch that fixes the crash for me
Created attachment 214062 [details] Backtrace of crash with testcase Oops. Just noticed I missed uploading the backtrace. Here it is.
Review of attachment 214056 [details] [review]: looks okay