Gidday,

I've been messing around with textblock edje parts, "edje_cc" and the "edje" tool and found some ways to make the Edje lib segv, by setting empty values in the style attributes:

styles
{
   style {
      name: "";
      base: "";
      tag: "" "";
   }
}
collections {
   group {
      name: "evil";
      parts {
         part {
            name: "evil";
            type: TEXTBLOCK;
            description {
               state:    "default" 0.0;
               text {
               }
            }
         }
      }
   }
}

edje_cc will compile this, but then when you try to view "evil.edj" using the "edje" command you get 3 different segvs, two types before the edje program window is displayed, and another after clicking on "evil" in the edje program UI.

A patch for these three issues is attached (^_^)

So far I've only looked for these sorts of problems within the "style" section - when I get back from holiday in a couple of weeks I'll check other places for similar kinds of stuff.

Regards!
David

Attachment: edjesegvs.patch
Description: Binary data

Reply via email to